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 h1
-
            <div class="wrapper clearfix">
+
{
 +
    text-align:center;
 +
    background-color:black;
 +
    font-weight:bold;
 +
    border-bottom:none;
 +
    color: white;
 +
}
-
<div id="slideaboutheader" class="slideheader"
+
.slide h2 {
-
data-anchor-target="#slideabout"
+
    font-weight:bold;
-
data-bottom-top="transform[sqrt]:translateX(-200%)"
+
    border-bottom:none;
-
data-100-top="transform[sqrt]:translateX(-60%)">
+
    color: #a7a0a2;
-
+
}
-
<h1>ABOUT US</h1>
+
-
</div>
+
.slide p, .slide h2, .slide h1 {
 +
    text-align:center;
 +
}
-
<h2>WHO ARE WE?</h2>
+
#slideabout {
-
<p>We are University College London's iGEM 2014 team.</p>
+
    padding-left:200px;
-
<br/>
+
    padding-right:200px;
-
<h2>WHAT ARE WE DOING?</h2>
+
    height:600px;
-
<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>
+
}
-
<p>Click to find out more</p>
+
 +
#slidepeople {
 +
    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;
 +
}
-
</div>
+
@media only screen and (min-width: 768px) {
-
        </div>
+
 
 +
  /* =Header Banner */
-
        <div id="slidepeople" class="slide">
+
    .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; */
 +
}
-
            <div class="wrapper clearfix">
+
    .banner-image-overlay {
-
<div id="slidepeopleheader" class="slideheader"
+
        background-color:rgba(0,0,0,0.5);
-
data-anchor-target="#slidepeople"
+
        width:100%;
-
data-bottom-top="transform[sqrt]:translateX(200%)"
+
        height:100%;
-
data-top="transform[sqrt]:translateX(0%)">
+
        z-index:11;
 +
    }
-
<h1>MEET THE TEAM</h1>
+
.banner-image-logo {
-
 
+
width: 727px;
-
</div>
+
height: 503px;
-
</div>
+
background: url('https://static.igem.org/mediawiki/2014/e/e8/UCL-old-logo-small.jpg') no-repeat center;
-
        </div>
+
background-size: 727px 503px;
-
+
position: absolute;
-
    </main>
+
/* top: 25%; */
-
 
+
left: 50%;
-
</div>
+
margin-left: -359px;
-
</body>
+
        z-index:12;
-
 
+
}
-
 
+
-
</html>
+
}
-
{{:Team:UCL/Template:footerx}}
+

Revision as of 09:09, 27 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 h1

{
   text-align:center;
   background-color:black;
   font-weight:bold;
   border-bottom:none;
   color: white;

}

.slide h2 {

   font-weight:bold;
   border-bottom:none;
   color: #a7a0a2;

}

.slide p, .slide h2, .slide h1 {

   text-align:center;

}

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

}

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

@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;

}

}