Team:Tsinghua/header
From 2010.igem.org
(Difference between revisions)
Line 236: | Line 236: | ||
#topbar1-center{ | #topbar1-center{ | ||
- | height: | + | height: 83px; |
- | dmargin:0 auto; | + | dmargin: 0 auto; |
position: relative; | position: relative; | ||
- | dfloat:center; | + | dfloat: center; |
- | top:0; | + | top: 0; |
margin-left: 10%; | margin-left: 10%; | ||
- | background: url("https://static.igem.org/mediawiki/2010/b/bb/Banneru.png"); | + | background: url("https://static.igem.org/mediawiki/2010/b/bb/Banneru.png") no-repeat; |
width: 880px; | width: 880px; | ||
- | padding:0 40px; | + | padding: 0 40px; |
- | z-index:5; | + | z-index: 5; |
-moz-border-radius: 4px; | -moz-border-radius: 4px; | ||
-webkit-border-radius: 5px; | -webkit-border-radius: 5px; | ||
} | } | ||
.navmask{ | .navmask{ | ||
- | position:absolute; | + | position: absolute; |
- | top:0; | + | top: 0; |
- | left:0; | + | left: 0; |
- | width:100%; | + | width: 100%; |
- | height:100%; | + | height: 100%; |
- | background-color:#000; | + | background-color: #000; |
- | opacity:0.3; | + | opacity: 0.3; |
- | filter:alpha(opacity=30); | + | filter: alpha(opacity=30); |
- | display:none; | + | display: none; |
-moz-border-radius: 4px; | -moz-border-radius: 4px; | ||
-webkit-border-radius: 5px; | -webkit-border-radius: 5px; | ||
- | border-bottom:2px solid #eee; | + | border-bottom: 2px solid #eee; |
- | border-right:2px solid #ddd; | + | border-right: 2px solid #ddd; |
} | } | ||
#topbarul a:hover .navmask{ | #topbarul a:hover .navmask{ |
Revision as of 14:24, 18 July 2010