[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; 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 { max-width: 800px; margin: auto; text-align: justify; }
.row h1 { font-size: 3em; margin-top: 50px; } .row h1 { font-size: 3em; margin-top: 50px; }
.row p { padding: 0 10px; } .row p { padding: 0 10px; }
h1.title { margin-top: 80px; } .top_margin { margin-top: 40px; }
.center { text-align: center; } .center { text-align: center; }

View file

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