Team:Korea U Seoul/template/banner
From 2013.igem.org
(Difference between revisions)
Line 120: | Line 120: | ||
#header { | #header { | ||
- | + | width: 100%; | |
- | height: | + | height:75px; |
position:relative; | position:relative; | ||
z-index:999; | z-index:999; | ||
- | background:#d8d3cd; | + | background:#d8d3cd; |
} | } | ||
#nav { | #nav { | ||
Line 137: | Line 137: | ||
} | } | ||
#nav ul{ | #nav ul{ | ||
+ | } | ||
+ | #nav > ul > li > a > img{ | ||
+ | height: 40px; | ||
+ | margin-bottom: 10px; | ||
} | } | ||
#nav li { | #nav li { | ||
Line 155: | Line 159: | ||
#nav li ul { | #nav li ul { | ||
position:absolute; | position:absolute; | ||
- | + | top:75px; /* 서브가 아래로 열리게하는 */ | |
display:none; | display:none; | ||
text-align: center; | text-align: center; | ||
Line 167: | Line 171: | ||
#nav .on a, | #nav .on a, | ||
#nav li li a {background:#d8d3cd; color:#8b0029;} | #nav li li a {background:#d8d3cd; color:#8b0029;} | ||
- | #nav ul li :hover{background: | + | #nav ul li :hover{background: gray;} |
/* contents */ | /* contents */ | ||
#content { | #content { |
Revision as of 18:08, 27 September 2013