Browse Source

[mod] header removed

asciimoo 11 years ago
parent
commit
de4652f98c

+ 1
- 5
searx/static/css/style.css View File

5
   color: #444444;
5
   color: #444444;
6
 }
6
 }
7
 
7
 
8
-#header { position: absolute; top: 0; left: 0; width: 100%; padding: 0 16px; background: #444444; line-height: 40px; }
9
-#header a { color: #CCCCCC; padding: 0 8px; }
10
-#header a:hover { color: #FFFFFF; }
11
-
12
 .row { max-width: 800px; margin: auto; text-align: justify; }
8
 .row { max-width: 800px; margin: auto; text-align: justify; }
13
 .row h1 { font-size: 3em; margin-top: 50px; }
9
 .row h1 { font-size: 3em; margin-top: 50px; }
14
 .row p { padding: 0 10px; }
10
 .row p { padding: 0 10px; }
15
 
11
 
16
-h1.title { margin-top: 80px; }
12
+.top_margin { margin-top: 40px; }
17
 
13
 
18
 .center { text-align: center; }
14
 .center { text-align: center; }
19
 
15
 

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

1
 {% extends 'base.html' %}
1
 {% extends 'base.html' %}
2
 {% block content %}
2
 {% block content %}
3
-{% include 'header.html' %}
4
 <div class="row">
3
 <div class="row">
5
     <h1>About <a href="/">searx</a></h1>
4
     <h1>About <a href="/">searx</a></h1>
6
 
5
 

+ 0
- 4
searx/templates/header.html View File

1
-<div id="header">
2
-    <a href="/">searx</a>
3
-    <a href="/about">about</a>
4
-</div>

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

1
 {% extends "base.html" %}
1
 {% extends "base.html" %}
2
 {% block content %}
2
 {% block content %}
3
-{% include 'header.html' %}
4
 <a href="https://github.com/asciimoo/searx" class="github">
3
 <a href="https://github.com/asciimoo/searx" class="github">
5
     <img style="position: absolute; top: 0; right: 0; border: 0;" src="/static/img/github_ribbon.png" alt="Fork me on GitHub"  class="github"/>
4
     <img style="position: absolute; top: 0; right: 0; border: 0;" src="/static/img/github_ribbon.png" alt="Fork me on GitHub"  class="github"/>
6
 </a>
5
 </a>
7
 <div class="center">
6
 <div class="center">
8
     <h1 class="title">searx</h1>
7
     <h1 class="title">searx</h1>
9
     {% include 'search.html' %}
8
     {% include 'search.html' %}
9
+    <p class="top_margin">
10
+    <a href="/about">about</a>
11
+    </p>
10
 </div>
12
 </div>
11
 {% endblock %}
13
 {% endblock %}