Team:UCL/Template:HomeMain.css
From 2014.igem.org
/* =Header Banner */ .banner-image-background {
background: url('https://static.igem.org/mediawiki/2014/8/86/UCLfabricSampleCSM.jpg') no-repeat center; background-size: 100%; /*background-color: #e7e7e7;*/ position: relative; height: 700px;
z-index: 10; }
.banner-image-overlay {
background-color: rgba(0,0,0,0.5); width:100%; height:100%;
z-index: 11; }
.banner-image-logo {
position:relative; padding-top:9%; display: block; vertical-align: middle; opacity:1; margin:0 auto;
}
/* =Profiles */ main {
z-index: 1; position: relative;
}
@media only screen and (min-width: 10000px) {
/* =Header Banner */
.banner-image-background { background: url('https://static.igem.org/mediawiki/2014/8/86/UCLfabricSampleCSM.jpg') no-repeat center; background-size:100%; position: relative; z-index:10; /* height: 1000px; */
}
.banner-image-overlay { background-color:rgba(0,0,0,0.5); width:100%; height:100%; z-index:11; }
.banner-image-logo { width: 727px; height: 503px; background: url('https://static.igem.org/mediawiki/2014/e/e8/UCL-old-logo-small.jpg') no-repeat center; background-size: 727px 503px; position: absolute; /* top: 25%; */ left: 50%; margin-left: -359px;
z-index:12;
}
}
@media (max-width:750px) {
.banner-image-background {
background: url('https://static.igem.org/mediawiki/2014/8/86/UCLfabricSampleCSM.jpg') no-repeat center; background-size: 250%; /*background-color: #e7e7e7;*/ position: relative; height: 600px;
z-index: 10; }
.banner-image-overlay {
background-color: rgba(0,0,0,0.5); width:100%; height:100%;
z-index: 11; }
.banner-image-logo {
position:relative; padding-top:9%; display: block; vertical-align: middle; opacity:1; margin:0 auto; width:100%;
}
}
@media (max-width:550px) { .banner-image-background {
background: url('https://static.igem.org/mediawiki/2014/8/86/UCLfabricSampleCSM.jpg') no-repeat center; background-size: 250%; /*background-color: #e7e7e7;*/ position: relative; height: 500px;
z-index: 10; }
.banner-image-overlay {
background-color: rgba(0,0,0,0.5); width:100%; height:100%;
z-index: 11; }
.banner-image-logo {
position:relative; padding-top:20%; display: block; vertical-align: middle; opacity:1; margin:0 auto; width:100%;
}
}