Team:Korea U Seoul/template/banner
From 2013.igem.org
(Difference between revisions)
(15 intermediate revisions not shown) | |||
Line 17: | Line 17: | ||
} | } | ||
.title > .title_ {color: #8b0027; font-weight: bold; font-size: 15pt; margin-top: 10px;} | .title > .title_ {color: #8b0027; font-weight: bold; font-size: 15pt; margin-top: 10px;} | ||
- | .title > .left_line{float: left; width: | + | .title > .left_line{float: left; width: 30%; background-color: #8B0029; height: 5px;} |
- | .title > .right_line{float: left; width: | + | .title > .right_line{float: left; width: 70%; background-color: #eb89a5; height: 2px;} |
.content_{ | .content_{ | ||
margin-top: 20px; | margin-top: 20px; | ||
font-size: 10pt;padding-bottom:40px; | font-size: 10pt;padding-bottom:40px; | ||
- | + | line-height: 130%; | |
} | } | ||
- | .content_ | + | .content_ .float_img{ |
float: right; | float: right; | ||
width: 150px; | width: 150px; | ||
Line 188: | Line 188: | ||
width: 180px; | width: 180px; | ||
} | } | ||
- | + | #nav li:hover{ | |
+ | background-color: #8B0029 | ||
+ | } | ||
#nav a { | #nav a { | ||
Line 212: | Line 214: | ||
#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 > ul > li :hover{ | ||
+ | background-color: #8B0029; | ||
+ | color: #FFFFFF; | ||
+ | font-weight: bold; | ||
+ | } | ||
/* contents */ | /* contents */ | ||
#content { | #content { | ||
Line 248: | Line 255: | ||
<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> | ||
<li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Design">Design & Parts</a></li> | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Design">Design & Parts</a></li> | ||
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Protocols"> | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Protocols">Protocol</a></li> |
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/ | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Result">Result</a></li> |
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/ | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Application">Application & Improvement</a></li> |
- | + | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 261: | Line 267: | ||
</li> | </li> | ||
<li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Outreach">Outreach</a> | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Outreach">Outreach</a> | ||
- | |||
- | |||
</li> | </li> | ||
<li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Safety">Safety Questions</a> | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Safety">Safety Questions</a> | ||
Line 275: | Line 279: | ||
</div> | </div> | ||
<script> | <script> | ||
- | $('#nav li').bind('mouseenter keyup', function() { | + | $('#nav li').bind('mouseenter keyup mouseleave', function() { |
$(this) .addClass('on').siblings().removeClass(); | $(this) .addClass('on').siblings().removeClass(); | ||
+ | |||
+ | $(this).unbind('mouseenter keyup mouseleave', function(){ | ||
+ | |||
+ | }) | ||
}); | }); | ||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 22:24, 27 September 2013