Template:Team:SJTU-BioX-Shanghai/Header

From 2014.igem.org

(Difference between revisions)
 
(76 intermediate revisions not shown)
Line 9: Line 9:
     background-size: auto 100%;
     background-size: auto 100%;
     position:relative;
     position:relative;
-
     border-top:20px;
+
     border-top-width:15px;
     border-color: #f2ce3a;
     border-color: #f2ce3a;
   }
   }
   .header_link {
   .header_link {
-
    position:absolute;
+
position:absolute;
-
    right:0px;
+
right:0px;
-
    bottom:0px;
+
top:0px;}
-
}
+
.header_link img {
 +
  float:right;
 +
}
 +
.header_link .igem_img{position:absolute;top:5px;right:0px;height:50px;}
 +
.header_link .home_img{position:absolute;top:150px;right:0px;height:50px;}
@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 {
+
.header_link .igem_img{height:30px;}
-
  height:50%;
+
.header_link .home_img{top:50px;height:30px;}
-
}}
+
@media screen and (max-height: 25.25em) and (max-width: 44.3125em) {
-
@media screen and (max-height: 25.25em) {
+
div.header_logo {
div.header_logo {
height:50px;
height:50px;
}
}
-
.home_img {
+
.header_link .igem_img{height:20px;}
-
  height:20%;
+
.header_link .home_img{top:30px;height:20px;}
-
}}
+
}
</style>
</style>
<div class="header_logo" id="header_logo">
<div class="header_logo" id="header_logo">
<div class="header_link">
<div class="header_link">
-
<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/a/a8/SJTU14_igemlink.png" /></a>
+
<a href="http://2014.igem.org/Main_Page"><img class="igem_img" border="0" src="http://2014.igem.org/wiki/images/a/a8/SJTU14_igemlink.png" /></a>
 +
<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>
</div>
</div>
</div>
</div>
</html>
</html>

Latest revision as of 07:02, 16 October 2014