瀏覽代碼

[enh] container div added

asciimoo 11 年之前
父節點
當前提交
2cfefea06d
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 4
    0
      searx/static/css/style.css
  2. 2
    0
      searx/templates/base.html

+ 4
- 0
searx/static/css/style.css 查看文件

@@ -12,6 +12,8 @@ input { border: 2px solid #666666; color: #444444;  padding: 8px; background-col
12 12
 
13 13
 a { text-decoration: none; }
14 14
 
15
+#container { position: relative;}
16
+
15 17
 .result_title { margin-bottom: 0; }
16 18
 
17 19
 .result p { margin-top: 0; padding-top: 0; font-size: 0.8em; max-width: 50em; }
@@ -25,3 +27,5 @@ a { text-decoration: none; }
25 27
 .engines { color: #888888; }
26 28
 
27 29
 .small p { margin: 2px 0; }
30
+
31
+.right { float: right; }

+ 2
- 0
searx/templates/base.html 查看文件

@@ -12,7 +12,9 @@
12 12
     {% endblock %}
13 13
 </head>
14 14
 <body>
15
+<div id="container">
15 16
 {% block content %}
16 17
 {% endblock %}
18
+</div>
17 19
 </body>
18 20
 </html>