瀏覽代碼

[enh] searx index image added

asciimoo 11 年之前
父節點
當前提交
aca566eadf
共有 3 個文件被更改,包括 5 次插入1 次删除
  1. 4
    0
      searx/static/css/style.css
  2. 二進制
      searx/static/img/searx.png
  3. 1
    1
      searx/templates/index.html

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

@@ -18,6 +18,10 @@ html {
18 18
 
19 19
 h1 { font-size: 5em; }
20 20
 
21
+h1.title { background: url('/static/img/searx.png') no-repeat; width: 100%; background-position: center; }
22
+h1.title div { visibility: hidden; }
23
+
24
+
21 25
 input { border: 2px solid #666666; color: #444444;  padding: 8px; background-color: #FFFFFF; font-size: 1.1em; }
22 26
 
23 27
 input[type="checkbox"] { visibility: hidden; }

二進制
searx/static/img/searx.png 查看文件


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

@@ -2,7 +2,7 @@
2 2
 {% block content %}
3 3
 {% include 'github_ribbon.html' %}
4 4
 <div class="center">
5
-    <h1 class="title">searx</h1>
5
+    <h1 class="title"><div>searx</div></h1>
6 6
     {% include 'search.html' %}
7 7
     <p class="top_margin">
8 8
         <a href="/about" class="hmarg">about</a>