瀏覽代碼

[enh] ui mods

asciimoo 11 年之前
父節點
當前提交
1aff439931
共有 2 個檔案被更改,包括 5 行新增2 行删除
  1. 4
    1
      searx/static/css/style.css
  2. 1
    1
      searx/templates/search.html

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

14
 
14
 
15
 .result_title { margin-bottom: 0; }
15
 .result_title { margin-bottom: 0; }
16
 
16
 
17
-.result p { margin-top: 0; padding-top: 0;}
17
+.result p { margin-top: 0; padding-top: 0; font-size: 0.9em; }
18
+.result { max-width: 70em; }
18
 
19
 
19
 .url { font-weight: bold; }
20
 .url { font-weight: bold; }
21
+
22
+.q { width: 30em; }

+ 1
- 1
searx/templates/search.html 查看文件

1
 <form method="post" action="">
1
 <form method="post" action="">
2
-    <input type="text" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
2
+    <input type="text" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
3
     <input type="submit" value="search" />
3
     <input type="submit" value="search" />
4
     <p>
4
     <p>
5
     {% for engine in engines %}
5
     {% for engine in engines %}