Team:Oxford/templates/header

From 2014.igem.org

(Difference between revisions)
 
(117 intermediate revisions not shown)
Line 268: Line 268:
header {
header {
-
background: url('https://static.igem.org/mediawiki/2014/8/8e/OxfordSkyline.jpg');
+
background: url('https://static.igem.org/mediawiki/2014/e/eb/Oxfordigem_radcam.jpg');
background-size: cover;
background-size: cover;
-
background-position: center center;
+
background-position: 10% 16%;
-
height: 150px;
+
height: 300px;
min-width:600px;
min-width:600px;
}
}
Line 286: Line 286:
#igem_logo {
#igem_logo {
-
background: url('https://static.igem.org/mediawiki/2014/3/3f/Igem.png');
+
background: url('https://static.igem.org/mediawiki/2014/6/6d/OxiGEMiGEM.png');
background-size: cover;
background-size: cover;
-
width: 7em;
+
width: 9em;
height: 7em;
height: 7em;
position: absolute;
position: absolute;
Line 307: Line 307:
   /* edit: fixes overlap error in IE7/8,  
   /* edit: fixes overlap error in IE7/8,  
     make sure you have an empty gif */
     make sure you have an empty gif */
 +
   background-image: url('empty.gif');
   background-image: url('empty.gif');
}
}
Line 426: Line 427:
-
</style>
+
.grow {
-
<header>
+
    border-radius: 10px;
-
<div class="container">
+
    display: inline-block;
-
<div id="logo">
+
    overflow: hidden;
-
<a href="http://www.ox.ac.uk"><span></span></a>
+
    height: 20px;
-
</div>
+
    width: 100%;
-
<div href="https://igem.org/Main_Page" id="igem_logo">
+
    margin: 0% 0px 0px 0%;
-
<a href="https://igem.org/Main_Page"><span></span></a>
+
    float: center;
-
</div>
+
     position: relative;
-
</div>
+
    transition:height 0.5s;
-
</header>
+
    -webkit-transition:height 0.5s;
-
<nav id="main_navigation">
+
}
-
<div class="container">
+
-
     <ul>
+
-
      <li><a href="https://2014.igem.org/Team:Oxford/about">About</a></li>
+
-
      <li class="hasdropdown">
+
.grow:hover {
-
        <a>DCM<font style="text-transform: lowercase;">ation</font></a>
+
    overflow: hidden;
 +
    height: 100px;
 +
}
-
        <ul class="dropdown">
 
-
          <li><a href="https://2014.igem.org/Team:Oxford/ouridea">Our idea</a></li>
 
-
          <li><a href="https://2014.igem.org/Team:Oxford/DCMationA">A) <font style=
+
.growat {
-
          "text-transform: lowercase;">tolerance maximisation</font></a></li>
+
    border-radius: 10px;
 +
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 400px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/DCMationB">B) <font style=
+
.growat:hover {
-
          "text-transform: lowercase;">biosensor development</font></a></li>
+
    overflow: hidden;
 +
    height: 1000px;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/DCMationC">C) <font style=
+
.growbio {
-
          "text-transform: lowercase;">catalysis optimisation</font></a></li>
+
    border-radius: 10px;
 +
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 250px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/DCMationD">D) <font style=
+
.growbio:hover {
-
          "text-transform: lowercase;">system development</font></a></li>
+
    overflow: hidden;
-
        </ul>
+
    height: 1000px;
-
      </li>
+
}
-
      <li class="hasdropdown">
 
-
        <a>Notebook</a>
 
-
        <ul class="dropdown">
 
-
          <li><a href="https://2014.igem.org/Team:Oxford/protocols">protocols</a></li>
 
-
          <li><a href="https://2014.igem.org/Team:Oxford/notebook">lab book</a></li>
+
.growlabbookbweek1 {
 +
    border-radius: 10px;
 +
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 100px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/parts">Parts</a></li>
+
.growlabbookbweek1:hover {
 +
    overflow: hidden;
 +
    height: 2800px;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/references">references</a></li>
 
-
        </ul>
 
-
      </li>
 
-
      <li class="hasdropdown">
+
.growlabbookbweek2 {
-
        <a>Modelling</a>
+
    border-radius: 10px;
 +
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 150px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
        <ul class="dropdown">
+
.growlabbookbweek2:hover {
-
          <li><a href="https://2014.igem.org/Team:Oxford/modellingA">A) <font style=
+
    overflow: hidden;
-
          "text-transform: lowercase;">tolerance maximisation</font></a></li>
+
    height: 6500px;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/modellingB">B) <font style=
+
.growlabbookbweek3 {
-
          "text-transform: lowercase;">Biosensor Development</font></a></li>
+
    border-radius: 10px;
 +
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 130px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/modellingC">C) <font style=
+
.growlabbookbweek3:hover {
-
          "text-transform: lowercase;">catalysis optimisation</font></a></li>
+
    overflow: hidden;
 +
    height: 2800px;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/progress">progress</a></li>
+
.growlabbookbweek4 {
-
        </ul>
+
    border-radius: 10px;
-
      </li>
+
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 130px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
      <li class="hasdropdown">
+
.growlabbookbweek4:hover {
-
        <a>Inter-lab study</a>
+
    overflow: hidden;
-
        <ul class="dropdown">
+
    height: 8000px;
-
          <li><a href="https://2014.igem.org/Team:Oxford/devices">devices</a></li>
+
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/measurement">measurement</a></li>
+
.growlabbookbweek5 {
 +
    border-radius: 10px;
 +
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 120px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/results">results</a></li>
+
.growlabbookbweek5:hover {
-
        </ul>
+
    overflow: hidden;
-
      </li>
+
    height: 3000px;
 +
}
-
      <li class="hasdropdown">
 
-
        <a>Policy &amp; Practices</a>
 
-
        <ul class="dropdown">
+
.growlabbookcweek1 {
-
          <li><a href=
+
    border-radius: 10px;
-
          "https://2014.igem.org/Team:Oxford/intellectual_property">Chlorinated Solvents
+
    display: inline-block;
-
          and the Environment</a></li>
+
    overflow: hidden;
 +
    height: 130px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/intellectual_property">Bringing
+
.growlabbookcweek1:hover {
-
          DCMation into action</a></li>
+
    overflow: hidden;
 +
    height: 1950px;
 +
}
-
          <li><a href=
+
.growlabbookcweek3 {
-
          "https://2014.igem.org/Team:Oxford/intellectual_property">Intellectual
+
    border-radius: 10px;
-
          Property</a></li>
+
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 130px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/public_engagement">Public
+
.growlabbookcweek3:hover {
-
          Engagement</a></li>
+
    overflow: hidden;
-
        </ul>
+
    height: 1950px;
-
      </li>
+
}
-
      <li class="hasdropdown">
+
.growlabbookcweek4 {
-
        <a><font style="text-transform: lowercase;">i</font>GEM Community</a>
+
    border-radius: 10px;
 +
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 130px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
        <ul class="dropdown">
+
.growlabbookcweek4:hover {
-
          <li><a href=
+
    overflow: hidden;
-
          "https://2014.igem.org/Team:Oxford/collaboration">Collaboration</a></li>
+
    height: 1000px;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/events">Events</a></li>
+
.growlabbookcweek5 {
 +
    border-radius: 10px;
 +
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 250px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/gallery">Gallery</a></li>
+
.growlabbookcweek5:hover {
 +
    overflow: hidden;
 +
    height: 2100px;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/contactus">Contact Us</a></li>
+
.growlabbookcweek6 {
-
        </ul>
+
    border-radius: 10px;
-
      </li>
+
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 200px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
      <li class="hasdropdown">
+
.growlabbookcweek6:hover {
-
        <a>Team</a>
+
    overflow: hidden;
 +
    height: 2100px;
 +
}
 +
.growGW {
 +
    border-radius: 10px;
 +
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 200px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
        <ul class="dropdown">
+
.growGW:hover {
-
          <li><a href="https://2014.igem.org/Team:Oxford/students">Students</a></li>
+
    overflow: hidden;
 +
    height: 1000px;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/supervisors">Supervisors</a></li>
+
.grow3 {
 +
    border-radius: 10px;
 +
    display: inline-block;
 +
    overflow: hidden;
 +
    height: 300px;
 +
    width: 50%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
          <li><a href="https://2014.igem.org/Team:Oxford/advisors">Advisors</a></li>
+
.grow3:hover {
 +
    overflow: hidden;
 +
    width: 100%;
 +
}
-
          <li><a href=
 
-
          "https://2014.igem.org/Team:Oxford/attributions">Attributions</a></li>
 
-
          <li><a href="https://2014.igem.org/Team:Oxford/sponsors">Sponsors</a></li>
 
-
        </ul>
 
-
      </li>
 
-
    </ul>
 
 +
</style>
 +
<header>
 +
<div class="container">
 +
<div id="logo">
 +
<a href="http://www.ox.ac.uk"><span></span></a>
 +
</div>
 +
<div href="https://igem.org/Main_Page" id="igem_logo">
 +
<a href="https://igem.org/Main_Page"><span></span></a>
 +
</div>
</div>
</div>
-
</nav>
+
</header>
 +
 
</html>
</html>
 +
{{:Team:Oxford/templates/nav}}

Latest revision as of 09:18, 9 September 2014