From f1f0d978cb9e85e5975409e116e74fb3e69ce716 Mon Sep 17 00:00:00 2001 From: asciimoo Date: Tue, 3 Dec 2013 18:33:05 +0100 Subject: [PATCH] [enh] w3c compatibility ++ ui mods --- searx/static/css/style.css | 4 ++-- searx/templates/base.html | 1 + searx/templates/index.html | 2 +- searx/templates/search.html | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/searx/static/css/style.css b/searx/static/css/style.css index e2d8486e7..0b87444e9 100644 --- a/searx/static/css/style.css +++ b/searx/static/css/style.css @@ -19,8 +19,8 @@ html { h1 { font-size: 5em; } -h1.title { background: url('/static/img/searx.png') no-repeat; width: 100%; background-position: center; } -h1.title div { visibility: hidden; } +div.title { background: url('/static/img/searx.png') no-repeat; width: 100%; background-position: center; } +div.title h1 { visibility: hidden; } input[type="submit"] { border: 1px solid #666666; color: #444444; padding: 4px; background-color: #FFFFFF; margin-left: 8px; } diff --git a/searx/templates/base.html b/searx/templates/base.html index c98418fc9..c7b55bed7 100644 --- a/searx/templates/base.html +++ b/searx/templates/base.html @@ -1,6 +1,7 @@ + {% block title %}{% endblock %}searx diff --git a/searx/templates/index.html b/searx/templates/index.html index af9fc0942..4d13b77e7 100644 --- a/searx/templates/index.html +++ b/searx/templates/index.html @@ -2,7 +2,7 @@ {% block content %} {% include 'github_ribbon.html' %}
-

searx

+

searx

{% include 'search.html' %}

about diff --git a/searx/templates/search.html b/searx/templates/search.html index 1b0103926..aaff3c95d 100644 --- a/searx/templates/search.html +++ b/searx/templates/search.html @@ -6,7 +6,7 @@

{% for category in categories %}
- +
{% endfor %}