Template:Team:Calgary/Main
From 2013.igem.org
(Difference between revisions)
(58 intermediate revisions not shown) | |||
Line 21: | Line 21: | ||
<!-- Fonts --> | <!-- Fonts --> | ||
- | + | <link href='http://fonts.googleapis.com/css?family=Raleway:400,500,600' rel='stylesheet' type='text/css'> | |
- | <link href='http://fonts.googleapis.com/css?family=Raleway:400 | + | <link href='http://fonts.googleapis.com/css?family=Antic+Slab' rel='stylesheet' type='text/css'> |
- | <link href='http://fonts.googleapis.com/css?family= | + | |
- | + | ||
<!-- CSS --> | <!-- CSS --> | ||
<link href="https://2013.igem.org/Team:Calgary/StyleSheets/Reset?action=raw&ctype=text/css" rel="stylesheet"> | <link href="https://2013.igem.org/Team:Calgary/StyleSheets/Reset?action=raw&ctype=text/css" rel="stylesheet"> | ||
<link href="https://2013.igem.org/Team:Calgary/StyleSheets/Navigation?action=raw&ctype=text/css" rel="stylesheet"> | <link href="https://2013.igem.org/Team:Calgary/StyleSheets/Navigation?action=raw&ctype=text/css" rel="stylesheet"> | ||
- | <link href="https://2013.igem.org/Team:Calgary/StyleSheets/ | + | <link href="https://2013.igem.org/Team:Calgary/StyleSheets/Content?action=raw&ctype=text/css" rel="stylesheet"> |
<!-- JavaScript and JQuery --> | <!-- JavaScript and JQuery --> | ||
<script> | <script> | ||
- | + | $(document).ready(function() { | |
- | + | $('a[href^="http://"]').not('[href*="Team:Calgary"]').attr('target', '_blank'); | |
- | + | $('a[href^="https://"]').not('[href*="Team:Calgary"]').attr('target', '_blank'); | |
- | $(' | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
if ($('body').width() > 868) { | if ($('body').width() > 868) { | ||
- | |||
$('#LogoItem').css('display', 'block'); | $('#LogoItem').css('display', 'block'); | ||
} | } | ||
else if ($('body').width() <= 868) { | else if ($('body').width() <= 868) { | ||
- | if ($('body').width() > | + | $('#LogoItem').css('display', 'none'); |
- | $('# | + | } |
+ | |||
+ | $(window).resize(function() { | ||
+ | if ($('body').width() > 868) { | ||
+ | $('#LogoItem').css('display', 'block'); | ||
+ | } | ||
+ | else if ($('body').width() <= 868) { | ||
$('#LogoItem').css('display', 'none'); | $('#LogoItem').css('display', 'none'); | ||
} | } | ||
- | } | + | }); |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | $('a[href^="#"]').click(function() { | |
- | + | var target = $(this.hash); | |
- | + | if (target.length == 0) target = $('a[name="' + this.hash.substr(1) + '"]'); | |
+ | if (target.length == 0) target = $('html'); | ||
+ | $('html, body').animate({ scrollTop: target.offset().top-100 }, 1000); | ||
+ | return false; | ||
+ | }); | ||
}); | }); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</script> | </script> | ||
</head> | </head> | ||
<body> | <body> | ||
- | <header id="TopBar"> | + | <section id="Page"> |
- | + | <header id="TopBar"> | |
- | + | <ul id="TopLvlNav"> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary">Home</a></li> | |
- | + | <li> | |
- | + | <a href="https://2013.igem.org/Team:Calgary/Project">Project</a> | |
- | + | <ul> | |
- | + | ||
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/OurSensor">Our Sensor</a> | |
- | + | <ul> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/OurSensor/Detector">Detector</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/OurSensor/Reporter">Reporter</a> | |
- | + | <ul> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/OurSensor/Reporter/PrussianBlueFerritin">Prussian<br>Blue Ferritin</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/OurSensor/Reporter/BetaLactamase">β-Lactamase</a></li> | |
- | + | </ul> | |
- | + | </li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/OurSensor/Linker">Linker</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/OurSensor/Modelling">Modelling</a> | |
- | + | <ul> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/OurSensor/Modelling/SpatialModelling">Spatial<br>Modelling</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/OurSensor/Modelling/QuantitativeModelling">Quantitative<br>Modelling</a></li> | |
- | + | </ul> | |
- | + | </li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/OurSensor/Prototype">Prototype</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/HumanPractices/Platform">Our Platform</a></li> | |
- | + | </ul> | |
- | + | </li> | |
- | + | ||
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/HumanPractices">Human Practices</a> | |
- | + | <ul> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/HumanPractices/InformedDesign">Informed<br>Design</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/HumanPractices/Safety">Safety</a></li> | |
- | + | </ul> | |
- | + | </li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/Collaboration">Collaboration</a> | |
- | + | <ul> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/Collaboration/BiosensorDatabase">SensiGEM<br>Database</a></li> | |
- | + | </ul> | |
- | + | </li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/DataPage">Data Page</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/Achievements">Achievements</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Project/PostRegionals">Final<br>System</a></li> | |
- | + | </ul> | |
- | + | </li> | |
- | + | <li> | |
- | + | <a href="https://2013.igem.org/Team:Calgary/OurTeam">Our Team</a> | |
- | + | <ul> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/OurTeam/TeamMembers">Team Members</a></li> | |
- | + | <li><a href="https://igem.org/Team.cgi?id=1189">Our Profile</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/OurTeam/TheUniversity">The<br>University</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/OurTeam/Attributions">Attributions</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/OurTeam/Sponsors">Sponsors</a></li> | |
- | + | </ul> | |
- | + | </li> | |
- | + | <li id="LogoItem"><img id="NavLogo" src="https://static.igem.org/mediawiki/2013/8/8a/2013UCalgaryLogo.png"></li> | |
- | + | <li> | |
- | + | <a href="https://2013.igem.org/Team:Calgary/Notebook">Notebook</a> | |
- | + | <ul> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Notebook/Journal">Journal</a> | |
- | + | <ul> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Notebook/Journal/Detector">Detector</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Notebook/Journal/Reporter">Reporter</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Notebook/Journal/Linker">Linker</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Notebook/Journal/Modelling">Modelling</a></li> | |
- | <li><a href="https://2013.igem.org/Team:Calgary | + | </ul> |
- | + | </li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Notebook/Protocols">Protocols</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Notebook/Parts">Parts</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Notebook/References">References</a></li> | |
- | + | </ul> | |
- | + | </li> | |
- | + | <li> | |
- | + | <a href="https://2013.igem.org/Team:Calgary/Outreach">Outreach</a> | |
- | + | <ul> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Outreach/TelusSpark">Telus<br>Spark</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Outreach/ConsortAlberta">Consort<br>Alberta</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Outreach/Beakerhead">Beakerhead</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Outreach/GenomeAlberta">Genome<br>Alberta</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:Calgary/Outreach/ScienceCafe">Science<br>Café</a></li> | |
- | + | </ul> | |
- | + | </li> | |
- | + | <li> | |
- | + | <a href="https://2013.igem.org">iGEM</a> | |
- | + | </li> | |
- | + | </ul> | |
- | + | </header> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 03:43, 29 October 2013