Team:Korea U Seoul/template/banner
From 2013.igem.org
(Difference between revisions)
Line 27: | Line 27: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
+ | background-color: #FFFFFF; | ||
} | } | ||
Line 49: | Line 50: | ||
#top-section { | #top-section { | ||
background-color: #8b0029; | background-color: #8b0029; | ||
+ | #background-image: url('https://static.igem.org/mediawiki/2011/0/0d/MAIN_IMAGE.jpg'); | ||
height:18px ! important; /* 메인 배너 이미지 높이 */ | height:18px ! important; /* 메인 배너 이미지 높이 */ | ||
margin: 0px; | margin: 0px; | ||
Line 57: | Line 59: | ||
border: none; | border: none; | ||
position: relative; | position: relative; | ||
- | width: | + | width: 970px; |
} | } | ||
Line 120: | Line 122: | ||
#header { | #header { | ||
- | + | /*wdth:975px;*/ | |
- | height: | + | margin-left:250px; |
+ | height:29px; | ||
+ | background:#d8d3cd; | ||
position:relative; | position:relative; | ||
- | + | z-index:999; | |
- | + | ||
} | } | ||
#nav { | #nav { | ||
- | margin | + | margin: 0 auto; |
- | + | ||
} | } | ||
#nav ul, #nav li { | #nav ul, #nav li { | ||
Line 136: | Line 138: | ||
} | } | ||
#nav ul{ | #nav ul{ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
#nav li { | #nav li { | ||
Line 159: | Line 156: | ||
#nav li ul { | #nav li ul { | ||
position:absolute; | position:absolute; | ||
- | top: | + | top:30px; /* 서브가 아래로 열리게하는 */ |
display:none; | display:none; | ||
text-align: center; | text-align: center; | ||
Line 171: | Line 168: | ||
#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: #F00000;} |
/* contents */ | /* contents */ | ||
#content { | #content { | ||
position: relative; | position: relative; | ||
- | width: | + | width: 970px; |
margin: 0 auto; | margin: 0 auto; | ||
padding: 5px 0px 5px 0px; | padding: 5px 0px 5px 0px; | ||
+ | background: #8b0029; | ||
+ | #background: #8b0029; | ||
color: black; | color: black; | ||
border-left: none; | border-left: none; | ||
Line 183: | Line 182: | ||
line-height: 1.5em; | line-height: 1.5em; | ||
z-index: 2; | z-index: 2; | ||
- | |||
} | } | ||
Line 194: | Line 192: | ||
<div id="nav"> | <div id="nav"> | ||
<ul> | <ul> | ||
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Team/Korea_University" | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Team/Korea_University">Team</a> |
<ul> | <ul> | ||
<!--<li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Team/Korea_University">Korea University</a> | <!--<li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Team/Korea_University">Korea University</a> | ||
</li>--> | </li>--> | ||
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Team/ | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Team/Our_members">Our members</a> |
</li> | </li> | ||
<li><a href="https://igem.org/Team.cgi?year=2013&team_name=Korea_U_Seoul">Official Team Profile</a> | <li><a href="https://igem.org/Team.cgi?year=2013&team_name=Korea_U_Seoul">Official Team Profile</a> | ||
Line 204: | Line 202: | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Description" | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Description">Project</a> |
<ul> | <ul> | ||
<li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Description">Description</a></li> | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Description">Description</a></li> | ||
Line 214: | Line 212: | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Notebook" | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Notebook">Notebook</a> |
</li> | </li> | ||
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Ownership_Innovation" | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Ownership_Innovation">Human Practice</a> |
<ul> | <ul> | ||
<li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Ownership_Innovation">Ownership & Innovation</a> | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Ownership_Innovation">Ownership & Innovation</a> | ||
Line 232: | Line 230: | ||
</div> | </div> | ||
<script> | <script> | ||
- | $('#nav li').bind('mouseenter keyup', function() { | + | $('#nav li').bind('mouseenter mouseleave keyup', function() { |
$(this) .addClass('on').siblings().removeClass(); | $(this) .addClass('on').siblings().removeClass(); | ||
}); | }); |
Revision as of 18:27, 27 September 2013