Template:Team:HokkaidoU Japan/Top Header/CSS

From 2014.igem.org

(Difference between revisions)
 
(5 intermediate revisions not shown)
Line 14: Line 14:
#header-top img
#header-top img
-
{
+
{ width:100%;
-
-ms-interpolation-mode: bicubic;
+
-
max-width: 100%;
+
-
max-height: 100%;
+
-
}
+
-
* html body #header-top img {
+
-
width: expression(this.width >= this.height ? "100%" : "auto");
+
-
height: expression(this.width <= this.height ? "100%" : "auto");
+
}
}
Line 51: Line 44:
     position:relative;
     position:relative;
     float:right;
     float:right;
-
    margin-right:200px;
 
     top:20px;
     top:20px;
      
      
Line 63: Line 55:
.header-title {
.header-title {
     height:150px;
     height:150px;
-
     width:400px;
+
     width:600px;
     float:left;
     float:left;
font-family: 'Special Elite', cursive;
font-family: 'Special Elite', cursive;
Line 72: Line 64:
.header-title-top{
.header-title-top{
     height:50px;
     height:50px;
-
     margin:20px 0 30px;
+
     margin:40px 0 20px;
     font-size:30px;
     font-size:30px;
}
}

Latest revision as of 14:00, 17 October 2014