Team:Korea U Seoul/template/banner

From 2013.igem.org

(Difference between revisions)
 
(69 intermediate revisions not shown)
Line 3: Line 3:
<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>  
<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 27: Line 64:
     margin: 0;
     margin: 0;
     padding: 0;
     padding: 0;
-
    background-color: #aaaaaa;
 
}
}
Line 50: Line 86:
#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 59: Line 94:
     border: none;  
     border: none;  
     position: relative;
     position: relative;
-
     width: 970px;
+
     width: 100%;
}
}
Line 122: Line 157:
#header {
#header {
-
     /*wdth:975px;*/
+
     width: 100%;
-
height:29px;
+
height:90px;
-
background:#d8d3cd;
+
position:relative;
position:relative;
-
        z-index:999;      
+
    z-index:999;    
 +
background:#d8d3cd;
}
}
#nav {  
#nav {  
     margin: 0 auto;
     margin: 0 auto;
 +
background:#d8d3cd;
 +
width: 1100px
}
}
#nav ul, #nav li {
#nav ul, #nav li {
Line 137: Line 174:
}
}
#nav ul{
#nav ul{
 +
}
 +
#nav > ul > li > a > img{
 +
    height: 40px;
 +
    margin-bottom: 10px;
 +
    margin-top: 10px;
}
}
#nav li {
#nav li {
Line 144: Line 186:
margin:0px; /* 0이엇음 */
margin:0px; /* 0이엇음 */
padding:0px 0px 0px 0px;
padding:0px 0px 0px 0px;
-
width: 150px;
+
width: 180px;
}
}
 +
#nav li:hover{
 +
    background-color: #8B0029
 +
}
 +
#nav a {
#nav a {
display:block;
display:block;
Line 155: Line 201:
#nav li ul {
#nav li ul {
position:absolute;
position:absolute;
-
     top:30px;  /* 서브가 아래로 열리게하는 */
+
     top:92px;  /* 서브가 아래로 열리게하는 */
-
width: 200px;
+
display:none;
display:none;
text-align: center;
text-align: center;
 +
background-color: #8B0029
}
}
#nav li.on ul {
#nav li.on ul {
Line 168: 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:  970px;
+
     width:  100%;
     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 191: 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/Our_members">Our members</a>
+
           <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 201: 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">Protocols & Results</a></li>
+
           <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/Application">Application</a></li>
+
           <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/Improvement">Improvement</a></li>
+
           <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>
-
            <ul>
 
-
              <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/CCP">CCP</a>
 
-
              </li>
 
-
              <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Africa">Africa Project</a>
 
-
              </li>
 
-
              <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Class">Booth</a>
 
-
              </li>
 
-
              <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Homepage">Homepage</a>
 
-
              </li>
 
-
            </ul>
 
-
          </li>
 
-
          <li><a href="https://2013.igem.org/Team:Korea_U_Seoul/Human_Practice/Collaboration">Collaboration</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>
Line 239: Line 279:
</div>
</div>
<script>
<script>
-
$('#nav li').bind('mouseenter keyup', function() {
+
$('#nav li').bind('mouseenter keyup mouseleave', function() {
-
    console.log(this);
+
$(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