[enh] w3c compatibility ++ ui mods

This commit is contained in:
asciimoo 2013-12-03 18:33:05 +01:00
parent ce544c30c1
commit f1f0d978cb
4 changed files with 5 additions and 4 deletions

View file

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

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Searx - a privacy-respecting, hackable metasearch engine" />
<meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
<title>{% block title %}{% endblock %}searx</title>

View file

@ -2,7 +2,7 @@
{% block content %}
{% include 'github_ribbon.html' %}
<div class="center">
<h1 class="title"><div>searx</div></h1>
<div class="title"><h1>searx</h1></div>
{% include 'search.html' %}
<p class="top_margin">
<a href="/about" class="hmarg">about</a>

View file

@ -6,7 +6,7 @@
<div>
{% for category in categories %}
<div class="checkbox_container">
<input type="checkbox" id="checkbox_{{ category }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category }}" class="cb"></label><label for="checkbox_{{ category }}">{{ category }}</label>
<input type="checkbox" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category }}" class="cb"></label><label for="checkbox_{{ category }}">{{ category }}</label>
</div>
{% endfor %}
</div>