author | Lars Hjemli <hjemli@gmail.com> | 2008-04-14 08:17:33 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-04-14 08:21:18 (UTC) |
commit | 2ee1238cdff66dcd4bf98f83b820678976f53ed8 (patch) (side-by-side diff) | |
tree | 0b5b572f553d69491780ac63118ed5387b8ee126 /cgit.css | |
parent | adf61225c40dd89e2bb1af0087767aee66791c4e (diff) | |
download | cgit-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>
-rw-r--r-- | cgit.css | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,65 +1,65 @@ -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; } table#header td.form form, table#header td.form input, table#header td.form select { font-size: 90%; } table#header td.sub { color: #777; border-top: solid 1px #ccc; padding-left: 10px; } table.tabs { /* border-bottom: solid 2px #ccc; */ |