Parcourir la source

[mod] header removed

asciimoo il y a 11 ans
Parent
révision
de4652f98c

+ 1
- 5
searx/static/css/style.css Voir le fichier

@@ -5,15 +5,11 @@ html {
5 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 8
 .row { max-width: 800px; margin: auto; text-align: justify; }
13 9
 .row h1 { font-size: 3em; margin-top: 50px; }
14 10
 .row p { padding: 0 10px; }
15 11
 
16
-h1.title { margin-top: 80px; }
12
+.top_margin { margin-top: 40px; }
17 13
 
18 14
 .center { text-align: center; }
19 15
 

+ 0
- 1
searx/templates/about.html Voir le fichier

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

+ 0
- 4
searx/templates/header.html Voir le fichier

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

+ 3
- 1
searx/templates/index.html Voir le fichier

@@ -1,11 +1,13 @@
1 1
 {% extends "base.html" %}
2 2
 {% block content %}
3
-{% include 'header.html' %}
4 3
 <a href="https://github.com/asciimoo/searx" class="github">
5 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 5
 </a>
7 6
 <div class="center">
8 7
     <h1 class="title">searx</h1>
9 8
     {% include 'search.html' %}
9
+    <p class="top_margin">
10
+    <a href="/about">about</a>
11
+    </p>
10 12
 </div>
11 13
 {% endblock %}