Team:UCL/Template:HomeMain.css

From 2014.igem.org

(Difference between revisions)
 
(8 intermediate revisions not shown)
Line 2: Line 2:
.banner-image-background {
.banner-image-background {
     background: url('https://static.igem.org/mediawiki/2014/8/86/UCLfabricSampleCSM.jpg') no-repeat center;
     background: url('https://static.igem.org/mediawiki/2014/8/86/UCLfabricSampleCSM.jpg') no-repeat center;
-
     background-size: 150%;
+
     background-size: 100%;
     /*background-color: #e7e7e7;*/
     /*background-color: #e7e7e7;*/
     position: relative;
     position: relative;
Line 19: Line 19:
     position:relative;
     position:relative;
     padding-top:9%;
     padding-top:9%;
-
    left:25%;
+
     display: block;
-
     display: inline-block;
+
     vertical-align: middle;
     vertical-align: middle;
     opacity:1;
     opacity:1;
 +
    margin:0 auto;
}
}
Line 29: Line 29:
     z-index: 1;
     z-index: 1;
     position: relative;
     position: relative;
-
}
 
-
 
-
.slide {
 
-
 
-
    color: #a7a0a2;
 
-
    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: #a7a0a2;
 
-
}
 
-
 
-
.slide h1 {
 
-
    padding-top:-10px;
 
-
    padding-left:30px;
 
-
    text-align:left;
 
-
}
 
-
 
-
.slide h1 span {
 
-
    top:-10px;
 
-
}
 
-
 
-
.slide p, .slide h2 {
 
-
    text-align:center;
 
-
}
 
-
 
-
.slide .box
 
-
{
 
-
  box-shadow:none;
 
-
}
 
-
 
-
.slidemore {
 
-
    float:left;
 
-
}
 
-
 
-
#slideabout {
 
-
    height:600px;
 
-
}
 
-
 
-
#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; }
 
}
}
Line 173: Line 62:
}
}
 +
}
 +
 +
@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%;
 +
}
 +
}
}

Latest revision as of 22:58, 17 October 2014

/* =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%;

}

}