diff options
author | Pavel Grunt <pgrunt@redhat.com> | 2015-10-14 16:36:07 +0200 |
---|---|---|
committer | Pavel Grunt <pgrunt@redhat.com> | 2015-10-14 16:36:07 +0200 |
commit | c4fd68b217caf8f079d6863573796e7f5fa2aee6 (patch) | |
tree | 974c1d18bbda42fa4cde05df30dbcc90ada81fef | |
parent | 02c89707c27dfaf9c79f4a52f12b12f9b5220650 (diff) |
template: Add google search field
-rw-r--r-- | spice-space/static/css/main.css | 9 | ||||
-rw-r--r-- | spice-space/templates/base.html | 6 |
2 files changed, 14 insertions, 1 deletions
diff --git a/spice-space/static/css/main.css b/spice-space/static/css/main.css index 7f77720..2d0705c 100644 --- a/spice-space/static/css/main.css +++ b/spice-space/static/css/main.css @@ -18,7 +18,6 @@ /* Body */ body { background: #F5F4EF; - color: #000305; font-size: 87.5%; /* Base font size: 14px */ font-family: Helvetica, Arial, sans-serif;; line-height: 1.429; @@ -217,6 +216,14 @@ img.left, figure.left {float: left; margin: 0 2em 2em 0;} color: black; } + #banner #search-area { + position: absolute; + right: 20px; + color: white; + font-size: 12px; + font-weight: bold; + } + /* Featured *****************/ diff --git a/spice-space/templates/base.html b/spice-space/templates/base.html index d3516ba..6460ada 100644 --- a/spice-space/templates/base.html +++ b/spice-space/templates/base.html @@ -19,6 +19,12 @@ <body id="index" class="home"> {% include 'github.html' %} <header id="banner" class="body"> + <div id="search-area"> + <form action="http://www.google.com/search" method="get"> + Search: <input class="search-box" id="q" name="q" type="text"/> + <input type="hidden" name="sitesearch" value="spice-space.org"/> + </form> + </div> <nav><ul> {% for title, link in MENUITEMS %} <li><a href="{{ link }}">{{ title }}</a></li> |