Team:UCL/Template:HomeMain.css

From 2014.igem.org

(Difference between revisions)
 
(103 intermediate revisions not shown)
Line 1: Line 1:
/* =Header Banner */
/* =Header Banner */
.banner-image-background {
.banner-image-background {
-
     background: url('https://static.igem.org/mediawiki/2014/3/30/Azo4.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 17: Line 17:
.banner-image-logo {
.banner-image-logo {
-
     top:150px;
+
     position:relative;
-
     display: inline-block;
+
    padding-top:9%;
 +
     display: block;
     vertical-align: middle;
     vertical-align: middle;
     opacity:1;
     opacity:1;
 +
    margin:0 auto;
}
}
Line 29: Line 31:
}
}
-
.slide {
+
@media only screen and (min-width: 10000px) {
-
 
+
-
    color: #a7a0a2;
+
-
    font-weight: 200;
+
-
    font-size: 1em;
+
-
    font-family: 'Lato', Arial, sans-serif;
+
-
 
+
-
}
+
-
 
+
-
.slide .tellmemore {
+
-
 
+
-
    color: #a7a0a2;
+
-
    font-family: 'Lato', Arial, sans-serif;
+
-
    font-size:0.5em;
+
-
 
+
-
}
+
-
 
+
-
.slide h1 {
+
-
    background-color:black;
+
-
    font-weight:bold;
+
-
    border-bottom:none;
+
-
    color: white;
+
-
}
+
-
 
+
-
.slide h2 {
+
-
    font-weight:bold;
+
-
    border-bottom:none;
+
-
    color: #a7a0a2;
+
-
}
+
-
 
+
-
.slide img {
+
-
    height:50%;
+
-
    width:50%;
+
-
}
+
-
 
+
-
.slide h1 {
+
-
    padding-top:-10px;
+
-
    padding-left:30px;
+
-
    text-align:left;
+
-
}
+
-
 
+
-
.slide h1 span {
+
-
    top:-10px;
+
-
}
+
-
 
+
-
.slide p, .slide h2 {
+
-
    text-align:right;
+
-
}
+
-
 
+
-
 
+
-
.slidemore {
+
-
    float:left;
+
-
}
+
-
 
+
-
#slideabout {
+
-
    padding-left:200px;
+
-
    padding-right:200px;
+
-
    height:600px;
+
-
}
+
-
 
+
-
#slidescience {
+
-
    background: url('https://static.igem.org/mediawiki/2014/a/a3/Azo3.jpg') no-repeat;
+
-
    background-position-y:-400px;
+
-
    background-size:100%;
+
-
    height:600px;
+
-
z-index: 10;
+
-
}
+
-
 
+
-
#slidehumans {
+
-
    padding-left:200px;
+
-
    padding-right:200px;
+
-
    height:600px;
+
-
}
+
-
 
+
-
@media only screen and (min-width: 768px) {
+
    
    
   /* =Header Banner */
   /* =Header Banner */
     .banner-image-background {
     .banner-image-background {
-
     background: url('https://static.igem.org/mediawiki/2014/3/30/Azo4.jpg') no-repeat center;
+
     background: url('https://static.igem.org/mediawiki/2014/8/86/UCLfabricSampleCSM.jpg') no-repeat center;
     background-size:100%;
     background-size:100%;
     position: relative;
     position: relative;
Line 134: 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%;

}

}