]> git.cameronkatri.com Git - cgit.git/commitdiff
css: vertically align the cgit logo image
authorFerry Huberts <ferry.huberts@pelagic.nl>
Sun, 18 Mar 2012 10:44:04 +0000 (11:44 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sun, 18 Mar 2012 20:22:18 +0000 (20:22 +0000)
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>
cgit.css

index 37872e508562cb0231e8324ec91cb24b55679528..bfb45cc498e9e0931fa6abba21ceba7d1bb80098 100644 (file)
--- 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 {