Template:Team:SJTU-BioX-Shanghai/Header

From 2014.igem.org

(Difference between revisions)
Line 8: Line 8:
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: auto 100%;
     background-size: auto 100%;
 +
position:fixed;
   }
   }
   .header_link {
   .header_link {
-
    width:15%;
 
-
    height:100%;
 
     position:absolute;
     position:absolute;
-
 
     right:0px;
     right:0px;
 +
bottom:0px;
}
}
-
.header_link ul {
 
-
margin:0;
 
-
list-style:none;
 
-
}
 
-
.header_link li {float:left;}
 
-
.home_img{width:20%;}
 
-
 
@media screen and (max-width: 55.6875em) {
@media screen and (max-width: 55.6875em) {
div.header_logo {
div.header_logo {
height:100px;
height:100px;
 +
}
 +
.home_img {
 +
  height:50%;
}}
}}
@media screen and (max-height: 25.25em) {
@media screen and (max-height: 25.25em) {
div.header_logo {
div.header_logo {
height:50px;
height:50px;
 +
}
 +
.home_img {
 +
  height:20%;
}}
}}
</style>
</style>
<div class="header_logo" id="header_logo">
<div class="header_logo" id="header_logo">
-
            <div class="header_link">
+
<div class="header_link">
-
          <ul><li><a href="http://2014.igem.org/Team:SJTU-BioX-Shanghai"><img class="home_img" border="0" src="http://2014.igem.org/wiki/images/e/e9/SJTU14_homelink.png" /></a></li>
+
<a href="http://2014.igem.org/Team:SJTU-BioX-Shanghai"><img class="home_img" border="0" src="http://2014.igem.org/wiki/images/e/e9/SJTU14_homelink.png" /></a><a href="http://2014.igem.org/Main_Page"><img class="home_img" border="0" src="http://2014.igem.org/wiki/images/e/e9/SJTU14_homelink.png" /></a>
-
            <li><a href="http://2014.igem.org/Main_Page"><img class="home_img" border="0" src="http://2014.igem.org/wiki/images/e/e9/SJTU14_homelink.png" /></a>
+
</div>
-
            Igem</li>
+
</div>
-
            </ul>
+
-
            </div></div>
+
</html>
</html>

Revision as of 10:54, 12 October 2014