summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2013-10-21 00:37:57 +0200
committerasciimoo <asciimoo@gmail.com>2013-10-21 00:37:57 +0200
commitde4652f98cb68eb5f31b3038a1c1735b67b4543b (patch)
tree05fe9ebe8065849df51751f53cc588c4dc07fa38
parentf815ce718749e80a3206505933d0375e19a13359 (diff)
[mod] header removed
-rw-r--r--searx/static/css/style.css6
-rw-r--r--searx/templates/about.html1
-rw-r--r--searx/templates/header.html4
-rw-r--r--searx/templates/index.html4
4 files changed, 4 insertions, 11 deletions
diff --git a/searx/static/css/style.css b/searx/static/css/style.css
index 9ebb06c15..31de9affc 100644
--- a/searx/static/css/style.css
+++ b/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; }
diff --git a/searx/templates/about.html b/searx/templates/about.html
index 14679bddf..7c9769348 100644
--- a/searx/templates/about.html
+++ b/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>
diff --git a/searx/templates/header.html b/searx/templates/header.html
deleted file mode 100644
index eeb43364b..000000000
--- a/searx/templates/header.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<div id="header">
- <a href="/">searx</a>
- <a href="/about">about</a>
-</div>
diff --git a/searx/templates/index.html b/searx/templates/index.html
index 58cec7fe4..300bf146e 100644
--- a/searx/templates/index.html
+++ b/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 %}