Team:UCL/Homex

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
-
{{:Team:UCL/Template:headerx}}
+
/* =Header Banner */
-
<html>
+
.banner-image-background {
-
<!-- ============= CSS for Humans Main ================= -->
+
    background: url('https://static.igem.org/mediawiki/2014/3/30/Azo4.jpg') no-repeat center;
-
<link rel="stylesheet" href="https://2014.igem.org/Team:UCL/Template:HomeMain.css?action=raw&ctype=text/css" type="text/css" />
+
    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;
 +
}
-
<!-- ============= BODY SLIDERS ======================== -->
+
.banner-image-logo {
-
<body>
+
    top:150px;
-
<div id="skrollr-body">
+
    display: inline-block;
 +
    vertical-align: middle;
 +
    opacity:1;
 +
}
-
    <!--[if lt IE 7]>
+
/* =Profiles */
-
        <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
+
main {
-
     <![endif]-->
+
     z-index: 1;
 +
    position: relative;
 +
}
 +
.slide {
-
     <header class="banner-image-background">
+
     color: #a7a0a2;
-
            <div class="banner-image-overlay">
+
    font-weight: 200;
-
    <div style="opacity:1"><img src="https://static.igem.org/mediawiki/2014/e/e8/UCL-old-logo-small.jpg" alt="" class="banner-image-logo"/><div>
+
    font-size: 1em;
-
            </div>
+
    font-family: 'Lato', Arial, sans-serif;
-
    </header>
+
-
    <main>
+
}
-
<div id="slideabout" class="slide">
+
.slide .tellmemore {
-
            <div class="wrapper clearfix">
+
-
<div id="slideaboutheader" class="slideheader"
+
    color: #a7a0a2;
-
data-anchor-target="#slideabout"
+
    font-family: 'Lato', Arial, sans-serif;
-
data-bottom-top="transform[sqrt]:translateX(300%)"
+
    font-size:0.75em;
-
data-200-top="transform[sqrt]:translateX(60%)">
+
-
+
-
<h1><span>PROJECT</span></h1>
+
-
</div>
+
}
-
                <div id="slideaboutmore" class="slidemore"
+
.slide .tellmemore p {
-
data-anchor-target="#slideabout"
+
-
data-bottom-top="transform[sqrt]:translateX(-300%)"
+
-
data-200-top="transform[sqrt]:translateX(20%)">
+
-
                    <a href="#" class="tellmemore">
+
    text-align:left;
-
                        <img src="https://static.igem.org/mediawiki/2014/2/23/Team_Icons-05.png" alt="" />
+
-
        <p>Tell me more</p>
+
-
                    </a>
+
-
                </div>
+
}
-
                <div id="slideaboutcontent" class="slidecontent"
+
.slide h1 {
-
data-anchor-target="#slideabout"
+
    background-color:black;
-
data-bottom-top="opacity:0;"
+
    font-weight:bold;
-
data-200-top="opacity:1;">
+
    border-bottom:none;
 +
    color: white;
 +
}
-
    <h2>WHO ARE WE?</h2>
+
.slide h2 {
-
    <p>We are University College London's iGEM 2014 team.</p>
+
    font-weight:bold;
-
    <br/>
+
    border-bottom:none;
-
    <h2>WHAT ARE WE DOING?</h2>
+
    color: #a7a0a2;
-
    <p>We are using Synthetic Biology to combat <b>AZO-DYE</b> Pollution.  Azo Dyes are the most common synthetic dye and are used everywhere, from food colouring to clothes. You're probably wearing clothes dyed with Azo-Dyes! But, when they get into waste water they're very toxic. Our team is engineering bacteria that degrade these dyes, using enzymes, to make them colourless and less harmful to the environment</p>
+
}
-
                </div>
+
.slide img {
 +
    height:50%;
 +
    width:50%;
 +
}
-
</div>
+
.slide h1 {
-
        </div>
+
    padding-top:-10px;
 +
    padding-left:30px;
 +
    text-align:left;
 +
}
-
        <div id="slidescience" class="slide">
+
.slide h1 span {
 +
    top:-10px;
 +
}
-
            <div class="wrapper clearfix">
+
.slide p, .slide h2 {
-
<div id="slidescienceheader" class="slideheader"
+
    text-align:right;
-
data-anchor-target="#slidescience"
+
}
-
data-bottom-top="transform[sqrt]:translateX(300%)"
+
-
data-200-top="transform[sqrt]:translateX(60%)">
+
-
<h1><span>SCIENCE</span></h1>
 
-
</div>
+
.slidemore {
-
</div>
+
    float:left;
-
        </div>
+
}
-
<div id="slidehumans" class="slide">
+
#slideabout {
-
            <div class="wrapper clearfix">
+
    padding-left:200px;
 +
    padding-right:200px;
 +
    height:600px;
 +
}
-
<div id="slidehumansheader" class="slideheader"
+
#slidescience {
-
data-anchor-target="#slidehumans"
+
    background: url('https://static.igem.org/mediawiki/2014/a/a3/Azo3.jpg') no-repeat;
-
data-bottom-top="transform[sqrt]:translateX(300%)"
+
    background-position-y:-400px;
-
data-200-top="transform[sqrt]:translateX(60%)">
+
    background-size:100%;
-
+
    height:600px;
-
<h1><span>HUMANS</span></h1>
+
z-index: 10;
 +
}
-
</div>
+
#slidehumans {
 +
    padding-left:200px;
 +
    padding-right:200px;
 +
    height:600px;
 +
}
-
</div>
+
@media only screen and (min-width: 768px) {
-
        </div>
+
 
-
+
  /* =Header Banner */
-
    </main>
+
-
</div>
+
    .banner-image-background {
-
</body>
+
    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;
 +
    }
-
</html>
+
.banner-image-logo {
-
{{:Team:UCL/Template:footerx}}
+
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;
 +
}
 +
 +
}

Revision as of 14:53, 29 August 2014

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

}

}