Team:HZAU-China/background-head
From 2013.igem.org
(Difference between revisions)
Line 118: | Line 118: | ||
.example { | .example { | ||
position:relative; | position:relative; | ||
- | background: | + | background:url(https://static.igem.org/mediawiki/2013/8/80/Old_wall.jpg); |
- | width: | + | width:998px; |
- | height: | + | height:31px; |
- | border: | + | border:0; |
- | margin: | + | margin:0px auto; |
- | padding | + | padding-top:3px; |
- | + | padding-bottom:4px; | |
- | - | + | |
- | + | ||
} | } | ||
.nav,.nav ul { | .nav,.nav ul { | ||
Line 132: | Line 130: | ||
margin:0; | margin:0; | ||
padding:0; | padding:0; | ||
- | |||
} | } | ||
.nav { | .nav { | ||
Line 143: | Line 140: | ||
position:absolute; | position:absolute; | ||
top:46px; | top:46px; | ||
+ | z-index:1000; | ||
} | } | ||
.nav li { | .nav li { | ||
Line 156: | Line 154: | ||
color:#FFF; | color:#FFF; | ||
display:block; | display:block; | ||
+ | font-family:arial; | ||
font-size:16px; | font-size:16px; | ||
line-height:35px; | line-height:35px; | ||
Line 167: | Line 166: | ||
border-color:#6E67A6; | border-color:#6E67A6; | ||
color:#fff; | color:#fff; | ||
- | z-index:1000; | + | z-index:1000; |
} | } | ||
.nav li:hover ul.subs { | .nav li:hover ul.subs { | ||
height:auto; | height:auto; | ||
- | width: | + | width:210px; |
} | } | ||
.nav ul li { | .nav ul li { |
Revision as of 15:14, 26 September 2013