slitaz-forge rev 62

scn: small CSS improvment so we can hide admin bar for logged out users
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 12 18:11:18 2011 +0200 (2011-04-12)
parents e2cd0a468c21
children 3d1dfcfb56d9
files scn/themes/slitaz/style.css
line diff
     1.1 --- a/scn/themes/slitaz/style.css	Tue Apr 12 16:54:10 2011 +0200
     1.2 +++ b/scn/themes/slitaz/style.css	Tue Apr 12 18:11:18 2011 +0200
     1.3 @@ -28,7 +28,7 @@
     1.4  	line-height: 130%;
     1.5  	color: #000;
     1.6  	width: auto;
     1.7 -	min-width: 840px;
     1.8 +	min-width: 780px;
     1.9  	max-width: 100%;
    1.10  	margin: 0 auto;
    1.11  	padding-top: 0 !important;
    1.12 @@ -54,6 +54,7 @@
    1.13  }
    1.14  
    1.15  #header #search-bar {
    1.16 +	z-index: 100;
    1.17  	position: absolute;
    1.18  	top: 80px;
    1.19  	right: 20px;
    1.20 @@ -93,10 +94,14 @@
    1.21  #network a { padding: 0 6px; color: #fff; font-weight: bold; text-decoration: none;}
    1.22  #network img, .infobox img { vertical-align: middle; }
    1.23  
    1.24 -#block { 
    1.25 -	min-height: 100px; 
    1.26 -	background: #d66018; 
    1.27 -	padding: 20px 12% 0;
    1.28 +#block {
    1.29 +	z-index: 20;
    1.30 +	min-height: 120px;
    1.31 +	position: absolute;
    1.32 +	top: 40px;
    1.33 +	background: #d66018;
    1.34 +	margin: 0 0 40px 0;
    1.35 +	padding: 40px 12% 0;
    1.36  	text-align: center;
    1.37  	color: #333;
    1.38  	border-bottom: 1px solid #f5f5f5;
    1.39 @@ -111,14 +116,16 @@
    1.40  	border-bottom: 1px solid #e0e0e0;
    1.41  	background: #fff;
    1.42  	overflow: hidden;
    1.43 -	margin-top: 40px;
    1.44 -	padding: 0 60px 40px 80px;
    1.45 +	margin-top: 180px;
    1.46 +	padding: 0 40px 40px 40px;
    1.47  }
    1.48  
    1.49  div#content .padder { padding: 0 19px 19px 0; }
    1.50  
    1.51 -ul#nav { bottom: -140px; }
    1.52 -ul#nav li a { background: #cc5b17; }
    1.53 +ul#nav { bottom: -160px; z-index: 120;  }
    1.54 +ul#nav li a { background: #cc5b17; padding: 6px; }
    1.55 +ul#nav li.selected a, ul#nav li.current_page_item a {
    1.56 +	background: #fff; }
    1.57  
    1.58  #footer {
    1.59  	background: #f1f1f1;