summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2008-04-14 08:17:33 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-04-14 08:21:18 (UTC)
commit2ee1238cdff66dcd4bf98f83b820678976f53ed8 (patch) (side-by-side diff)
tree0b5b572f553d69491780ac63118ed5387b8ee126
parentadf61225c40dd89e2bb1af0087767aee66791c4e (diff)
downloadcgit-2ee1238cdff66dcd4bf98f83b820678976f53ed8.zip
cgit-2ee1238cdff66dcd4bf98f83b820678976f53ed8.tar.gz
cgit-2ee1238cdff66dcd4bf98f83b820678976f53ed8.tar.bz2
cgit.css: set form margins
According to the css2 spec, htmlforms have 1.12em top and bottom margins. That doesn't play well with the placement of the search form, so lets force it to use 0em margins. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--cgit.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index 171b9de..ea3c383 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,49 +1,49 @@
-body, table {
+body, table, form {
padding: 0em;
margin: 0em;
}
body {
font-family: sans-serif;
font-size: 10pt;
color: #333;
background: white;
padding: 4px;
}
a {
color: blue;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
table {
border-collapse: collapse;
}
table#header {
width: 100%;
margin-bottom: 1em;
}
table#header td.logo {
width: 96px;
}
table#header td.main {
font-size: 250%;
padding-left: 10px;
}
table#header td.main a {
color: #000;
}
table#header td.form {
text-align: right;
vertical-align: bottom;
padding-right: 1em;
padding-bottom: 2px;