[mod] header removed

This commit is contained in:
asciimoo 2013-10-21 00:37:57 +02:00
parent f815ce7187
commit de4652f98c
4 changed files with 4 additions and 11 deletions

View File

@ -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; }

View File

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

View File

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

View File

@ -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 %}