Difference between revisions of "Template:Elanvitalkorea"

Line 235: Line 235:
 
}
 
}
 
body {
 
body {
    background-image: url('https://static.igem.org/mediawiki/2015/2/24/ElanVital_Bg.png');
 
 
     background-position: 9% 0%;
 
     background-position: 9% 0%;
 
background-repeat: no-repeat;
 
background-repeat: no-repeat;
 +
}
 +
 +
div.column {
 +
  max-width: 800px;
 +
}
 +
 +
figure.fixedratio {
 +
  padding-top: 56.25%;  /* 450px/800px = 0.5625 */
 +
}
 +
 +
figure.fixedratio {
 +
  padding-top: 10%;  /* slope */
 +
  height: 120px;  /* start height */
 +
  background-image: url('https://static.igem.org/mediawiki/2015/2/24/ElanVital_Bg.png');
 +
  background-size: cover;
 +
  -moz-background-size: cover;  /* Firefox 3.6 */
 +
  background-position: center;  /* Internet Explorer 7/8 */
 
}
 
}
  
Line 276: Line 292:
 
</head>
 
</head>
 
<body>
 
<body>
 +
 +
 +
<div class="column">
 +
  <figure class="fixedratio"></figure>
 +
</div>
 +
 +
 +
  
 
<div id='cssmenu'>
 
<div id='cssmenu'>

Revision as of 14:16, 27 August 2015



Scroll down to find out more