浏览代码

[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
 
18
 
19
 h1 { font-size: 5em; }
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
 input { border: 2px solid #666666; color: #444444;  padding: 8px; background-color: #FFFFFF; font-size: 1.1em; }
25
 input { border: 2px solid #666666; color: #444444;  padding: 8px; background-color: #FFFFFF; font-size: 1.1em; }
22
 
26
 
23
 input[type="checkbox"] { visibility: hidden; }
27
 input[type="checkbox"] { visibility: hidden; }

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


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

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