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: 100%;
+
     width: 970px;
}
}
Line 120: Line 122:
#header {
#header {
-
     width: 100%;
+
     /*wdth:975px;*/
-
height:90px;
+
        margin-left:250px;
 +
height:29px;
 +
background:#d8d3cd;
position:relative;
position:relative;
-
    z-index:999;    
+
        z-index:999;      
-
background:#d8d3cd;
+
}
}
#nav {  
#nav {  
-
     margin-left: 100px;
+
     margin: 0 auto;
-
background:#d8d3cd;
+
}
}
#nav ul, #nav li {
#nav ul, #nav li {
Line 136: Line 138:
}
}
#nav ul{
#nav ul{
-
}
 
-
#nav > ul > li > a > img{
 
-
    height: 40px;
 
-
    margin-bottom: 10px;
 
-
    margin-top: 10px;
 
}
}
#nav li {
#nav li {
Line 159: Line 156:
#nav li ul {
#nav li ul {
position:absolute;
position:absolute;
-
     top:92px;  /* 서브가 아래로 열리게하는 */
+
     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: gray;}
+
#nav ul li :hover{background: #F00000;}
/* contents */
/* contents */
#content {
#content {
     position: relative;
     position: relative;
-
     width:  100%;
+
     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;
-
    background-image: url('https://static.igem.org/mediawiki/2013/8/89/003-subtle-light-pattern-background-texture.jpg');
 
}
}
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"><img src="https://static.igem.org/mediawiki/2013/1/13/Introduction.png"><br />Team</a>
+
       <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/Korea_University">Our members</a>
+
           <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"><img src="https://static.igem.org/mediawiki/2013/0/00/Review.png"><br />Project</a>
+
       <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"><img src="https://static.igem.org/mediawiki/2013/7/7d/Howto.png"><br />Notebook</a>
+
       <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"><img src="https://static.igem.org/mediawiki/2013/d/de/Mypage.png"><br />Human Practice</a>
+
       <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