From: Stefan Imhoff Date: Mon, 11 Mar 2013 10:49:33 +0000 (+0100) Subject: Added "Sticky Footer" X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=84b601a962cbfcf00bf86e6e98747944d63b802f;p=m6w6%2Fgitweb-theme Added "Sticky Footer" --- diff --git a/gitweb.css b/gitweb.css index 7cb593e..abf18cc 100644 --- a/gitweb.css +++ b/gitweb.css @@ -44,10 +44,15 @@ a { outline: none; } /* General ---------------------------------------------------------------------------- */ +html { + position: relative; + min-height: 100%; +} + body { font: 13px Helvetica,arial,freesans,clean,sans-serif; line-height: 1.4; - margin: 0; + margin: 0 0 105px; background-color: #fff; color: #000000; } @@ -140,11 +145,13 @@ td, th { ---------------------------------------------------------------------------- */ .page_footer { + position: absolute; + left: 0; + bottom: 0; + width: 100%; height: 80px; line-height: 80px; - padding: 0 30px; margin-top: 15px; - margin-bottom: 30px; background: #f1f1f1; border-top: 2px solid #ddd; border-bottom: 1px solid #ddd; @@ -178,6 +185,10 @@ a.rss_logo:hover { background-color: #ee5500; } +a.rss_logo:first-child { + margin-right: 25px; +} + /* Index include ---------------------------------------------------------------------------- */ @@ -383,7 +394,7 @@ th .header { float: right; } -.object_header td, +.object_header td, .object_header th { vertical-align: top; }