about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFerry Huberts <ferry.huberts@pelagic.nl>2012-03-18 11:44:04 +0100
committerLars Hjemli <hjemli@gmail.com>2012-03-18 20:22:18 +0000
commitfac65a7ed2d10f83d0df27e66e1c67e11663c220 (patch)
treead379d06a7fa5dae1809a04b30991884bb3906e4
parentcss: prefix all styles with div#cgit (diff)
downloadcgit-pink-fac65a7ed2d10f83d0df27e66e1c67e11663c220.tar.gz
cgit-pink-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 {
 
 div#cgit table#header td.logo {
 	width: 96px;
+	vertical-align: top;
 }
 
 div#cgit table#header td.main {