Template:Team:Calgary/Main Header

From 2011.igem.org

(Difference between revisions)
Line 2: Line 2:
<head>
<head>
 +
<!--jQuery and jQuery-UI additions-->
 +
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.15/jquery-ui.js"></script>
 +
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
 +
 +
<!--JQuery Easing Plugin-->
 +
<script type="text/javascript">
 +
/*
 +
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
 +
*
 +
* Uses the built in easing capabilities added In jQuery 1.1
 +
* to offer multiple easing options
 +
*
 +
* TERMS OF USE - jQuery Easing
 +
*
 +
* Open source under the BSD License.
 +
*
 +
* Copyright © 2008 George McGinley Smith
 +
* All rights reserved.
 +
*
 +
* Redistribution and use in source and binary forms, with or without modification,
 +
* are permitted provided that the following conditions are met:
 +
*
 +
* Redistributions of source code must retain the above copyright notice, this list of
 +
* conditions and the following disclaimer.
 +
* Redistributions in binary form must reproduce the above copyright notice, this list
 +
* of conditions and the following disclaimer in the documentation and/or other materials
 +
* provided with the distribution.
 +
*
 +
* Neither the name of the author nor the names of contributors may be used to endorse
 +
* or promote products derived from this software without specific prior written permission.
 +
*
 +
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
 +
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 +
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 +
*  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 +
*  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 +
*  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
 +
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 +
*  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 +
* OF THE POSSIBILITY OF SUCH DAMAGE.
 +
*
 +
*/
 +
 +
// t: current time, b: begInnIng value, c: change In value, d: duration
 +
jQuery.easing['jswing'] = jQuery.easing['swing'];
 +
 +
jQuery.extend( jQuery.easing,
 +
{
 +
def: 'easeOutQuad',
 +
swing: function (x, t, b, c, d) {
 +
//alert(jQuery.easing.default);
 +
return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
 +
},
 +
easeInQuad: function (x, t, b, c, d) {
 +
return c*(t/=d)*t + b;
 +
},
 +
easeOutQuad: function (x, t, b, c, d) {
 +
return -c *(t/=d)*(t-2) + b;
 +
},
 +
easeInOutQuad: function (x, t, b, c, d) {
 +
if ((t/=d/2) < 1) return c/2*t*t + b;
 +
return -c/2 * ((--t)*(t-2) - 1) + b;
 +
},
 +
easeInCubic: function (x, t, b, c, d) {
 +
return c*(t/=d)*t*t + b;
 +
},
 +
easeOutCubic: function (x, t, b, c, d) {
 +
return c*((t=t/d-1)*t*t + 1) + b;
 +
},
 +
easeInOutCubic: function (x, t, b, c, d) {
 +
if ((t/=d/2) < 1) return c/2*t*t*t + b;
 +
return c/2*((t-=2)*t*t + 2) + b;
 +
},
 +
easeInQuart: function (x, t, b, c, d) {
 +
return c*(t/=d)*t*t*t + b;
 +
},
 +
easeOutQuart: function (x, t, b, c, d) {
 +
return -c * ((t=t/d-1)*t*t*t - 1) + b;
 +
},
 +
easeInOutQuart: function (x, t, b, c, d) {
 +
if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
 +
return -c/2 * ((t-=2)*t*t*t - 2) + b;
 +
},
 +
easeInQuint: function (x, t, b, c, d) {
 +
return c*(t/=d)*t*t*t*t + b;
 +
},
 +
easeOutQuint: function (x, t, b, c, d) {
 +
return c*((t=t/d-1)*t*t*t*t + 1) + b;
 +
},
 +
easeInOutQuint: function (x, t, b, c, d) {
 +
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
 +
return c/2*((t-=2)*t*t*t*t + 2) + b;
 +
},
 +
easeInSine: function (x, t, b, c, d) {
 +
return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
 +
},
 +
easeOutSine: function (x, t, b, c, d) {
 +
return c * Math.sin(t/d * (Math.PI/2)) + b;
 +
},
 +
easeInOutSine: function (x, t, b, c, d) {
 +
return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
 +
},
 +
easeInExpo: function (x, t, b, c, d) {
 +
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
 +
},
 +
easeOutExpo: function (x, t, b, c, d) {
 +
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
 +
},
 +
easeInOutExpo: function (x, t, b, c, d) {
 +
if (t==0) return b;
 +
if (t==d) return b+c;
 +
if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
 +
return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
 +
},
 +
easeInCirc: function (x, t, b, c, d) {
 +
return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
 +
},
 +
easeOutCirc: function (x, t, b, c, d) {
 +
return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
 +
},
 +
easeInOutCirc: function (x, t, b, c, d) {
 +
if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
 +
return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
 +
},
 +
easeInElastic: function (x, t, b, c, d) {
 +
var s=1.70158;var p=0;var a=c;
 +
if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
 +
if (a < Math.abs(c)) { a=c; var s=p/4; }
 +
else var s = p/(2*Math.PI) * Math.asin (c/a);
 +
return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
 +
},
 +
easeOutElastic: function (x, t, b, c, d) {
 +
var s=1.70158;var p=0;var a=c;
 +
if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
 +
if (a < Math.abs(c)) { a=c; var s=p/4; }
 +
else var s = p/(2*Math.PI) * Math.asin (c/a);
 +
return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
 +
},
 +
easeInOutElastic: function (x, t, b, c, d) {
 +
var s=1.70158;var p=0;var a=c;
 +
if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
 +
if (a < Math.abs(c)) { a=c; var s=p/4; }
 +
else var s = p/(2*Math.PI) * Math.asin (c/a);
 +
if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
 +
return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
 +
},
 +
easeInBack: function (x, t, b, c, d, s) {
 +
if (s == undefined) s = 1.70158;
 +
return c*(t/=d)*t*((s+1)*t - s) + b;
 +
},
 +
easeOutBack: function (x, t, b, c, d, s) {
 +
if (s == undefined) s = 1.70158;
 +
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
 +
},
 +
easeInOutBack: function (x, t, b, c, d, s) {
 +
if (s == undefined) s = 1.70158;
 +
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
 +
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
 +
},
 +
easeInBounce: function (x, t, b, c, d) {
 +
return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
 +
},
 +
easeOutBounce: function (x, t, b, c, d) {
 +
if ((t/=d) < (1/2.75)) {
 +
return c*(7.5625*t*t) + b;
 +
} else if (t < (2/2.75)) {
 +
return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
 +
} else if (t < (2.5/2.75)) {
 +
return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
 +
} else {
 +
return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
 +
}
 +
},
 +
easeInOutBounce: function (x, t, b, c, d) {
 +
if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
 +
return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
 +
}
 +
});
 +
 +
/*
 +
*
 +
* TERMS OF USE - EASING EQUATIONS
 +
*
 +
* Open source under the BSD License.
 +
*
 +
* Copyright © 2001 Robert Penner
 +
* All rights reserved.
 +
*
 +
* Redistribution and use in source and binary forms, with or without modification,
 +
* are permitted provided that the following conditions are met:
 +
*
 +
* Redistributions of source code must retain the above copyright notice, this list of
 +
* conditions and the following disclaimer.
 +
* Redistributions in binary form must reproduce the above copyright notice, this list
 +
* of conditions and the following disclaimer in the documentation and/or other materials
 +
* provided with the distribution.
 +
*
 +
* Neither the name of the author nor the names of contributors may be used to endorse
 +
* or promote products derived from this software without specific prior written permission.
 +
*
 +
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
 +
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 +
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 +
*  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 +
*  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 +
*  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
 +
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 +
*  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 +
* OF THE POSSIBILITY OF SUCH DAMAGE.
 +
*
 +
*/
 +
</script>
 +
<!--Script to activate dropdown menu function. Uses JQuery syntax.-->
 +
<script type="text/javascript">
 +
$(document).ready(function () {
 +
$(‘.dropdown’).each(function () {
 +
$(this).parent().eq(0).hover(function () {
 +
$(‘.dropdown:eq(0)’, this).show();
 +
}, function () {
 +
$(‘.dropdown:eq(0)’, this).hide();
 +
});
 +
});
 +
});
 +
 +
</script>
 +
<!--Circle effects. jQuery custom functions make all of us happy. ^_^ -->
 +
<script type="text/javascript">
 +
$(document).ready(function(){
 +
 +
jQuery.fn.setcircle = function(){
 +
this.css({
 +
"display":"block",
 +
"position":"absolute",
 +
"margin-left":790,
 +
"margin-top":-250,
 +
});
 +
}
 +
 +
jQuery.fn.resetcircle = function(){
 +
this.hide();
 +
$('#home #circle0').show();
 +
$('#team #circle1').show();
 +
$('#project #circle2').show();
 +
$('#parts #circle3').show();
 +
$('#notebook #circle4').show();
 +
$('#outreach #circle5').show();
 +
$('#sponsors #circle6').show();
 +
}
 +
//homebutton set
 +
$('#homebutton').mouseover(function(){
 +
$('.headercircle').hide();
 +
$('#circle0').show();
 +
$('#circle0').setcircle();
 +
});
 +
$('#homebutton').mouseout(function(){
 +
$('#circle0').resetcircle();
 +
});
 +
 +
//teambutton set
 +
$('#teambutton').mouseover(function(){
 +
$('.headercircle').hide();
 +
$('#circle1').show();
 +
$('#circle1').setcircle();
 +
});
 +
$('#teambutton').mouseout(function(){
 +
$('#circle1').resetcircle();
 +
});
 +
 +
//projectbutton set
 +
$('#projectbutton').mouseover(function(){
 +
$('.headercircle').hide();
 +
$('#circle2').show();
 +
$('#circle2').setcircle();
 +
});
 +
$('#projectbutton').mouseout(function(){
 +
$('#circle2').resetcircle();
 +
});
 +
 +
//partsbutton set
 +
$('#partsbutton').mouseover(function(){
 +
$('.headercircle').hide();
 +
$('#circle3').show();
 +
$('#circle3').setcircle();
 +
});
 +
$('#partsbutton').mouseout(function(){
 +
$('#circle3').resetcircle();
 +
});
 +
 +
//notebookbutton set
 +
$('#notebookbutton').mouseover(function(){
 +
$('.headercircle').hide();
 +
$('#circle4').show();
 +
$('#circle4').setcircle();
 +
});
 +
$('#notebookbutton').mouseout(function(){
 +
$('#circle4').resetcircle();
 +
});
 +
 +
//outreachbutton set
 +
$('#outreachbutton').mouseover(function(){
 +
$('.headercircle').hide();
 +
$('#circle5').show();
 +
$('#circle5').setcircle();
 +
});
 +
$('#outreachbutton').mouseout(function(){
 +
$('#circle5').resetcircle();
 +
});
 +
 +
//sponsorsbutton set
 +
$('#sponsorsbutton').mouseover(function(){
 +
$('.headercircle').hide();
 +
$('#circle6').show();
 +
$('#circle6').setcircle();
 +
});
 +
$('#sponsorsbutton').mouseout(function(){
 +
$('#circle6').resetcircle();
 +
});
 +
 +
//igembutton set
 +
$('#igembutton').mouseover(function(){
 +
$('.headercircle').hide();
 +
$('#circle7').show();
 +
$('#circle7').setcircle();
 +
});
 +
$('#igembutton').mouseout(function(){
 +
$('#circle7').resetcircle();
 +
});
 +
});
 +
</script>
 +
 +
<style>
<style>
/***Master styling of text components, because we like consistency***/
/***Master styling of text components, because we like consistency***/
Line 16: Line 347:
}
}
 +
table tr{
 +
margin-top: 5px;
 +
margin-bottom: 5px;
 +
}
 +
 +
table td{
 +
margin-left: 5px;
 +
margin-right: 5px;
 +
}
/***End master styling***/
/***End master styling***/
 +
/***
/***
Line 98: Line 439:
/***Now for our own stuff: personalized header images and navbar***/
/***Now for our own stuff: personalized header images and navbar***/
 +
 +
#headercontainer{
 +
margin-left: 30px;
 +
}
#headerbar{
#headerbar{
-
margin-left: -5px;
+
width: 842px;
 +
height: 48px;
 +
background-image: url(https://static.igem.org/mediawiki/2011/e/ef/UCalgary_HeaderBarNew.png);
 +
position: absolute;
 +
margin-top: -25px;
}
}
/*div containing menu bar*/
/*div containing menu bar*/
ul#topnav{
ul#topnav{
-
margin: 0; padding: 0;
+
display: table;
-
float: left;
+
margin: 0;
-
width: 975px;
+
padding: 0;
-
height: 35px;
+
left: 15px;
 +
top: 15px;
list-style: none;
list-style: none;
position: relative;
position: relative;
-
font-size: 1.2em;
+
 
-
background-image: url(https://static.igem.org/mediawiki/2011/7/7b/UCalgary_NavRepeater.png);
+
-
background-repeat: repeat-x;
+
-
margin-top: -60px; /*moves the bar up into the header image*/
+
}
}
ul#topnav a.navtext{
ul#topnav a.navtext{
-
float: left;
+
position: relative;
display: block;
display: block;
-
height: 35px;
 
-
text-indent: -99999px;
 
background-position: left top;
background-position: left top;
 +
margin-right: 12px;
 +
margin-left: 12px;
}
}
ul#topnav li{
ul#topnav li{
-
float: left;
 
margin: 0;
margin: 0;
padding: 0;
padding: 0;
 +
list-style: none;
 +
display: table-cell;
 +
float: left;
 +
position: relative;
}
}
Line 138: Line 488:
}
}
-
ul#topnav li:hover{
+
ul#topnav li:hover, ul#topnav a:hover{
-
background-position: left bottom;
+
-
}
+
-
 
+
-
ul#topnav a:hover{
+
background-position: left bottom;
background-position: left bottom;
}
}
/*Subnavigation*/
/*Subnavigation*/
-
ul#topnav li ul{
+
ul.dropdown{
-
float: left;
+
margin: 0;
-
padding: 5px 0;
+
padding: 0;
 +
padding-bottom: 10px;
 +
padding-top: 7px;
 +
display: block;
position: absolute;
position: absolute;
-
left: -22px; top: 31px;
+
z-index: 999;
-
display: none; /*Default hidden*/
+
width: 250px;
-
width: 975px;
+
display: none;
-
background-image: url(https://static.igem.org/mediawiki/2011/6/69/UCalgary_SubNavRepeater.png);
+
left: 0;
-
background-repeat: repeat-x;
+
/*Background of subnav*/
-
color: black;
+
background-color: #00365E;
 +
opacity: 0.77;
 +
}
 +
 
 +
ul.dropdown li{
 +
margin: 0;
 +
padding: 0;
 +
width: 200px;
 +
float: none;
 +
position: relative;
list-style: none;
list-style: none;
 +
display: block;
}
}
 +
 +
ul.dropdown li a{
 +
display: block;
 +
}
 +
/*Establish sprites for each individual button*/
/*Establish sprites for each individual button*/
#homebutton a{
#homebutton a{
-
margin-left: 60px; /*to center the bar*/
+
background-image: url(https://static.igem.org/mediawiki/2011/1/1d/UCalgary_MenuHome.png);
-
background-image: url(https://static.igem.org/mediawiki/2011/2/21/UCalgary_ButtonHome.png);
+
width: 51px;
-
width: 112px;
+
height: 16px;
}
}
#teambutton a{
#teambutton a{
-
background-image: url(https://static.igem.org/mediawiki/2011/1/1e/UCalgary_ButtonTeam.png);
+
background-image: url(https://static.igem.org/mediawiki/2011/4/4f/UCalgary_MenuTeam.png);
-
width: 103px;
+
width: 48px;
 +
height: 16px;
 +
margin-bottom: 17px;
}
}
#projectbutton a{
#projectbutton a{
-
background-image: url(https://static.igem.org/mediawiki/2011/9/90/UCalgary_ButtonProject.png);
+
background-image: url(https://static.igem.org/mediawiki/2011/f/f0/UCalgary_MenuProject.png);
-
width: 118px;
+
width: 62px;
 +
height: 19px;
 +
margin-bottom: 14px;
}
}
#partsbutton a{
#partsbutton a{
-
background-image: url(https://static.igem.org/mediawiki/2011/c/c5/UCalgary_ButtonParts.png);
+
background-image: url(https://static.igem.org/mediawiki/2011/e/e4/UCalgary_MenuParts.png);
-
width: 100px;
+
width: 45px;
 +
height: 16px;
 +
margin-bottom: 17px;
}
}
#notebookbutton a{
#notebookbutton a{
-
background-image: url(https://static.igem.org/mediawiki/2011/e/eb/UCalgary_ButtonNotebook.png);
+
background-image: url(https://static.igem.org/mediawiki/2011/8/84/UCalgary_MenuNotebook.png);
-
width: 143px;
+
width: 84px;
 +
height: 16px;
 +
margin-bottom: 17px;
}
}
#outreachbutton a{
#outreachbutton a{
-
background-image: url(https://static.igem.org/mediawiki/2011/5/52/UCalgary_ButtonOutreach.png);
+
background-image: url(https://static.igem.org/mediawiki/2011/9/96/UCalgary_MenuOutreach.png);
-
width: 140px;
+
width: 80px;
 +
height: 17px;
 +
margin-bottom: 16px;
}
}
#sponsorsbutton a{
#sponsorsbutton a{
-
background-image: url(https://static.igem.org/mediawiki/2011/b/b3/UCalgary_ButtonSponsors.png);
+
background-image: url(https://static.igem.org/mediawiki/2011/5/51/UCalgary_MenuSponsors.png);
-
width: 138px;
+
width: 84px;
 +
height: 20px;
 +
margin-bottom: 13px;
 +
}
 +
 
 +
#igembutton a{
 +
background-image: url(https://static.igem.org/mediawiki/2011/4/49/UCalgary_MenuiGEM.png);
 +
width: 46px;
 +
height: 17px;
 +
margin-bottom: 16px;
 +
}
 +
 
 +
.navtext{
 +
text-indent: -99999px; /*Shoots all HTML text buttons off the page*/
}
}
-
/*Correction of subnavigation menu backgrounds*/
+
/*Adjusting the subnavigation menu*/
ul#topnav li#teambutton ul li a,
ul#topnav li#teambutton ul li a,
ul#topnav li#projectbutton ul li a,
ul#topnav li#projectbutton ul li a,
Line 206: Line 593:
height: 35px;
height: 35px;
background-image: none;
background-image: none;
-
color: #3c3d3d;
 
font-family: Arial;
font-family: Arial;
-
font-size: 1.1em;
+
font-size: 17px;
-
font-weight: 300;
+
font-weight: 400;
}
}
Line 227: Line 613:
ul#topnav li ul li a:hover{
ul#topnav li ul li a:hover{
-
text-decoration: underline;
+
color: #49f0ff;
}
}
Line 241: Line 627:
}
}
-
/*Active subnav showing*/
+
/*Hide all circles*/
-
#team li#teambutton ul,
+
img.headercircle{
-
#project li#projectbutton ul,
+
display: none;
-
#parts li#partsbutton ul,
+
}
-
#notebook li#notebookbutton ul,
+
 
-
#outreach li#outreachbutton ul,
+
/*Active circle showing*/
-
#sponsors li#sponsorsbutton ul{
+
#home #circle0,
 +
#team #circle1,
 +
#project #circle2,
 +
#parts #circle3,
 +
#notebook #circle4,
 +
#outreach #circle5,
 +
#sponsors #circle6{
display: block;
display: block;
 +
position: absolute;
 +
margin-left: 790px;
 +
margin-top: -250px;
}
}
/***End menu stuff. Onto the rest of the header!***/
/***End menu stuff. Onto the rest of the header!***/
 +
 +
.firstHeading{
 +
text-indent: -99999px;
 +
}
#headbanner{
#headbanner{
-
margin-left: -5px;
+
-
margin-top: -38px;
+
}
}
Line 270: Line 668:
}
}
-
#backhome{
 
-
color: #07304f;
 
-
font-family: Arial;
 
-
font-size: 1em;
 
-
position: absolute;
 
-
margin-left: 755px;
 
-
margin-top: -190px;
 
-
}
 
-
 
-
#backhome:hover{
 
-
text-decoration: none;
 
-
}
 
/*...Not much, was there.*/
/*...Not much, was there.*/
Line 292: Line 678:
<body id="</html>{{{1}}}<html>">
<body id="</html>{{{1}}}<html>">
-
<a href="https://2011.igem.org/Team:Calgary"><img id="headbanner" src="https://static.igem.org/mediawiki/2011/2/25/UCalgary_HeaderImage.png"></img></a>
+
<div id="headercontainer">
-
<a href="https://www.facebook.com/pages/Calgary-iGEM/215971681759173"><img id="fb-button" src="https://static.igem.org/mediawiki/2011/d/d8/UCalgary_FacebookF.png"></img></a>
+
-
<a href="http://www.twitter.com/iGEMCalgary"><img id="twitter-button" src="https://static.igem.org/mediawiki/2011/4/4e/UCalgary_TwitterT.png"></img></a>
+
-
<a id="backhome" href="https://2011.igem.org"><img src="https://static.igem.org/mediawiki/2011/b/b3/UCalgary_IGEM_official_logo.png"></img></a>
+
-
 
+
-
 
+
<div id="headerbar">
<div id="headerbar">
<ul id="topnav">
<ul id="topnav">
Line 303: Line 684:
<li id="teambutton">
<li id="teambutton">
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Team">Team</a>
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Team">Team</a>
-
<ul>
+
<ul class="dropdown">
-
<li><a href="https://2011.igem.org/Team:Calgary/Team/Biographies">Biographies</a> | </li>
+
<li><a href="https://2011.igem.org/Team:Calgary/Team/Biographies">Biographies</a></li>
-
<li><a href="https://2011.igem.org/Team:Calgary/Team/Facilitators">Facilitators</a> | </li>
+
<li><a href="https://2011.igem.org/Team:Calgary/Team/Facilitators">Facilitators</a></li>
-
<li><a href="#">The University</a> | </li>
+
<li><a href="https://2011.igem.org/Team:Calgary/Team/About_The_University">The University</a></li>
-
<li><a href="https://igem.org/Team.cgi?id=640">Official Profile</a> | </li>
+
<li><a href="http://ung.igem.org/Team.cgi?id=640">Official Profile</a></li>
</ul>
</ul>
</li>
</li>
<li id="projectbutton">
<li id="projectbutton">
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Project">Project</a>
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Project">Project</a>
-
<ul>
+
<ul class="dropdown">
-
<li><a href="#">Overview</a> | </li>
+
<li><a href="#">Overview</a></li>
-
<li><a href="#">Project Pseudomonas</a> | </li>
+
<li><a href="#">Project Pseudomonas</a></li>
-
<li><a href="#">Project Electro</a> | </li>
+
<li><a href="#">Project Electro</a></li>
-
<li><a href="#">Project Algae</a> | </li>
+
<li><a href="#">Project Algae</a></li>
-
<li><a href="#">Software Tools</a> | </li>
+
<li><a href="#">Software Tools</a></li>
-
<li><a href="#">Future Directions</a> | </li>
+
<li><a href="#">Future Directions</a></li>
</ul>
</ul>
</li>
</li>
<li id="partsbutton">
<li id="partsbutton">
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Parts">Parts</a>
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Parts">Parts</a>
-
<ul>
+
<ul class="dropdown">
-
<li><a href="#">Parts Submitted</a> | </li>
+
<li><a href="#">Parts Submitted</a></li>
-
<li><a href="#">Characterization</a> | </li>
+
<li><a href="#">Characterization</a></li>
</ul>
</ul>
</li>
</li>
<li id="notebookbutton">
<li id="notebookbutton">
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Notebook">Notebook</a>
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Notebook">Notebook</a>
-
<ul>
+
<ul class="dropdown">
-
<li><a href="#">Calendar</a> | </li>
+
<li><a href="#">Calendar</a></li>
-
<li><a href="#">Protocols</a> | </li>
+
<li><a href="#">Protocols</a></li>
-
<li><a href="https://2011.igem.org/Team:Calgary/Safety">Safety</a> | </li>
+
<li><a href="https://2011.igem.org/Team:Calgary/Safety">Safety</a></li>
</ul>
</ul>
</li>
</li>
<li id="outreachbutton">
<li id="outreachbutton">
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Outreach">Outreach</a>
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Outreach">Outreach</a>
-
<ul>
+
<ul class="dropdown">
-
<li><a href="#">Human Practices</a> | </li>
+
<li><a href="#">Human Practices</a></li>
-
<li><a href="#">Conferences</a> | </li>
+
<li><a href="#">Conferences</a></li>
-
<li><a href="#">Forum</a> | </li>
+
<li><a href="#">Forum</a></li>
-
<li><a href="#">Follow Us!</a> | </li>
+
<li><a href="#">Follow Us!</a></li>
</ul>
</ul>
</li>
</li>
<li id="sponsorsbutton">
<li id="sponsorsbutton">
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Sponsors">Sponsors</a>
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Sponsors">Sponsors</a>
-
<ul>
+
<ul class="dropdown">
-
<li><a href="#">Sponsors</a> | </li>
+
<li><a href="https://2011.igem.org/Team:Calgary/Sponsors">Sponsors</a></li>
-
<li><a href="#">Acknowledgements</a> | </li>
+
<li><a href="https://2011.igem.org/Team:Calgary/Acknowledgements">Acknowledgements</a></li>
</ul>
</ul>
 +
</li>
 +
<li id="igembutton">
 +
<a class="navtext" href="https://2011.igem.org">iGEM</a>
</li>
</li>
</ul>
</ul>
 +
</div>
 +
<a href="https://2011.igem.org/Team:Calgary"><img id="headbanner" src="https://static.igem.org/mediawiki/2011/1/1c/UCalgary_HeaderImage2.png"></img></a>
 +
 +
<!--Circles-->
 +
<img class="headercircle" id="circle0" src="https://static.igem.org/mediawiki/2011/c/c1/UCalgary_CircleHome.png"></img>
 +
<img class="headercircle" id="circle1" src="https://static.igem.org/mediawiki/2011/d/d4/UCalgary_CircleTeam.png"></img>
 +
<img class="headercircle" id="circle2" src="https://static.igem.org/mediawiki/2011/7/7d/UCalgary_CircleProject.png"></img>
 +
<img class="headercircle" id="circle3" src="https://static.igem.org/mediawiki/2011/8/8d/UCalgary_CircleParts.png"></img>
 +
<img class="headercircle" id="circle4" src="https://static.igem.org/mediawiki/2011/0/03/UCalgary_CircleNotebook.png"></img>
 +
<img class="headercircle" id="circle5" src="https://static.igem.org/mediawiki/2011/8/84/UCalgary_CircleOutreach.png"></img>
 +
<img class="headercircle" id="circle6" src="https://static.igem.org/mediawiki/2011/3/3c/UCalgary_CircleSponsors.png"></img>
 +
<img class="headercircle" id="circle7" src="https://static.igem.org/mediawiki/2011/8/85/UCalgary_CircleiGEM.png"></img>
</div>
</div>
</body>
</body>
</html>
</html>

Revision as of 18:22, 7 September 2011