Team:HZAU-China/background-head
From 2013.igem.org
(Difference between revisions)
Line 117: | Line 117: | ||
} | } | ||
.example { | .example { | ||
+ | |||
position:relative; | position:relative; | ||
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: | + | width:998x; |
- | height: | + | height:48px; |
- | + | margin:20px auto; | |
margin:0px auto; | margin:0px auto; | ||
+ | padding:1px; | ||
} | } | ||
.nav,.nav ul { | .nav,.nav ul { | ||
Line 137: | Line 139: | ||
overflow:hidden; | overflow:hidden; | ||
position:absolute; | position:absolute; | ||
- | top: | + | top:46px; |
} | } | ||
.nav li { | .nav li { | ||
Line 152: | Line 154: | ||
display:block; | display:block; | ||
font-size:16px; | font-size:16px; | ||
- | line-height: | + | line-height:35px; |
- | padding:5px | + | padding:5px 29px; |
text-decoration:none; | text-decoration:none; | ||
transition:0.5s; | transition:0.5s; |
Revision as of 15:28, 26 September 2013