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;
}
.slide {
color: black; font-weight: 200; font-size: 0.8em; font-family: 'Lato', Arial, sans-serif;
}
.slide .tellmemore {
position:relative; left: 45%; color: #a7a0a2; font-family: 'Lato', Arial, sans-serif; font-size:0.85em;
}
.slide .tellmemore img {
padding-top:50px;
}
.slide .tellmemore p {
padding-left: 10px; text-align:left;
}
.slide h1 {
background-color:black; font-weight:bold; border-bottom:none; color: white;
}
.slide h2 {
font-weight:bold; border-bottom:none; color: black;
}
.slide h1 {
padding-top:-10px; padding-left:30px; text-align:left;
}
.slide h1 span {
top:-10px;
}
.slide p, .slide h2 {
text-align:center;
}
.slide p {
padding-left:10%; padding-right:10%;
}
.slide .box {
box-shadow:none;
}
.slidemore {
float:left;
}
- slideabout {
height:600px;
}
- slidescience h1, #slidescience h2, #slidescience h3, #slidescience p {
color:white;
}
- slidescience {
background: url('https://static.igem.org/mediawiki/2014/8/86/UCLfabricSampleCSM.jpg') no-repeat; background-position-y:-400px; background-size:100%; height:500px;
z-index: 10; }
- slidesciencecontent .experiments {
position:absolute; left:28%; padding-top:50px;
}
- slidesciencecontent .results {
position:absolute; padding-top:50px; left:60%;
}
- slidesciencecontent .experiments p, #slidesciencecontent .results p {
color:white; position:relative; top:10%; font-size:1.1em; font-weight:bold; text-transform:uppercase;
}
- slidehumans {
}
- slidehumanscontent {
position:relative; height:500px;
}
@keyframes loader {
0% { background: #ddd; } 33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; } 66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}
@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%;
}
}