Difference between revisions of "Team:NAIT Edmonton/Practices"
Line 1: | Line 1: | ||
− | {{NAIT_Edmonton/ | + | {{NAIT_Edmonton/CSS3}} |
− | + | ||
<html> | <html> | ||
<head> | <head> | ||
+ | |||
+ | <title>Team NAIT 2015</title> | ||
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'> | <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'> | ||
+ | <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | ||
+ | <script type="text/javascript" src="https://2015.igem.org/Team:NAIT_Edmonton/jquery.flexslider-min?action=raw&ctype=text/javascript"></script> | ||
+ | |||
+ | |||
+ | <!-----------https://static.igem.org/mediawiki/2015/d/d8/El_Capitan_.ttf-------------------> | ||
+ | |||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | // grab the initial top offset of the navigation | ||
+ | var stickyNavTop = $('.nav').offset().top; | ||
+ | |||
+ | // our function that decides weather the navigation bar should have "fixed" css position or not. | ||
+ | var stickyNav = function(){ | ||
+ | var scrollTop = $(window).scrollTop(); // our current vertical position from the top | ||
+ | |||
+ | // if we've scrolled more than the navigation, change its position to fixed to stick to top, | ||
+ | // otherwise change it back to relative | ||
+ | if (scrollTop > stickyNavTop) { | ||
+ | $('.nav').addClass('sticky'); | ||
+ | } else { | ||
+ | $('.nav').removeClass('sticky'); | ||
+ | } | ||
+ | }; | ||
+ | |||
+ | stickyNav(); | ||
+ | // and run it again every time you scroll | ||
+ | $(window).scroll(function() { | ||
+ | stickyNav(); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript" src="https://2015.igem.org/Team:NAIT_Edmonton/StickyMenu?action=raw&ctype=text/javascript"></script> | ||
+ | |||
</head> | </head> | ||
Line 12: | Line 48: | ||
<body> | <body> | ||
+ | <div class="header"> | ||
+ | <center><a href="https://2015.igem.org/Team:NAIT_Edmonton"><img style="margin-top:10px;" src="https://static.igem.org/mediawiki/2015/c/c2/NAIT_Sample_Logo.png" height="75px"></a></center> | ||
+ | </div> | ||
+ | <div class="nav"> | ||
− | + | <div class="navigation"> | |
− | <div class=" | + | <ul> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<li><a href="https://2015.igem.org/Team:NAIT_Edmonton/Team">team</a> | <li><a href="https://2015.igem.org/Team:NAIT_Edmonton/Team">team</a> | ||
<ul> | <ul> | ||
Line 31: | Line 64: | ||
</ul> | </ul> | ||
</li> | </li> | ||
+ | |||
<li><a href="https://2015.igem.org/Team:NAIT_Edmonton/Project">project</a> | <li><a href="https://2015.igem.org/Team:NAIT_Edmonton/Project">project</a> | ||
<ul> | <ul> | ||
Line 39: | Line 73: | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<li><a href="https://2015.igem.org/Team:NAIT_Edmonton/Human">human practices</a> | <li><a href="https://2015.igem.org/Team:NAIT_Edmonton/Human">human practices</a> | ||
<ul> | <ul> | ||
Line 51: | Line 82: | ||
</ul> | </ul> | ||
</li> | </li> | ||
+ | |||
<li><a href="https://2015.igem.org/Team:NAIT_Edmonton/Notebook">notebook</a> | <li><a href="https://2015.igem.org/Team:NAIT_Edmonton/Notebook">notebook</a> | ||
<ul> | <ul> | ||
Line 58: | Line 90: | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | |||
− | |||
− | |||
− | < | + | </ul> |
− | < | + | </div> |
− | + | </div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | </style> | |
+ | |||
+ | <div id="wrap"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<style type="text/css"> | <style type="text/css"> | ||
Line 113: | Line 117: | ||
<h2> Please check back as we are continually updating our Team Wiki </h2> | <h2> Please check back as we are continually updating our Team Wiki </h2> | ||
− | < | + | |
− | + | </div> | |
− | + | ||
− | + | ||
+ | <div class="clear"></div> | ||
+ | |||
+ | |||
+ | </div> | ||
− | |||
− | + | </div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<div class="clear"></div> | <div class="clear"></div> | ||
+ | |||
− | + | <div class="footer"> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<div class="footer_content"> | <div class="footer_content"> | ||
<div class="footer_left"> | <div class="footer_left"> | ||
Line 214: | Line 153: | ||
</div> | </div> | ||
<div class="clear"></div> | <div class="clear"></div> | ||
− | + | </div> | |
− | </div> | + | </div> |
<style type="text/css"> | <style type="text/css"> | ||
#footer {z-index:15;} | #footer {z-index:15;} | ||
− | .footer { | + | .footer {padding:20px 0 40px 0; margin: 0px 0 0 0; clear:both; width:100%; background-color:#0D4D8C; height:25px;} |
.footer_content {margin:auto;width:100%;} | .footer_content {margin:auto;width:100%;} | ||
.footer_left { float:left; padding:0 0 0 10%;} | .footer_left { float:left; padding:0 0 0 10%;} | ||
Line 238: | Line 177: | ||
</style> | </style> | ||
− | |||
+ | |||
+ | </body> | ||
</html> | </html> |
Revision as of 19:38, 11 August 2015
Under Construction!