Template:Team:SJTU-BioX-Shanghai/Header

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
-
.header_logo {
+
  .header_logo {
     width: 100%;
     width: 100%;
     min-width: 100%;
     min-width: 100%;
     background-color: #f2ce3a;
     background-color: #f2ce3a;
-
height:200px;
+
    height:200px;
-
background-repeat: no-repeat;
+
    background-repeat: no-repeat;
-
background-size: auto 100%;
+
    background-size: auto 100%;
-
}
+
  }
-
.header_content {
+
  .header_content {
-
  width:15%;
+
    width:15%;
-
  height:100%;
+
    height:100%;
-
float: right;
+
    float: right;
}
}
Line 23: Line 23:
     background-image:url("http://2014.igem.org/wiki/images/e/e9/SJTU14_homelink.png")
     background-image:url("http://2014.igem.org/wiki/images/e/e9/SJTU14_homelink.png")
}
}
 +
@media screen and (max-width: 55.6875em) {
 +
div.header_logo {
 +
height:100px;
 +
}}
 +
@media screen and (max-height: 25.25em) {
 +
div.header_logo {
 +
height:50px;
 +
}}
</style>
</style>
<div class="header_logo" id="header_logo">
<div class="header_logo" id="header_logo">
             <div class="header_content">
             <div class="header_content">
-
             <div class="header_home" onClick="location.href='http://2014.igem.org/Main_Page'"></div>
+
             <div class="header_home"><a href="http://2014.igem.org/Team:SJTU-BioX-Shanghai"></a></div>
             <div class="header_igem" onClick="location.href='http://2014.igem.org/Team:SJTU-BioX-Shanghai'">
             <div class="header_igem" onClick="location.href='http://2014.igem.org/Team:SJTU-BioX-Shanghai'">
             Igem
             Igem

Revision as of 08:58, 12 October 2014