Template:Team:HokkaidoU Japan/Top Header/CSS

From 2014.igem.org

(Difference between revisions)
 
(8 intermediate revisions not shown)
Line 10: Line 10:
#header-wrapper {
#header-wrapper {
     width:100%;
     width:100%;
-
     background-color:#CD0B1B;
+
     background-color:#d92424;
}
}
#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;
 +
  color:white;
}
}
Line 71: Line 64:
.header-title-top{
.header-title-top{
     height:50px;
     height:50px;
-
     margin:20px 0 30px;
+
     margin:40px 0 20px;
 +
    font-size:30px;
}
}
.header-title-bottom {
.header-title-bottom {
     height:100px;
     height:100px;
 +
    font-size:45px;
}
}
</style>
</style>
</html>
</html>

Latest revision as of 14:00, 17 October 2014