Template:Team:Valencia Biocampus/Templates/Header2

From 2014.igem.org

(Difference between revisions)
Line 54: Line 54:
.header-top-menu li a{
.header-top-menu li a{
   padding:15px;
   padding:15px;
 +
  font-variant: small-caps;
    
    
}
}
@media(max-width:767px){
@media(max-width:767px){
-
 
+
  #content{
 +
    background: url('https://static.igem.org/mediawiki/2014/c/c1/Vbt_backgroundBody970.jpg') center top no-repeat;
 +
    min-height:100%;
 +
    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;
 +
    padding-bottom: 40px;
 +
  }
 +
  .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:first-of-type {
 +
    position:absolute;
 +
    top:-168px;
 +
    left:50%;
 +
    margin-left:-350px;
 +
    width:700px;
 +
    font-size: 280%;
 +
  }
}
}
@media(min-width:768px){
@media(min-width:768px){
-
 
+
  #content{
 +
    background: url('https://static.igem.org/mediawiki/2014/c/c1/Vbt_backgroundBody970.jpg') center top no-repeat;
 +
    min-height:100%;
 +
    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;
 +
    padding-bottom: 40px;
 +
  }
 +
  .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:first-of-type {
 +
    position:absolute;
 +
    top:-168px;
 +
    left:50%;
 +
    margin-left:-350px;
 +
    width:700px;
 +
    font-size: 280%;
 +
  }
}
}

Revision as of 01:32, 14 October 2014