Browse Source

[enh][mod] ui changes

asciimoo 11 years ago
parent
commit
565db911a4
3 changed files with 4 additions and 3 deletions
  1. 0
    2
      searx/static/css/style.css
  2. 3
    1
      searx/templates/base.html
  3. 1
    0
      searx/templates/results.html

+ 0
- 2
searx/static/css/style.css View File

12
 
12
 
13
 a { text-decoration: none; }
13
 a { text-decoration: none; }
14
 
14
 
15
-#container { position: relative;}
16
-
17
 .result_title { margin-bottom: 0; }
15
 .result_title { margin-bottom: 0; }
18
 
16
 
19
 .result p { margin-top: 0; padding-top: 0; font-size: 0.8em; max-width: 50em; }
17
 .result p { margin-top: 0; padding-top: 0; font-size: 0.8em; max-width: 50em; }

+ 3
- 1
searx/templates/base.html View File

5
     <meta http-equiv="content-language" content="en" />
5
     <meta http-equiv="content-language" content="en" />
6
     <meta name="description" content="Searx - a hackable metasearch engine respecting privacy" />
6
     <meta name="description" content="Searx - a hackable metasearch engine respecting privacy" />
7
     <meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
7
     <meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
8
-    <link title="searx" type="application/opensearchdescription+xml" rel="search" href="/opensearch.xml"/>
9
     <title>searx {% block title %}{% endblock %}</title>
8
     <title>searx {% block title %}{% endblock %}</title>
10
     <link rel="stylesheet" href="/static/css/style.css" type="text/css" media="screen" charset="utf-8" />
9
     <link rel="stylesheet" href="/static/css/style.css" type="text/css" media="screen" charset="utf-8" />
11
     {% block styles %}
10
     {% block styles %}
12
     {% endblock %}
11
     {% endblock %}
12
+    {% block head %}
13
+    <link title="searx" type="application/opensearchdescription+xml" rel="search" href="/opensearch.xml"/>
14
+    {% endblock %}
13
 </head>
15
 </head>
14
 <body>
16
 <body>
15
 <div id="container">
17
 <div id="container">

+ 1
- 0
searx/templates/results.html View File

1
 {% extends "base.html" %}
1
 {% extends "base.html" %}
2
+{% block head %} {% endblock %}
2
 {% block content %}
3
 {% block content %}
3
 <div class="right">
4
 <div class="right">
4
     <a href="/" title="searx" class="site_link">searx</a> | Number of results: {{ number_of_results }}
5
     <a href="/" title="searx" class="site_link">searx</a> | Number of results: {{ number_of_results }}