summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2006-12-28 01:01:49 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2006-12-28 01:01:49 (UTC)
commite39d738c39d37cdef115c145027f3eec85a62272 (patch) (side-by-side diff)
treebe60a07674a0d118d42f572a35b62ada9529a6bd /cgit.css
parent27cd3b2a700e1cc46cd0393ddea48c07b62ee3a6 (diff)
downloadcgit-e39d738c39d37cdef115c145027f3eec85a62272.zip
cgit-e39d738c39d37cdef115c145027f3eec85a62272.tar.gz
cgit-e39d738c39d37cdef115c145027f3eec85a62272.tar.bz2
Add generic support for search box in page header
This adds the ability to show a search box in any pageheader with correct href and hidden form data, but does not enable the box on any pages. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index 459dca7..9112bfe 100644
--- a/cgit.css
+++ b/cgit.css
@@ -56,16 +56,21 @@ div#header {
font-weight: bold;
border: solid 1px #aaa;
vertical-align: middle;
margin-bottom: 2em;
}
div#header img#logo {
float: right;
}
+
+div#header input {
+ float: right;
+ margin: 0.25em 1em;
+}
div#header a {
color: black;
}
div#content {
margin: 0.5em 0.5em;
}