about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFerry Huberts2012-03-18 11:44:04 +0100
committerLars Hjemli2012-03-18 20:22:18 +0000
commitfac65a7ed2d10f83d0df27e66e1c67e11663c220 (patch)
treead379d06a7fa5dae1809a04b30991884bb3906e4
parentcss: prefix all styles with div#cgit (diff)
downloadcgit-fac65a7ed2d10f83d0df27e66e1c67e11663c220.tar.gz
cgit-fac65a7ed2d10f83d0df27e66e1c67e11663c220.zip
css: vertically align the cgit logo image
When embedding cgit in other pages, the logo alignment needs to be
specified to avoid any css rules from the embedding page to make the
page look bad.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
-rw-r--r--cgit.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css index 37872e5..bfb45cc 100644 --- a/cgit.css +++ b/cgit.css
@@ -31,6 +31,7 @@ div#cgit table#header {
31 31
32div#cgit table#header td.logo { 32div#cgit table#header td.logo {
33 width: 96px; 33 width: 96px;
34 vertical-align: top;
34} 35}
35 36
36div#cgit table#header td.main { 37div#cgit table#header td.main {