Team:UCL/Template:HomeMain.css

From 2014.igem.org

Revision as of 15:19, 29 August 2014 by Adamdenyer (Talk | contribs)

/* =Header Banner */ .banner-image-background {

   background: url('https://static.igem.org/mediawiki/2014/3/30/Azo4.jpg') no-repeat center;
   background-size: 150%;
   /*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 {

   top:150px;
   display: inline-block;
   vertical-align: middle;
   opacity:1;

}

/* =Profiles */ main {

   z-index: 1;
   position: relative;

}

.slide {

   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.75em;

}

.slide .tellmemore p {

   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 .tellmemore 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;

}

  1. slideabout {
   padding-left:200px;
   padding-right:200px;
   height:600px;

}

  1. 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; }

  1. slidehumans {
   padding-left:200px;
   padding-right:200px;
   height:600px;

}

@media only screen and (min-width: 768px) {

  /* =Header Banner */
   .banner-image-background {
   background: url('https://static.igem.org/mediawiki/2014/3/30/Azo4.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;

}

}