Browse Source

[mod] header removed

asciimoo 11 years ago
parent
commit
de4652f98c

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

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

+ 0 - 1
searx/templates/about.html

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

+ 0 - 4
searx/templates/header.html

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

+ 3 - 1
searx/templates/index.html

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