Team:HZAU-China/background-head
From 2013.igem.org
(Difference between revisions)
Line 120: | Line 120: | ||
background:url(https://static.igem.org/mediawiki/2013/8/80/Old_wall.jpg); | background:url(https://static.igem.org/mediawiki/2013/8/80/Old_wall.jpg); | ||
width:998px; | width:998px; | ||
- | height: | + | height:30px; |
border:0; | border:0; | ||
margin:0px auto; | margin:0px auto; | ||
- | |||
- | |||
} | } | ||
.nav,.nav ul { | .nav,.nav ul { | ||
Line 139: | Line 137: | ||
overflow:hidden; | overflow:hidden; | ||
position:absolute; | position:absolute; | ||
- | top: | + | top:30px; |
- | + | ||
} | } | ||
.nav li { | .nav li { | ||
Line 154: | Line 151: | ||
color:#FFF; | color:#FFF; | ||
display:block; | display:block; | ||
- | |||
font-size:16px; | font-size:16px; | ||
- | line-height: | + | line-height:px; |
padding:5px 20px; | padding:5px 20px; | ||
text-decoration:none; | text-decoration:none; | ||
transition:0.5s; | transition:0.5s; | ||
- | |||
} | } | ||
.nav li:hover > a { | .nav li:hover > a { | ||
Line 166: | Line 161: | ||
border-color:#6E67A6; | border-color:#6E67A6; | ||
color:#fff; | color:#fff; | ||
- | |||
} | } | ||
.nav li:hover ul.subs { | .nav li:hover ul.subs { | ||
height:auto; | height:auto; | ||
- | width: | + | width:180px; |
} | } | ||
.nav ul li { | .nav ul li { |
Revision as of 15:21, 26 September 2013