Template:Team:Valencia Biocampus/Templates/Header2

From 2014.igem.org

(Difference between revisions)
Line 48: Line 48:
}
}
@media(min-width:992px){
@media(min-width:992px){
-
#content{
+
  #content{
-
background: url('https://static.igem.org/mediawiki/2014/c/c1/Vbt_backgroundBody970.jpg') center top no-repeat;  
+
    background: url('https://static.igem.org/mediawiki/2014/c/c1/Vbt_backgroundBody970.jpg') center top no-repeat;  
-
min-height:100%;
+
    min-height:100%;
-
height:auto;
+
    height:auto;
-
}
+
  }
-
 
+
  .container.withBackground {
 +
    background: url('https://static.igem.org/mediawiki/2014/b/b5/Vbt_backgroundContainer.png') center top repeat-y;
 +
    background-size: 100%;
 +
    background-position-y: 125px;
 +
    padding-top: 0px;
 +
    background-origin: padding-box;
 +
    margin-top: 160px;
 +
    min-height: 520px;
 +
    z-index: 2;
 +
    position: relative;
 +
  }
 +
  .container.afterWithBackground {
 +
    content: " ";
 +
    display: block;
 +
    background: url('https://static.igem.org/mediawiki/2014/1/1d/Vbt_backgroundContainerBottom.jpg') no-repeat center top;
 +
    height: 189px;
 +
  }
 +
  #myTab{
 +
    margin-top:-90px;
 +
  }
}
}
@media(min-width:1200px){
@media(min-width:1200px){
-
#content{
+
  #content{
-
background: url('https://static.igem.org/mediawiki/2014/6/6d/Vbt_backgroundBody.jpg') center top no-repeat;  
+
    background: url('https://static.igem.org/mediawiki/2014/6/6d/Vbt_backgroundBody.jpg') center top no-repeat;  
-
min-height:100%;
+
    min-height:100%;
-
height:auto;
+
    height:auto;
-
}
+
    }
-
 
+
  .container.withBackground {
 +
    background: url('https://static.igem.org/mediawiki/2014/b/b5/Vbt_backgroundContainer.png') center top repeat-y;
 +
    background-size: 100%;
 +
    padding-top: 0px;
 +
    background-origin: padding-box;
 +
    margin-top: 231px;
 +
    min-height: 520px;
 +
    z-index: 2;
 +
    position: relative;
 +
  }
 +
  .container.afterWithBackground {
 +
    content: " ";
 +
    display: block;
 +
    background: url('https://static.igem.org/mediawiki/2014/1/1d/Vbt_backgroundContainerBottom.jpg') no-repeat center top;
 +
    height: 189px;
 +
  }
 +
  #myTab{
 +
    margin-top:-90px;
 +
  }
}
}
h1{
h1{
Line 79: Line 116:
}
}
body { background: transparent; }
body { background: transparent; }
-
.container.withBackground {
+
 
-
    background: url('https://static.igem.org/mediawiki/2014/b/b5/Vbt_backgroundContainer.png') center top repeat-y;
+
-
    background-size: 100%;
+
-
    padding-top: 0px;
+
-
    background-origin: padding-box;
+
-
    margin-top: 231px;
+
-
    min-height: 520px;
+
-
    z-index: 2;
+
-
    position: relative;
+
-
}
+
-
.container.afterWithBackground {
+
-
    content: " ";
+
-
    display: block;
+
-
    background: url('https://static.igem.org/mediawiki/2014/1/1d/Vbt_backgroundContainerBottom.jpg') no-repeat center top;
+
-
    height: 189px;
+
-
}
+
-
#myTab{
+
-
margin-top:-90px;
+
-
}
+
#footer2{
#footer2{
width:100%;
width:100%;

Revision as of 20:09, 13 October 2014