Template:Queens Canada/Header

From 2012.igem.org

(Difference between revisions)
 
(177 intermediate revisions not shown)
Line 2: Line 2:
<head>
<head>
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script>
+
<meta name="description" content="As part of the International Genetically Engineered Machine (iGEM) competition, our team is investigating new methods of increasing the efficiency of bioremediation and biosynthesis using modified bacteria flagellin. By making chimeric insertions in the variable domain of the flagellin, we can incorporate metal binding proteins, enzymes, adhesive proteins as well as scaffolding proteins to further extend the possible applications." />
-
<script type="text/javascript" src="http://2012.igem.org/Team:Queens_Canada/Javascript/Smoothscroll?action=raw&ctype=text/js"></script>  
+
<meta name="keywords" content="Chimeriq,Queens,iGEM,Flagella,bioremediation" />
 +
<link href='http://fonts.googleapis.com/css?family=Signika' rel='stylesheet' type='text/css'>
 +
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
 +
<script type="text/javascript" src="http://dl.dropbox.com/u/46807995/gooeymenu.js"> </script>
 +
<script type="text/javascript" src="http://2012.igem.org/Team:Queens_Canada/Javascript/Smoothscroll?action=raw&ctype=text/js"> </script>
 +
<script type="text/javascript" src="http://2012.igem.org/Team:Queens_Canada/Javascript/easing?action=raw&ctype=text/js"> </script>
 +
<script type="text/javascript" src="http://2012.igem.org/Team:Queens_Canada/Javascript/Init?action=raw&ctype=text/js">
 +
 +
</script>
 +
<script type="text/javascript" src="http://2012.igem.org/Team:Queens_Canada/Javascript/jquerykwicks?action=raw&ctype=text/js"></script>
 +
 +
<script type="text/javascript">
 +
$().ready(function() {
 +
$('.kwicks').kwicks({
 +
max : 650,
 +
duration: 1000, 
 +
easing: 'easeOutQuint'
 +
});
 +
});
 +
 +
</script>
<style type="text/css">
<style type="text/css">
-
#footer
+
table.tableizer-table {border: 1px solid #CCC;  font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
 +
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold; margin-left:auto; margin-right: auto;}
 +
.contentbox
{
{
-
width:1000px;
+
padding-left: 30px;
 +
padding-right:30px;
 +
border-bottom: 1px dashed black;
}
}
-
#menuselector
+
#contentbox
{
{
-
position: absolute;
+
padding-left: 30px;
-
background-color: #25d500;
+
padding-right:30px;
-
height: 10px;
+
border-bottom: 1px dashed black;
-
top: 0px;
+
-
left: 340px;
+
}
}
-
#nav,#nav ul {
+
.contenttitle
-
    list-style: none outside none;
+
{
-
    margin: 0;
+
font-size: 2em;
-
    padding: 0;
+
padding-left: 20px;
-
    background-color: transparent;
+
padding-top: 10px;
-
    font-family: Tahoma, Geneva, sans-serif;
+
padding-bottom: 10px;
-
    z-index: 5;
+
 
}
}
-
#nav {
+
h1, h2, h3, h4
-
    background-color: transparent;
+
{
-
    clear: both;
+
font-family: 'Signika', sans-serif;
-
    font-size: 12px;
+
-
    height: 60px;
+
-
    padding: 0 0 0 0px;
+
-
    position: relative;
+
-
    width: 650px;
+
-
    left: 340px;
+
-
    top: -100px;
+
}
}
-
#nav ul {
+
#navtoggle
-
    background-color: #222;
+
{
-
    border:1px solid #222;
+
height:75px;
-
    border-radius: 0 5px 5px 5px;
+
width:75px;
-
    border-width: 0 1px 1px;
+
position:absolute;
-
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
+
left:-75 px;
-
    left: -9999px;
+
margin-left: -75px;
-
    overflow: hidden;
+
margin-bottom: -75px;
-
    position: absolute;
+
margin-top: 35 px;
-
    top: -9999px;
+
text-align: center;
-
    z-index: 2;
+
background-color: maroon;
 +
border-radius: 5px 0px 0px 5px;
 +
}
 +
#navtoggle a
 +
{
 +
color: white;
 +
font-size: 1.1em;
 +
vertical-align: middle;
 +
}
 +
.kwicks_container
 +
{
 +
width: 1000px;
 +
margin-left: 2.5px;
 +
margin-right: 2.5px;
 +
}
 +
.kwicks {
 +
list-style: none;
 +
position: relative;
 +
margin: 0;
 +
padding: 0;
 +
width:100%;
 +
height:50px;
 +
z-index:2;
 +
        border-width: 10;
 +
        -khtml-border-radius: 10px;
 +
-moz-border-radius: 10px;
 +
border-radius: 10px;
 +
}
 +
.kwicks li {
 +
display: block;
 +
float: left;
 +
overflow: hidden;
 +
padding: 0;
 +
cursor: pointer;
 +
width: 500px;
 +
height: 35px;
 +
z-index:2;
 +
cursor:pointer;
 +
border-left-width: 2.5px;
 +
border-left-style: solid;
 +
border-left-color: transparent;
 +
        border-right-color: transparent;
 +
        border-right-width: 2.5px;
-
    -moz-transform: scaleY(0);
+
}
-
    -ms-transform: scaleY(0);
+
.kwicks li a {
-
    -o-transform: scaleY(0);
+
background-image:url(images/sprites_menu.png);
-
    -webkit-transform: scaleY(0);
+
background-repeat:no-repeat;
-
    transform: scaleY(0);
+
font-family: "Lucida Grande", "Lucida Sans Unicode", Arial;
 +
font-size: 1.5em;
 +
letter-spacing: -0.07em;
 +
color: #ffffff;
 +
height: 40px;
 +
outline:none;
 +
display:block;
 +
z-index:100;
 +
cursor:pointer;
 +
text-transform: uppercase;
 +
font-weight: bold;
 +
line-height: 37px;
 +
margin-left: 5px;
 +
text-decoration: none;
 +
        vertical-align: middle;
 +
}
 +
.kwicks li h3 {
 +
position: absolute;
 +
width: 120px;
 +
font-family: "Lucida Grande", "Lucida Sans Unicode", Arial;
 +
font-size: 10px;
 +
color: #FF6600;
 +
letter-spacing: -0.02em;
 +
outline:none;
 +
z-index:0;
 +
cursor:pointer;
 +
text-transform: uppercase;
 +
font-weight: normal;
 +
margin-left: 5px;
 +
text-decoration: none;
 +
left: 0px;
 +
top: 5px;
 +
right: 0px;
 +
bottom: 0px;
 +
}
 +
#kwick_1, #kwick_2, #kwick_3, #kwick_4, #kwick_5, #kwick_6, #kwick_7 {
-
    -moz-transform-origin: 0 0;
+
overflow: hidden;
-
    -ms-transform-origin: 0 0;
+
position: relative;
-
    -o-transform-origin: 0 0;
+
display: inline;
-
    -webkit-transform-origin: 0 0;
+
width: 50%;
-
    transform-origin: 0 0;
+
-
    -moz-transition: -moz-transform 0.2s linear;
 
-
    -ms-transition: -ms-transform 0.2s linear;
 
-
    -o-transition: -o-transform 0.2s linear;
 
-
    -webkit-transition: -webkit-transform 0.2s linear;
 
-
    transition: transform 0.2s linear;
 
-
    font-family: Tahoma, Geneva, sans-serif;
 
}
}
-
#nav li {
+
#kwick_1 {
-
    background: url('menu_line.png') no-repeat scroll right 5px transparent;
+
left: 0px;
-
    float: left;
+
border-width: 0px 0px 0px 0px;
-
    position: relative;
+
        border-right-color: black;
 +
        width: 498px;
 +
        background-color: crimson;
 +
 
 +
-webkit-border-radius: 10px;
 +
-khtml-border-radius: 10px;
 +
-moz-border-radius: 10px;
 +
border-radius: 10px;
}
}
-
#nav li a {
+
#kwick_2 {
-
    color: #000000;
+
 
-
    display: block;
+
background-color: coral;
-
    float: left;
+
width: 498px;
-
    font-weight: normal;
+
border-right-width:2.5px;
-
    height: 30px;
+
-webkit-border-radius: 10px;
-
    padding: 23px 20px 0px 20px;
+
-khtml-border-radius: 10px;
-
    position: relative;
+
-moz-border-radius: 10px;
-
    text-decoration: none;
+
border-radius: 10px;
-
    background-color: transparent;
+
-
    bottom: 0px;
+
-
    border-right: 0px solid #ffd791;
+
-
}
+
-
#nav li:hover > a {
+
-
    color: #333333;
+
-
    background-color: #ffffff; filter: alpha(opacity=50); opacity:0.5;
+
}
}
-
#nav li:hover, #nav a:focus, #nav a:hover, #nav a:active {
+
 
-
    background: none repeat scroll 0 0;
+
#kwick_1 li a {
-
    background-color: transparent;
+
background-position:0px 0px;
-
    outline: 0 none;
+
        border-width: 0px 0px 0px 0px;
 +
        border-right-color:  
}
}
-
#nav li:hover ul.subs {
 
-
    left: 0;
 
-
    top: 53px;
 
-
    width: 150px;
 
-
    background: #ffc25a;
 
-
    text-align: left;
 
-
    padding: 5px;
 
 +
#kwick_1 li a:hover {
 +
background-position:0px 0px;
 +
        border-width: 0px 0px 0px 0px;
 +
        border-right-color: black;
 +
}
 +
#kwick_2 li a, a:hover, a:active
 +
{
 +
border-left-color: black;
 +
}
-
    -moz-transform: scaleY(1);
+
.kwicks a:hover, .kwicks #active {
-
    -ms-transform: scaleY(1);
+
color: #ffffff;
-
    -o-transform: scaleY(1);
+
-
    -webkit-transform: scaleY(1);
+
-
    transform: scaleY(1);
+
}
}
-
#nav li:hover ul.subs li a
+
.kwicks li a:hover h3, .kwicks li #active h3 {
 +
color: #999999;
 +
}
 +
#kwick_2 a {
 +
background-position:0px -50px;
 +
}
 +
#kwick_3 a {
 +
background-position:0px -192px;
 +
}
 +
#kwick_4 a {
 +
background-position:0px -100px;
 +
}
 +
#kwick_5 a {
 +
background-position:0px -150px;
 +
}
 +
#kwick_6 a {
 +
background-position:0px -250px;
 +
}
 +
#kwick_7 a {
 +
background-position:0px -300px;
 +
}
 +
      p fade1 { position:inline;  }
 +
      ul fade2 { position:inline; 
 +
        font-size:36px; text-align:center;
 +
        color:yellow; background:red;
 +
        padding-top:25px;
 +
        top:0; left:0; display:none; }
 +
        span { display:none; }
 +
#labcontent
{
{
 +
-khtml-border-radius: 10px;
 +
-moz-border-radius: 10px;
 +
border-radius: 10px;
 +
-moz-box-shadow: 3px 3px 4px #000;
 +
-webkit-box-shadow: 3px 3px 4px #000;
 +
box-shadow: 3px 3px 4px #000;
 +
margin-bottom: 10px;
 +
        background-color: white;
 +
        margin-top: 350px;
 +
        width: 1000px;
 +
        height: auto;
 +
        margin-left: auto;
 +
        margin-right: auto;
 +
}
 +
 +
#labcontent h1, h2, h3, h4, h5
 +
{
 +
padding-top: 0px;
 +
padding-bottom:0px;
 +
padding-left: 10px;
 +
padding-right: 10px;
 +
margin-top:0px;
 +
margin-bottom: 0px;
 +
font-family: 'Signika', sans-serif;
 +
line-height: normal;
 +
}
 +
#notebookcontent
 +
{
 +
padding-left: 20px;
 +
padding-right: 20px;
 +
}
 +
#labcontent h1
 +
{
 +
font-size: 2em;
 +
color:grey;
padding-top: 5px;
padding-top: 5px;
-
padding-bottom: 5px;
 
-
height: auto;
 
-
  border-bottom: 1px solid #7F9DB0;
 
-
border-right: 0px;
 
}
}
-
#nav li:hover ul.subs li a:hover
+
#labcontent h2
{
{
-
background-color: #7F9DB0;
+
font-size: 1.1em;
-
opacity: 1.0;
+
color:black;
-
color: white;
+
margin-top: 0px;
 +
padding-top: 0px;
 +
font-family: 'Signika', sans-serif;
 +
padding-left: 30px;
 +
}
 +
#protocolcontent
 +
{
 +
display:none;
 +
}
 +
#NotebookTitle
 +
{
 +
background-color: MediumTurquoise;
 +
-webkit-border-radius: 10px 10px 0px 0px ;
 +
-khtml-border-radius: 10px 10px 0px 0px ;
 +
-moz-border-radius: 10px 10px 0px 0px ;
 +
border-radius: 10px 10px 0px 0px ;
 +
padding-left:  10px;
 +
margin-bottom: 0px;
 +
border-bottom: 0px;
 +
margin-top: -212px;
 +
}
 +
#NotebookTitle p
 +
{
 +
color:white;
 +
font-size: 2em;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
 +
text-decoration: bold;
}
}
-
#nav ul li {
+
 
-
    background: none;
+
hr{
-
    width: 100%;
+
margin:50px 0;
 +
color:#eee;
}
}
-
#nav ul li a {
+
 
-
    float: none;
+
ul li.active{ /*IE6 hack- hide gooey effect from that browser*/
 +
_visibility: hidden; /*IE6 rule*/
}
}
-
#nav ul li:hover > a {
+
 
-
    background-color: #cccccc;
+
/* ######### Gel Menu CSS ######### */
-
    color: #333333;
+
 
 +
ul.gelbuttonmenu{
 +
position:relative;
 +
padding: 0;
 +
margin: 0;
 +
margin-bottom:1em;
 +
text-align: center; //set value to "left", "center", or "right"*/
 +
z-index: 99;
}
}
 +
 +
ul.gelbuttonmenu li{
 +
display: inline;
 +
z-index: 99;
 +
}
 +
 +
ul.gelbuttonmenu li a{
 +
color: black;
 +
font-weight:bold;
 +
padding: 10px; /*make sure padding is sufficient that the height of the link is enough to fully show the gel button*/
 +
margin-right: 20px; /*spacing between each menu link*/
 +
text-decoration: none;
 +
z-index: 99;
 +
}
 +
 +
ul.gelbuttonmenu li.active{ /*style of LI that gets dynamically added to menu to create background effect*/
 +
position:absolute;
 +
width:0;
 +
background:lightblue;
 +
background:url('http://dl.dropbox.com/u/46807995/gelbuttonleft.gif') top left no-repeat, url('http://dl.dropbox.com/u/46807995/gelbuttonright.gif') top right no-repeat, url('http://dl.dropbox.com/u/46807995/gelbuttoncenter.gif') top center repeat-x;
 +
z-index: 99;
 +
}
 +
 +
 +
 +
 +
/* ######### Solid Block Menu CSS ######### */
 +
 +
 +
ul.solidblockmenu{
 +
margin: 0;
 +
margin-bottom:1em;
 +
padding: 0;
 +
list-style: none;
 +
position:relative;
 +
text-align: center; //set value to "left", "center", or "right"*/
 +
}
 +
 +
ul.solidblockmenu li{
 +
display: inline;
 +
}
 +
 +
ul.solidblockmenu li a{
 +
font: bold 14px Arial, Verdana, sans-serif;
 +
color: black;
 +
padding: 8px;
 +
margin-right: 20px; /*spacing between each menu link*/
 +
text-decoration: none;
 +
}
 +
 +
ul.solidblockmenu li.active{ /*style of LI that gets dynamically added to menu to create background effect*/
 +
position:absolute;
 +
width:0;
 +
border:1px solid black;
 +
-moz-border-radius: 4px;
 +
-webkit-border-radius: 4px;
 +
border-radius:4px;
 +
-moz-box-shadow: 2px 2px 4px rgba(120,120,120,0.7);
 +
-webkit-box-shadow: 2px 2px 4px rgba(120,120,120,0.7);
 +
box-shadow: 2px 2px 4px rgba(120,120,120,0.7);
 +
background:#d7ed93;
 +
background: -moz-linear-gradient(top, #d7ed93, #fff);
 +
background: -webkit-gradient(linear, center top, center bottom, from(#d7ed93), to(#fff));
 +
background: linear-gradient(top, #d7ed93, #fff);
 +
}
 +
 +
 +
 +
 +
/* ######### Thick Underline Menu CSS ######### */
 +
 +
 +
ul.underlinemenu{
 +
margin: 0;
 +
margin-bottom:1em;
 +
padding: 0;
 +
list-style: none;
 +
position:relative;
 +
text-align: center; //set value to "left", "center", or "right"*/
 +
}
 +
 +
ul.underlinemenu li{
 +
display: inline;
 +
}
 +
 +
ul.underlinemenu li a{
 +
font: bold 14px Arial, Verdana, sans-serif;
 +
color: black;
 +
padding: 8px;
 +
margin-right: 20px; /*spacing between each menu link*/
 +
text-decoration: none;
 +
}
 +
 +
 +
ul.underlinemenu li.active{ /*style of LI that gets dynamically added to menu to create background effect*/
 +
position:absolute;
 +
width:0;
 +
border-bottom:5px solid navy;
 +
}
 +
 +
 +
 +
 +
/* ######### Frame Menu CSS ######### */
 +
 +
 +
ul.framemenu{
 +
margin: 0;
 +
margin-bottom:1em;
 +
padding: 0;
 +
list-style: none;
 +
position:relative;
 +
text-align: center; //set value to "left", "center", or "right"*/
 +
}
 +
 +
ul.framemenu li{
 +
display: inline;
 +
}
 +
 +
ul.framemenu li a{
 +
font: bold 14px Arial, Verdana, sans-serif;
 +
color: black;
 +
padding: 12px 10px 5px 18px;
 +
margin-right: 10px; /*spacing between each menu link*/
 +
text-decoration: none;
 +
}
 +
 +
 +
ul.framemenu li.active{ /*style of LI that gets dynamically added to menu to create background effect*/
 +
position:absolute;
 +
width:0;
 +
border:4px solid orange;
 +
-moz-box-shadow: 0 0 4px rgba(120,120,120,0.7);
 +
-webkit-box-shadow: 0 0 4px rgba(120,120,120,0.7);
 +
box-shadow: 0 0 4px rgba(120,120,120,0.7);
 +
}
 +
#notebookmenu
 +
{
 +
height: 100px;
 +
z-index: 99;
 +
background-color:white;
 +
}
 +
#footer
 +
{
 +
width:1000px;
 +
background-color: transparent;
 +
}
 +
body
 +
{
 +
background-image: url('http://dl.dropbox.com/u/46807995/website%20background.png');
 +
z-index:-99;
 +
font-family: 'Signika', sans-serif;
 +
}
 +
 +
#menu { position: relative; top: 0; left: 0; overflow: hidden; height: 200px;}
 +
#menu .colourful { display: block; position: absolute; background: #f0ad22; height: 35px; width: 85px; top: 4px; left: -100px; }
 +
#menu ul { margin: 0; padding: 0; list-style: none; float: left; position: absolute; top: 0; left: 0; z-index: 1; }
 +
#menu li { float: left; }
 +
#menu a:link, #menu a:visited, #menu a:hover, #menu a:active { color: #000; text-align: center; display: block; border: solid; border-width: 4px 0 0; line-height: 40px; width: 85px; height: 35px; }
 +
#menu li a:hover { text-decoration: none; color: #fff; text-shadow: 0 0 1px #999; }
#globalWrapper
#globalWrapper
Line 145: Line 484:
}
}
#top-section { height: 20px; margin-bottom: 5; !important;
#top-section { height: 20px; margin-bottom: 5; !important;
-
  border: none; font-size: 12px; background-color:#9999ff;  
+
  border: none; font-size: 12px; background-color:#C5E2ED;  
-webkit-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
-khtml-border-radius: 10px;
Line 454: Line 793:
         width:1000px;
         width:1000px;
         opacity: 0.8;
         opacity: 0.8;
 +
        background-color: transparent;
Line 459: Line 799:
#teamtable
#teamtable
{
{
-
font-family:"Trebuchet MS", Helvetica, sans-serif;
+
font-family: 'Signika', sans-serif;
font-size:12px;
font-size:12px;
text-align: center;
text-align: center;
Line 465: Line 805:
border-spacing:20pt;
border-spacing:20pt;
border:0pt;
border:0pt;
 +
}
 +
#syntable
 +
{
 +
font-family: 'Signika', sans-serif;
 +
font-size:12px;
 +
background:none;
 +
border-spacing:0pt;
 +
border:0pt;
 +
}
 +
#syntdl
 +
{
 +
text-align:left;
 +
width:475px;
 +
}
 +
#syntdr
 +
{
 +
text-align:right;
 +
width:475px;
}
}
#teamtd, #teamth
#teamtd, #teamth
Line 513: Line 871:
   width: 40px;
   width: 40px;
   background-image: url('http://2012.igem.org/wiki/images/b/b6/Upbutton1.png');
   background-image: url('http://2012.igem.org/wiki/images/b/b6/Upbutton1.png');
 +
  display:none;
}
}
#contentmain
#contentmain
Line 523: Line 882:
float:left;
float:left;
margin-top: 50px;
margin-top: 50px;
 +
background-image: url('http://dl.dropbox.com/u/46807995/retina_wood.png');
 +
border-radius: 5px;
 +
padding: 5px;
}
}
#twitter_wrapper
#twitter_wrapper
Line 608: Line 970:
margin-left:auto;
margin-left:auto;
margin-right:auto;
margin-right:auto;
-
margin-top: 50px;
+
margin-top: 100px;
 +
opacity: 1.0;
 +
background-image: url('http://dl.dropbox.com/u/46807995/retina_wood.png');
 +
border-radius: 15px;
 +
padding: 10px;
 +
-moz-box-shadow: 3px 3px 4px #000;
 +
-webkit-box-shadow: 3px 3px 4px #000;
 +
box-shadow: 3px 3px 4px #000;
}
}
-
#menu1
+
#pagecontentcontainer
{
{
-
width:72px;
+
 
-
height: 0px;
+
opacity: 0.8;
-
background-image:url('http://dl.dropbox.com/u/46807995/protein1.png');
+
-
position:absolute;
+
-
color: transparent;
+
-
top: 53px;
+
-
left: 430px;  
+
}
}
#topbarcontainer
#topbarcontainer
Line 649: Line 1,013:
{
{
position:absolute; width:75px; right:0px; top:0px;
position:absolute; width:75px; right:0px; top:0px;
 +
}
 +
#seqbox
 +
{
 +
padding: 5px;
 +
font-family: "monospace";
 +
text-align: left;
 +
}
 +
.ca-container{
 +
position:relative;
 +
margin:25px auto 20px auto;
 +
width:990px;
 +
height:450px;
 +
}
 +
.ca-wrapper{
 +
width:100%;
 +
height:100%;
 +
position:relative;
 +
}
 +
.ca-item{
 +
position:relative;
 +
float:left;
 +
width:330px;
 +
height:100%;
 +
text-align:center;
 +
}
 +
.ca-more{
 +
position: absolute;
 +
bottom: 10px;
 +
right:0px;
 +
padding:4px 15px;
 +
font-weight:bold;
 +
background: #ccbda2;
 +
text-align:center;
 +
color: white;
 +
font-family: "Georgia","Times New Roman",serif;
 +
font-style:italic;
 +
text-shadow:1px 1px 1px #897c63;
 +
}
 +
.ca-close{
 +
position:absolute;
 +
top:10px;
 +
right:10px;
 +
background:#fff url(../images/cross.png) no-repeat center center;
 +
width:27px;
 +
height:27px;
 +
text-indent:-9000px;
 +
outline:none;
 +
-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
 +
-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
 +
box-shadow:1px 1px 2px rgba(0,0,0,0.2);
 +
opacity:0.7;
 +
}
 +
.ca-close:hover{
 +
opacity:1.0;
 +
}
 +
.ca-item-main{
 +
padding:20px;
 +
position:absolute;
 +
top:5px;
 +
left:5px;
 +
right:5px;
 +
bottom:5px;
 +
background:#fff;
 +
overflow:hidden;
 +
-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
 +
-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
 +
box-shadow:1px 1px 2px rgba(0,0,0,0.2);
 +
}
 +
.ca-icon{
 +
width:233px;
 +
height:189px;
 +
position:relative;
 +
margin:0 auto;
 +
background:transparent url(../images/animal1.png) no-repeat center center;
 +
}
 +
.ca-item-2 .ca-icon{
 +
background-image:url(../images/animal2.png);
 +
}
 +
.ca-item-3 .ca-icon{
 +
background-image:url(../images/animal3.png);
 +
}
 +
.ca-item-4 .ca-icon{
 +
background-image:url(../images/animal4.png);
 +
}
 +
.ca-item-5 .ca-icon{
 +
background-image:url(../images/animal5.png);
 +
}
 +
.ca-item-6 .ca-icon{
 +
background-image:url(../images/animal6.png);
 +
}
 +
.ca-item-7 .ca-icon{
 +
background-image:url(../images/animal7.png);
 +
}
 +
.ca-item-8 .ca-icon{
 +
background-image:url(../images/animal8.png);
 +
}
 +
.ca-item h3{
 +
font-family: 'Coustard', sans-serif;
 +
text-transform:uppercase;
 +
font-size:30px;
 +
color:#000;
 +
margin-bottom:20px;
 +
height:85px;
 +
text-align:center;
 +
text-shadow: 0px 1px 1px #e4ebe9;
 +
}
 +
.ca-item h4{
 +
font-family: "Georgia","Times New Roman",serif;
 +
font-style:italic;
 +
font-size:12px;
 +
text-align:left;
 +
border-left:10px solid #b0ccc6;
 +
padding-left:10px;
 +
line-height:24px;
 +
margin:10px;
 +
position:relative;
 +
}
 +
.ca-item h4 span{
 +
text-indent:40px;
 +
display:block;
 +
}
 +
.ca-item h4  span.ca-quote{
 +
color:#f4eee3;
 +
font-size:100px;
 +
position:absolute;
 +
top:20px;
 +
left:0px;
 +
text-indent:0px;
 +
}
 +
.ca-content-wrapper{
 +
background:#b0ccc6;
 +
position:absolute;
 +
width:0px; /* expands to width of the wrapper minus 1 element */
 +
height:440px;
 +
top:5px;
 +
text-align:left;
 +
z-index:10000;
 +
overflow:hidden;
 +
}
 +
.ca-content{
 +
width:660px;
 +
overflow:hidden;
 +
}
 +
.ca-content-text{
 +
font-size: 14px;
 +
font-style: italic;
 +
font-family: "Georgia","Times New Roman",serif;
 +
margin:10px 20px;
 +
padding:10px 20px;
 +
line-height:24px;
 +
}
 +
.ca-content-text p{
 +
padding-bottom:5px;
 +
}
 +
.ca-content h6{
 +
margin:25px 20px 0px 35px;
 +
font-size:32px;
 +
padding-bottom:5px;
 +
color:#000;
 +
font-family: 'Coustard', sans-serif;
 +
color:#60817a;
 +
border-bottom:2px solid #99bcb4;
 +
text-shadow: 1px 1px 1px #99BCB4;
 +
}
 +
.ca-content ul{
 +
margin:20px 35px;
 +
height:30px;
 +
}
 +
.ca-content ul li{
 +
float:left;
 +
margin:0px 2px;
 +
}
 +
.ca-content ul li a{
 +
color:#fff;
 +
background:#000;
 +
padding:3px 6px;
 +
font-size:14px;
 +
font-family: "Georgia","Times New Roman",serif;
 +
font-style:italic;
 +
}
 +
.ca-content ul li a:hover{
 +
background:#fff;
 +
color:#000;
 +
text-shadow:none;
 +
}
 +
.ca-nav span{
 +
width:25px;
 +
height:38px;
 +
background:transparent url(../images/arrows.png) no-repeat top left;
 +
position:absolute;
 +
top:50%;
 +
margin-top:-19px;
 +
left:-40px;
 +
text-indent:-9000px;
 +
opacity:0.7;
 +
cursor:pointer;
 +
z-index:100;
 +
}
 +
.ca-nav span.ca-nav-next{
 +
background-position:top right;
 +
left:auto;
 +
right:-40px;
 +
}
 +
.ca-nav span:hover{
 +
opacity:1.0;
 +
}
 +
.subs
 +
{
 +
background-color: #C5E2ED;
 +
margin: 40px 0px 0px 0px;
 +
 +
}
 +
.subs li
 +
{
 +
display: block;
 +
clear: both;
 +
margin: 5px 5px 5px 5px;
 +
}
 +
.subs {
 +
    background-color: #C5E2ED;
 +
    border:1px solid #222;
 +
    border-radius: 0 5px 5px 5px;
 +
    border-width: 0 1px 1px;
 +
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
 +
    left: auto;
 +
    overflow: hidden;
 +
    position: relative;
 +
    top: -9999px;
 +
    z-index: 2;
 +
    margin-top: 40px;
 +
    list-style: none outside none;
 +
    cursor: pointer;
 +
    padding: 5px;
 +
 +
    -moz-transform: scaleY(0);
 +
    -ms-transform: scaleY(0);
 +
    -o-transform: scaleY(0);
 +
    -webkit-transform: scaleY(0);
 +
    transform: scaleY(0);
 +
 +
    -moz-transform-origin: 0 0;
 +
    -ms-transform-origin: 0 0;
 +
    -o-transform-origin: 0 0;
 +
    -webkit-transform-origin: 0 0;
 +
    transform-origin: 0 0;
 +
 +
    -moz-transition: -moz-transform 0.1s linear;
 +
    -ms-transition: -ms-transform 0.1s linear;
 +
    -o-transition: -o-transform 0.1s linear;
 +
    -webkit-transition: -webkit-transform 0.1s linear;
 +
    transition: transform 0.1s linear;
 +
}
 +
.menulist li:hover ul.subs {
 +
    left: 0;
 +
    top: 53px;
 +
    width: 180px;
 +
 +
    -moz-transform: scaleY(1);
 +
    -ms-transform: scaleY(1);
 +
    -o-transform: scaleY(1);
 +
    -webkit-transform: scaleY(1);
 +
    transform: scaleY(1);
 +
}
 +
 +
.subs li
 +
{
 +
width: 170px;
 +
border: 0px black solid;
 +
border-bottom: 2px;
 +
}
 +
.subs li:hover
 +
{
 +
width: 170;
 +
background-image: url('http://dl.dropbox.com/u/46807995/menu2.png');
}
}
</style>
</style>
Line 657: Line 1,295:
<div id="topbar">
<div id="topbar">
<a href="http://2012.igem.org/Team:Queens_Canada">
<a href="http://2012.igem.org/Team:Queens_Canada">
-
<img src="http://2012.igem.org/wiki/images/9/96/Headerv2.png">
+
<img src="http://2012.igem.org/wiki/images/9/96/Headerv2.png" style="float:left">
</a>
</a>
<a id="qboxlink" href="http://www.queensu.ca/"></a>
<a id="qboxlink" href="http://www.queensu.ca/"></a>
<a id="iboxlink" href="http://2012.igem.org/Main_Page"></a>
<a id="iboxlink" href="http://2012.igem.org/Main_Page"></a>
-
<ul id="nav">
+
      <div id="menu">
-
<li id="test1" style="border-left: 1px solid #ffd791"><a href="http://2012.igem.org/Team:Queens_Canada">Home</a></li>
+
        <ul class="menulist">
-
<li><a href="http://2012.igem.org/Team:Queens_Canada/Team">Team</a></li>
+
       
-
        <li><a class="hsubs" href="#">Project</a>
+
<li class="menuitem1">
-
<ul class="subs">
+
            <a href="http://2012.igem.org/Team:Queens_Canada">Home </a>
-
<li><a href="#">Chimeric Flagella</a></li>
+
 
-
<li><a href="#">Ligation Method</a></li>
+
-
</ul>
+
</li>
</li>
-
<li><a class="hsubs" href="http://2012.igem.org/Team:Queens_Canada/Notebook">Notebook</a>
+
 
-
</li>
+
</li>
-
<li><a href="http://2012.igem.org/Team:Queens_Canada/SynthetiQ">SynthetiQ</a>
+
<li class="menuitem2">
-
<ul class="subs">
+
            <a href="http://2012.igem.org/Team:Queens_Canada/Team">Team</a>
-
        <li><a href="http://2012.igem.org/Team:Queens_Canada/SynthetiQ/DNA">DNA</a></li>
+
<div class="subs" style="margin: 40px 0px 0px 0px;">
-
        </ul>
+
 
 +
</div>
 +
          </li>
 +
<li class="menuitem">
 +
            <a href="http://2012.igem.org/Team:Queens_Canada/ChimeriQ">ChimeriQ</a>
 +
 
 +
<ul class="subs" style="margin: 40px 0px 0px 172px;">
 +
<li id="desc">
 +
Description
 +
</li>
 +
<li id="results">
 +
Results
 +
</li>
 +
<li id="parts">
 +
Parts
 +
</li>
 +
<li id="nblink">
 +
Notebook
 +
</li>
 +
</ul>
 +
          </li>
 +
<li class="menuitem">
 +
            <a href="http://2012.igem.org/Team:Queens_Canada/Guide/DNA">Guide</a>
 +
<ul class="subs" style="margin: 40px 0px 0px 257px;">
 +
<li id="Guide_DNA">
 +
DNA
 +
</li>
 +
<li id="Guide_mRNA">
 +
mRNA
 +
</li>
 +
<li id="Guide_Protein">
 +
Protein Structure
</li>
</li>
-
<li><a class="hsubs" href="#">Partners</a>
+
</ul>  
-
<ul class="subs">
+
          </li>
-
<li><a href="http://2012.igem.org/Team:Queens_Canada/Sponsors">Sponsors</a></li>
+
<li class="menuitem">
 +
            <a href="http://2012.igem.org/Team:Queens_Canada/SynthetiQ">SynthetiQ</a>
 +
<ul class="subs" style="margin: 40px 0px 0px 340px;">
 +
<li id="whowhy">Who and Why?</li>
 +
<li id="how">How?</li>
 +
<li id="dyphd">Dance Your PhD
 +
          </li>
</ul>
</ul>
 +
<li class="menuitem">
 +
            <a href="http://2012.igem.org/Team:Queens_Canada/Partners">Partners</a>
 +
<ul class="subs" style="margin: 40px 0px 0px 427px;">
 +
<li id="sponsors">
 +
Sponsors
</li>
</li>
-
<li style=""><a class="hsubs" href="#">Extras</a> </li>
+
<li id="collaborators">
-
<div id="lavalamp"></div>
+
Attributions
-
</ul>
+
</li>
 +
<li>
 +
</li>
 +
</ul>
 +
          </li>
 +
<li class="menuitem">
 +
            <a href="http://2012.igem.org/Team:Queens_Canada/Safety">Extras</a>
 +
<ul class="subs" style="margin: 40px 0px 0px 417px;">
 +
<li id="safety">
 +
Safety
 +
</li>
 +
<li id="Flight">
 +
Flight of the Flagellin
 +
</li>
 +
</ul>
 +
          </li>
 +
        </ul>
 +
      </div>
<div id="igemlogocontainer">
<div id="igemlogocontainer">
-
<a href="http://2012.igem.org/Main_Page"> <img src="http://2012.igem.org/wiki/images/e/e2/Igemlogo.png" width=75> </a>
+
<a class="menulink" href="http://2012.igem.org/Main_Page"> <img src="http://2012.igem.org/wiki/images/5/52/Igemlogo2.png" width=75> </a>
</div>
</div>
Line 697: Line 1,392:
</div>
</div>
-
<a href="#nav">
+
<a href="#topbarcontainer">
<div id="upbutton">
<div id="upbutton">
</div>
</div>
Line 704: Line 1,399:
Control
Control
</div>
</div>
-
<script type="text/javascript">
 
-
var startleft =$("#nav").offset().left;
 
-
var startleft2= parseInt(startleft) - 20;
 
-
$("#nav > li a").hover(function(){
 
-
var left = $(this).offset().left;
 
-
var length = $(this).width();
 
-
var newValue = parseInt(length) + 40;
 
-
 
-
    $("#menuselector").animate({ left: left, width: newValue } , {queue: false});
 
-
}, function() {
 
-
    $("#menuselector").animate({ left: startleft2 , width: "0px"}, {queue: false});
 
-
});
 
-
</script>
 
<script type="text/javascript">  
<script type="text/javascript">  
     var scrolltimer;
     var scrolltimer;
Line 744: Line 1,426:
         }, 100);
         }, 100);
     });
     });
 +
</script>
 +
<script>
 +
$('#desc').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/ChimeriQ';
 +
});
 +
$('#results').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/ChimeriQ/Results';
 +
});
 +
$('#parts').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/ChimeriQ/Parts';
 +
});
 +
$('#nblink').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/Notebook/Week1';
 +
});
 +
$('#sponsors').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/Partners';
 +
 +
});
 +
$('#collaborators').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/Attributions';
 +
});
 +
 +
$('#media').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/Media';
 +
});
 +
$('#safety').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/Safety';
 +
});
 +
$('#Guide_DNA').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/Guide/DNA';
 +
});
 +
$('#Guide_mRNA').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/Guide/mRNA';
 +
});
 +
$('#Guide_Protein').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/Guide/Protein_Structure';
 +
});
 +
$('#Flight').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/flight';
 +
});
 +
$('#whowhy').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/SynthetiQ/whowhy';
 +
});
 +
$('#how').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/SynthetiQ/how';
 +
});
 +
$('#dyphd').click(function(){
 +
  window.location = 'http://2012.igem.org/Team:Queens_Canada/SynthetiQ/dyphd';
 +
});
</script>
</script>
</html>
</html>

Latest revision as of 04:01, 27 October 2012

Control