# HG changeset patch # User Christophe Lincoln # Date 1302624678 -7200 # Node ID 3bf8b7331ace65d8898a529e2e4271f984dd3845 # Parent e2cd0a468c21ffa2205ba970f1f791ad7a6aa50d scn: small CSS improvment so we can hide admin bar for logged out users diff -r e2cd0a468c21 -r 3bf8b7331ace scn/themes/slitaz/style.css --- a/scn/themes/slitaz/style.css Tue Apr 12 16:54:10 2011 +0200 +++ b/scn/themes/slitaz/style.css Tue Apr 12 18:11:18 2011 +0200 @@ -28,7 +28,7 @@ line-height: 130%; color: #000; width: auto; - min-width: 840px; + min-width: 780px; max-width: 100%; margin: 0 auto; padding-top: 0 !important; @@ -54,6 +54,7 @@ } #header #search-bar { + z-index: 100; position: absolute; top: 80px; right: 20px; @@ -93,10 +94,14 @@ #network a { padding: 0 6px; color: #fff; font-weight: bold; text-decoration: none;} #network img, .infobox img { vertical-align: middle; } -#block { - min-height: 100px; - background: #d66018; - padding: 20px 12% 0; +#block { + z-index: 20; + min-height: 120px; + position: absolute; + top: 40px; + background: #d66018; + margin: 0 0 40px 0; + padding: 40px 12% 0; text-align: center; color: #333; border-bottom: 1px solid #f5f5f5; @@ -111,14 +116,16 @@ border-bottom: 1px solid #e0e0e0; background: #fff; overflow: hidden; - margin-top: 40px; - padding: 0 60px 40px 80px; + margin-top: 180px; + padding: 0 40px 40px 40px; } div#content .padder { padding: 0 19px 19px 0; } -ul#nav { bottom: -140px; } -ul#nav li a { background: #cc5b17; } +ul#nav { bottom: -160px; z-index: 120; } +ul#nav li a { background: #cc5b17; padding: 6px; } +ul#nav li.selected a, ul#nav li.current_page_item a { + background: #fff; } #footer { background: #f1f1f1;