Team:Korea U Seoul/template/banner
From 2013.igem.org
(Difference between revisions)
(95 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<head> | <head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
+ | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | ||
+ | |||
+ | |||
+ | <style> | ||
+ | .content_wrapper{ | ||
+ | top: -10px; | ||
+ | width: 80%; min-width:1000px; max-width:1000px; margin:0 auto;overflow: auto; background-color:#FFFFFF; padding: 0 20px; min-height: 1000px; | ||
+ | background-image: url('https://static.igem.org/mediawiki/2013/6/6e/Natural_paper.png'); | ||
+ | } | ||
+ | .title{ | ||
+ | width: 100%; | ||
+ | margin-top : 40px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | .title > .title_ {color: #8b0027; font-weight: bold; font-size: 15pt; margin-top: 10px;} | ||
+ | .title > .left_line{float: left; width: 30%; background-color: #8B0029; height: 5px;} | ||
+ | .title > .right_line{float: left; width: 70%; background-color: #eb89a5; height: 2px;} | ||
+ | |||
+ | .content_{ | ||
+ | margin-top: 20px; | ||
+ | font-size: 10pt;padding-bottom:40px; | ||
+ | line-height: 130%; | ||
+ | } | ||
+ | .content_ .float_img{ | ||
+ | float: right; | ||
+ | width: 150px; | ||
+ | margin: 10px; | ||
+ | } | ||
+ | .image_line {margin-top: 20px; text-align: center;} | ||
+ | .image_line img{ | ||
+ | height: 150px; | ||
+ | margin-right: 3%; | ||
+ | } | ||
+ | p:first-child:first-letter{font-weight: bold; font-size: 150%;} | ||
+ | </style> | ||
+ | |||
+ | |||
+ | |||
<style> | <style> | ||
/* | /* | ||
Line 26: | Line 64: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
- | |||
} | } | ||
Line 49: | Line 86: | ||
#top-section { | #top-section { | ||
background-color: #8b0029; | background-color: #8b0029; | ||
- | |||
height:18px ! important; /* 메인 배너 이미지 높이 */ | height:18px ! important; /* 메인 배너 이미지 높이 */ | ||
margin: 0px; | margin: 0px; | ||
Line 58: | Line 94: | ||
border: none; | border: none; | ||
position: relative; | position: relative; | ||
- | width: | + | width: 100%; |
} | } | ||
Line 121: | Line 157: | ||
#header { | #header { | ||
- | + | width: 100%; | |
- | + | height:90px; | |
- | + | position:relative; | |
+ | z-index:999; | ||
background:#d8d3cd; | background:#d8d3cd; | ||
- | |||
} | } | ||
- | #nav { | + | #nav { |
- | + | margin: 0 auto; | |
- | + | background:#d8d3cd; | |
- | + | width: 1100px | |
} | } | ||
#nav ul, #nav li { | #nav ul, #nav li { | ||
margin:0; | margin:0; | ||
padding:0; | padding:0; | ||
+ | text-align: center; | ||
+ | } | ||
+ | #nav ul{ | ||
+ | } | ||
+ | #nav > ul > li > a > img{ | ||
+ | height: 40px; | ||
+ | margin-bottom: 10px; | ||
+ | margin-top: 10px; | ||
} | } | ||
#nav li { | #nav li { | ||
Line 142: | Line 186: | ||
margin:0px; /* 0이엇음 */ | margin:0px; /* 0이엇음 */ | ||
padding:0px 0px 0px 0px; | padding:0px 0px 0px 0px; | ||
+ | width: 180px; | ||
} | } | ||
+ | #nav li:hover{ | ||
+ | background-color: #8B0029 | ||
+ | } | ||
+ | |||
#nav a { | #nav a { | ||
display:block; | display:block; | ||
Line 152: | Line 201: | ||
#nav li ul { | #nav li ul { | ||
position:absolute; | position:absolute; | ||
- | + | top:92px; /* 서브가 아래로 열리게하는 */ | |
- | + | ||
display:none; | display:none; | ||
- | + | text-align: center; | |
+ | background-color: #8B0029 | ||
} | } | ||
#nav li.on ul { | #nav li.on ul { | ||
Line 165: | 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 { | ||
position: relative; | position: relative; | ||
- | width: | + | width: 100%; |
margin: 0 auto; | margin: 0 auto; | ||
padding: 5px 0px 5px 0px; | padding: 5px 0px 5px 0px; | ||
- | |||
- | |||
color: black; | color: black; | ||
border-left: none; | border-left: none; | ||
Line 181: | Line 233: | ||
</style> | </style> | ||
- | + | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
</head> | </head> | ||
Line 188: | Line 240: | ||
<div id="nav"> | <div id="nav"> | ||
<ul> | <ul> | ||
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Team/Korea_University">Team</a> | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul"><img src="https://static.igem.org/mediawiki/2013/3/31/Koreauseoul_logo.png"><br />Home</a></li> |
+ | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Team/Korea_University"><img src="https://static.igem.org/mediawiki/2013/1/13/Introduction.png"><br />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/Korea_University">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 198: | Line 251: | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Description">Project</a> | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Project/Description"><img src="https://static.igem.org/mediawiki/2013/0/00/Review.png"><br />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> | ||
<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> | ||
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Notebook">Notebook</a> | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Notebook"><img src="https://static.igem.org/mediawiki/2013/7/7d/Howto.png"><br />Notebook</a> |
</li> | </li> | ||
- | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Ownership_Innovation">Human Practice</a> | + | <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Ownership_Innovation"><img src="https://static.igem.org/mediawiki/2013/d/de/Mypage.png"><br />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> | ||
</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> | ||
</li> | </li> | ||
</ul> | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://igem.org/"><img src="https://static.igem.org/mediawiki/2013/c/ce/Logos.png"><br />iGEM</a> | ||
</li> | </li> | ||
</ul> | </ul> | ||
</div> | </div> | ||
</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