Difference between revisions of "Team:NAIT Edmonton/Modeling"
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://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | ||
− | <script type="text/javascript" src="https://2015.igem.org/ | + | <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" | + | <script type="text/javascript" src="https://2015.igem.org/Team:NAIT_Edmonton/StickyMenu?action=raw&ctype=text/javascript"></script> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</head> | </head> | ||
Line 30: | 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 49: | 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 57: | 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 69: | 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 76: | Line 90: | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | |||
− | |||
− | |||
− | < | + | </ul> |
− | < | + | </div> |
− | + | </div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | </style> | |
+ | |||
+ | <div id="wrap"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<style type="text/css"> | <style type="text/css"> | ||
Line 133: | Line 118: | ||
<img src="https://static.igem.org/mediawiki/2015/4/46/NAIT_DNA_Animated.gif"> | <img src="https://static.igem.org/mediawiki/2015/4/46/NAIT_DNA_Animated.gif"> | ||
+ | |||
+ | </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 234: | Line 153: | ||
</ul> | </ul> | ||
</div> | </div> | ||
+ | <div class="clear"></div> | ||
</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: | + | .footer_content {margin:auto;width:100%;} |
− | .footer_left { float:left; padding:0 0 0 | + | .footer_left { float:left; padding:0 0 0 10%;} |
− | .footer_right{ float:right; padding:0 | + | .footer_right{ float:right; padding:0 10% 0 0;} |
ul.social_icons { margin:0px; padding:0px; list-style:none;} | ul.social_icons { margin:0px; padding:0px; list-style:none;} | ||
ul.social_icons li{ float:left;} | ul.social_icons li{ float:left;} | ||
Line 257: | Line 174: | ||
ul.footer_menu li{ float:left; padding:0 15px 0 0;} | ul.footer_menu li{ float:left; padding:0 15px 0 0;} | ||
ul.footer_menu li a{ background:url(https://static.igem.org/mediawiki/2015/1/17/NAIT_Bullet.png) no-repeat left; padding:0 0 0 12px;} | ul.footer_menu li a{ background:url(https://static.igem.org/mediawiki/2015/1/17/NAIT_Bullet.png) no-repeat left; padding:0 0 0 12px;} | ||
− | |||
− | |||
</style> | </style> | ||
− | |||
− | |||
+ | </body> | ||
</html> | </html> |
Revision as of 19:37, 11 August 2015
Under Construction!