Team:Oxford/templates/header

From 2014.igem.org

(Difference between revisions)
 
(316 intermediate revisions not shown)
Line 1: Line 1:
-
<!--[if lt IE 7]> <html lang="en" class="no-js ie6"> <![endif]-->
+
<html>
-
<!--[if IE 7]>    <html lang="en" class="no-js ie7"> <![endif]-->
+
-
<!--[if IE 8]>    <html lang="en" class="no-js ie8"> <![endif]-->
+
-
<!--[if gt IE 8]><!-->
+
-
<html class='no-js' lang='en'>
+
-
<!--<![endif]-->
+
-
<head>
+
-
<meta charset='utf-8' />
+
-
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible' />
+
-
<meta content='jQuery Plugin to make jQuery Cycle Plugin work as a fullscreen background image slideshow' name='description' />
+
-
+
-
<meta name="distribution" content="global" />
+
-
<meta name="language" content="en" />
+
-
<meta content='width=device-width, initial-scale=1.0' name='viewport' />
+
-
+
-
<link rel="stylesheet" href="https://dl.dropbox.com/s/vk19uzv3h0b39rn/jquery.maximage.css" type="text/css" media="screen" charset="utf-8" />
+
-
<link rel="stylesheet" href="https://dl.dropbox.com/s/vvujeoveawsd2wz/screen.css" type="text/css" media="screen" charset="utf-8" />
+
-
+
-
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
+
-
+
-
<style type="text/css" media="screen">
+
-
#maximage {
+
-
/* position:fixed !important;*/
+
-
}
+
-
+
-
</style>
+
-
+
-
<!--[if IE 6]>
+
-
<style type="text/css" media="screen">
+
-
/*I don't feel like messing with pngs for this browser... sorry*/
+
-
#gradient {display:none;}
+
-
</style>
+
-
<![endif]-->
+
-
</head>
+
-
+
-
   
+
-
   
+
-
    <body>
+
-
+
-
       
+
-
       
+
-
       
+
-
       
+
-
   
+
<script>
-
       
+
 
-
<div id="maximage">
+
$(document).ready(function() {
-
<img src="https://static.igem.org/mediawiki/2014/3/3d/Oxskyline.png" alt="" width="1400" height="1050" />
+
-
<img src="https://static.igem.org/mediawiki/2014/2/2a/DcmA-3.png" alt="Coalesse" width="1400" height="1050" />
+
-
<img src="https://static.igem.org/mediawiki/2014/0/09/BrownBiochemistry_04.jpg" alt="" width="1400" height="1050" /></div>
+
-
+
-
       
+
-
       
+
-
       
+
-
       
+
-
       
+
-
       
+
-
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.js'></script>
+
-
<script src="https://dl.dropbox.com/s/37jkgtqvovibjzw/jquery.cycle.all.js" type="text/javascript" charset="utf-8"></script>
+
-
<script src="https://dl.dropbox.com/s/pidq1kmneunnn0s/jquery.maximage.js" type="text/javascript" charset="utf-8"></script>
+
-
+
-
<script type="text/javascript" charset="utf-8">
+
-
$(function(){
+
-
// Trigger maximage
+
-
jQuery('#maximage').maximage();
+
-
});
+
-
+
-
$(document).ready(function() {
+
$('.hasdropdown').hover(function() {
$('.hasdropdown').hover(function() {
$(this).find('.dropdown').stop(true,true).slideToggle(200);
$(this).find('.dropdown').stop(true,true).slideToggle(200);
Line 72: Line 9:
})
})
-
 
-
        </script>
 
-
 
-
        <style>
 
-
@import url(http://fonts.googleapis.com/css?family=PT+Serif|Open+Sans:300italic,400,300);
+
</script>
 +
<style>
-
* {
+
@import url(http://fonts.googleapis.com/css?family=PT+Serif|Open+Sans:300italic,400,300);
-
    padding: 0px;
+
-
    margin: 0px
+
-
}
+
body {
body {
Line 93: Line 24:
padding:0;
padding:0;
background:none;
background:none;
-
overflow:hidden;
 
-
display: block;
 
-
    margin-left: auto;
 
-
    margin-right: auto
 
}
}
Line 111: Line 38:
white-space: nowrap;
white-space: nowrap;
top: 0px;
top: 0px;
-
width: 450px;
+
width: 400px;
z-index: 5;
z-index: 5;
font-family: sans-serif;
font-family: sans-serif;
Line 152: Line 79:
#bodyContent p{
#bodyContent p{
display:none;
display:none;
-
overflow:hidden;
 
-
display: block;
 
-
    margin-left: auto;
 
-
    margin-right: auto
 
}
}
Line 249: Line 172:
display:block !important;
display:block !important;
}
}
 +
body {
body {
Line 273: Line 197:
   display: block !important;
   display: block !important;
   -webkit-backface-visibility: hidden;  
   -webkit-backface-visibility: hidden;  
-
position: relative;
+
position: relative;   
-
}
+
-
 
+
-
.header .containertwo{
+
-
  max-width: 920px;
+
-
min-width:600px;
+
-
margin: 0 auto;
+
-
overflow:hidden;
+
-
display: block;
+
-
    margin-left: auto;
+
-
    margin-right: auto
+
}
}
Line 354: Line 268:
header {
header {
-
background:  
+
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: 400px;
+
height: 300px;
min-width:600px;
min-width:600px;
}
}
#logo {
#logo {
-
background: url('https://static.igem.org/mediawiki/2014/thumb/5/5a/Oxfordlogo.png/800px-Oxfordlogo.png');
+
background: url('https://static.igem.org/mediawiki/2014/8/8a/Lgoo.png');
background-size: cover;
background-size: cover;
width: 260px;
width: 260px;
Line 374: Line 286:
#igem_logo {
#igem_logo {
-
background: url('https://static.igem.org/mediawiki/2010/b/b0/UCL-Igem.png');
+
background: url('https://static.igem.org/mediawiki/2014/6/6d/OxiGEMiGEM.png');
background-size: cover;
background-size: cover;
-
width: 10em;
+
width: 9em;
-
height: 8em;
+
height: 7em;
position: absolute;
position: absolute;
right: 0;
right: 0;
Line 395: 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 401: Line 314:
width: 100%;
width: 100%;
background: #012148;
background: #012148;
-
margin-bottom: 0px;
+
margin-bottom: 30px;
min-width:600px;
min-width:600px;
}
}
Line 411: Line 324:
#main_navigation > div > ul > li {
#main_navigation > div > ul > li {
display: inline-block;
display: inline-block;
-
margin: 0;
+
margin: 0 20px 0 0 ;
-
margin-left:30px;
+
-
 
+
padding: 0;
padding: 0;
}
}
Line 433: Line 344:
text-transform: uppercase;
text-transform: uppercase;
}
}
-
 
Line 512: Line 422:
background: #fff;
background: #fff;
padding: 1em;
padding: 1em;
 +
width:90%;
}
}
-
.abcdefg {
+
 
-
margin-bottom: 1em;
+
 
-
background: #f5f5f5;
+
.grow {
-
padding: 1em;
+
    border-radius: 10px;
-
        bottom:0px;
+
    display: inline-block;
-
     
+
    overflow: hidden;
 +
    height: 20px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
}
}
-
IMG.DCMationgif{
+
.grow:hover {
-
display: block;
+
     overflow: hidden;
-
     margin-left: auto;
+
     height: 100px;
-
     margin-right: auto;
+
}
}
-
</style>
+
.growat {
 +
    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;
 +
}
-
<header>
+
.growat:hover {
 +
    overflow: hidden;
 +
    height: 1000px;
 +
}
-
<img class="DCMationgif" src="https://static.igem.org/mediawiki/2014/d/d9/Test.png" height="400px" alt="" onclick='javascript:(this.src=="https://static.igem.org/mediawiki/2014/d/d9/Test.png"?this.src="http://timertopia.files.wordpress.com/2012/02/20-second-timer.gif":"")' />
+
.growbio {
 +
    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;
 +
}
 +
.growbio:hover {
 +
    overflow: hidden;
 +
    height: 1000px;
 +
}
-
<div class="containertwo">
 
-
                       
 
-
     
 
-
<div id="logo">
+
.growlabbookbweek1 {
-
<a href="http://www.ox.ac.uk"><span></span></a>
+
    border-radius: 10px;
-
</div>
+
    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;
 +
}
 +
.growlabbookbweek1:hover {
 +
    overflow: hidden;
 +
    height: 2800px;
 +
}
-
<div href="https://igem.org/Main_Page" id="igem_logo">
+
.growlabbookbweek2 {
-
<a href="https://igem.org/Main_Page"><span></span></a>
+
    border-radius: 10px;
-
</div>
+
    display: inline-block;
-
</div>
+
    overflow: hidden;
 +
    height: 150px;
 +
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
</header>
+
.growlabbookbweek2:hover {
-
<nav id="main_navigation">
+
    overflow: hidden;
-
<div class="container">
+
    height: 6500px;
-
<ul>
+
}
-
<li><a href="https://2014.igem.org/Team:Oxford">Homepage</a></li>
+
-
+
-
<li class="hasdropdown"><a>DCM<font style="text-transform: lowercase;">ation</font></a>
+
.growlabbookbweek3 {
-
<ul class="dropdown">
+
    border-radius: 10px;
-
<li><a href="https://2014.igem.org/Team:Oxford/ouridea">Overview</a></li>
+
    display: inline-block;
-
<li><a href="https://2014.igem.org/Team:Oxford/DCMation1">1 <font style="text-transform: lowercase;">tolerance maximisation</font></a></li>
+
    overflow: hidden;
-
                                        <li><a href="">2 <font style="text-transform: lowercase;">dcm</font>R/A <font style="text-transform: lowercase;">characterisation</font></a></li>
+
    height: 130px;
-
                                        <li><a href="">3 <font style="text-transform: lowercase;">catalysis optimisation</font></a></li>
+
    width: 100%;
 +
    margin: 0% 0px 0px 0%;
 +
    float: center;
 +
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
                                       
+
.growlabbookbweek3:hover {
-
</ul>
+
    overflow: hidden;
-
</li>
+
    height: 2800px;
 +
}
-
                                   
+
.growlabbookbweek4 {
-
                                      <li class="hasdropdown"><a>Notebook</a>
+
    border-radius: 10px;
-
<ul class="dropdown">
+
    display: inline-block;
-
<li><a href="">Methods</a></li>
+
    overflow: hidden;
-
<li><a href="">data</a></li>
+
    height: 130px;
-
                                                        <li><a href="https://2014.igem.org/Team:Oxford/parts">Parts</a></li>
+
    width: 100%;
-
                                                        <li><a href="">references</a></li>
+
    margin: 0% 0px 0px 0%;
-
</ul>
+
    float: center;
-
</li>
+
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
-
<li class="hasdropdown"><a>Modelling</a>
+
.growlabbookbweek4:hover {
-
<ul class="dropdown">
+
    overflow: hidden;
-
<li><a href="">1 <font style="text-transform: lowercase;">tolerance maximisation</font></a></li>
+
    height: 8000px;
-
                                        <li><a href="">2 <font style="text-transform: lowercase;">dcm</font>R/A <font style="text-transform: lowercase;">characterisation</font></a></li>
+
}
-
                                        <li><a href="">3 <font style="text-transform: lowercase;">catalysis optimisation</font></a></li>
+
-
                                                        <li><a href="">achievements</a></li>
+
-
</ul>
+
-
</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;
 +
}
-
+
.growlabbookbweek5:hover {
-
+
    overflow: hidden;
-
<li class="hasdropdown"><a>Policy & Practices</a>
+
    height: 3000px;
-
<ul class="dropdown">
+
}
-
<li><a href="">safety</a></li>
+
-
<li><a href="https://2014.igem.org/Team:Oxford/Intellectual Property">Intellectual Property</a></li>
+
-
 
-
</ul>
 
-
</li>
 
-
+
.growlabbookcweek1 {
-
<li class="hasdropdown"><a>Community</a>
+
    border-radius: 10px;
-
<ul class="dropdown">
+
    display: inline-block;
-
    <li><a href="https://2014.igem.org/Team:Oxford/collaboration">Collaboration</a></li>
+
    overflow: hidden;
-
<li><a href="https://2014.igem.org/Team:Oxford/Public Engagement">Public Engagement</a></li>
+
    height: 130px;
-
                                        <li><a href="https://2014.igem.org/Team:Oxford/Events">Events</a></li>
+
    width: 100%;
-
                                        <li><a href="https://2014.igem.org/Team:Oxford/Gallery">Gallery</a></li>
+
    margin: 0% 0px 0px 0%;
-
<li><a href="https://2014.igem.org/Team:Oxford/contactus">Contact Us</a></li>
+
    float: center;
-
</ul>
+
    position: relative;
 +
    transition:height 0.5s;
 +
    -webkit-transition:height 0.5s;
 +
}
 +
.growlabbookcweek1:hover {
 +
    overflow: hidden;
 +
    height: 1950px;
 +
}
-
  <li class="hasdropdown"><a>Team</a>
+
.growlabbookcweek3 {
-
<ul class="dropdown">
+
    border-radius: 10px;
-
<li><a href="https://2014.igem.org/Team:Oxford/biochemists">Biochemists</a></li>
+
    display: inline-block;
-
<li><a href="https://2014.igem.org/Team:Oxford/engineers">Engineers</a></li>
+
    overflow: hidden;
-
<li><a
+
    height: 130px;
-
href="https://2014.igem.org/Team:Oxford/lawyer">Lawyer</a></li>
+
    width: 100%;
-
<li><a
+
    margin: 0% 0px 0px 0%;
-
href="https://2014.igem.org/Team:Oxford/chemist">Chemist</a></li>
+
    float: center;
-
<li><a
+
    position: relative;
-
href="https://2014.igem.org/Team:Oxford/biologist">Biologist</a></li>
+
    transition:height 0.5s;
-
<li><a
+
    -webkit-transition:height 0.5s;
-
href="https://2014.igem.org/Team:Oxford/ppe">PPE<font style="text-transform: lowercase;">ist</font></a></li>
+
}
-
<li><a
+
-
href="https://2014.igem.org/Team:Oxford/supervisors">Supervisors</a></li>
+
-
<li><a
+
-
href="https://2014.igem.org/Team:Oxford/advisors">Advisors</a></li>
+
-
<li><a href="https://2014.igem.org/Team:Oxford/sponsors">Sponsors</a></li>
+
-
</ul>
+
-
</li>
+
-
                                       
+
.growlabbookcweek3:hover {
-
                                       
+
    overflow: hidden;
-
</li>
+
    height: 1950px;
 +
}
-
</ul>
+
.growlabbookcweek4 {
 +
    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;
 +
}
 +
 
 +
.growlabbookcweek4:hover {
 +
    overflow: hidden;
 +
    height: 1000px;
 +
}
 +
 
 +
.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;
 +
}
 +
 
 +
.growlabbookcweek5:hover {
 +
    overflow: hidden;
 +
    height: 2100px;
 +
}
 +
 
 +
.growlabbookcweek6 {
 +
    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;
 +
}
 +
 
 +
.growlabbookcweek6:hover {
 +
    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;
 +
}
 +
 
 +
.growGW:hover {
 +
    overflow: hidden;
 +
    height: 1000px;
 +
}
 +
 
 +
.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;
 +
}
 +
 
 +
.grow3:hover {
 +
    overflow: hidden;
 +
    width: 100%;
 +
}
 +
 
 +
 
 +
 
 +
</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>
-
     
+
 
-
  </body>
 
-
 
 
-
 
 
</html>
</html>
 +
{{:Team:Oxford/templates/nav}}

Latest revision as of 09:18, 9 September 2014