|
|
Line 1: |
Line 1: |
− | <html>
| + | {{:Team:Sydney_Australia/Templates/NavBar}} |
− | | + | |
− | <head>
| + | |
− |
| + | |
− | <!-- External scripts -->
| + | |
− | | + | |
− | <script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
| + | |
− | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
| + | |
− | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
| + | |
− | | + | |
− | <!-- Functionallity and behaviour JS -->
| + | |
− | <script>
| + | |
− | $(document).ready(function(){
| + | |
− | | + | |
− | //Loading screen functionallity
| + | |
− | $('.loading').animate(
| + | |
− | {opacity:0},
| + | |
− | 500,
| + | |
− | function(){
| + | |
− | $('.loading').attr("style", "display:none");
| + | |
− | }
| + | |
− | );
| + | |
− | | + | |
− | //Height responsiveness
| + | |
− | $(window).resize(function() {
| + | |
− | wheight = $(window).height();
| + | |
− | $('.container').attr("style","height:"+(wheight)+"px;background-size:cover;");
| + | |
− | $('.team-member-container').attr("style","height:"+wheight/2.7+"px;");
| + | |
− | });
| + | |
− | | + | |
− | $(window).trigger('resize');
| + | |
− | | + | |
− | //Menu moveto container on item click functionallity
| + | |
− | $('.menu-item').on('click', function(){
| + | |
− | $('.menu-item').removeClass('subselected');
| + | |
− | $(this).addClass('subselected');
| + | |
− | if($(this).attr("data")=="#top"){
| + | |
− | $('html, body').animate({
| + | |
− | scrollTop: 0
| + | |
− | }, 1000);
| + | |
− | }else{
| + | |
− | $('html, body').animate({
| + | |
− | scrollTop: $($(this).attr("data")).offset().top-70
| + | |
− | }, 1000);
| + | |
− | }
| + | |
− | });
| + | |
− | | + | |
− | | + | |
− |
| + | |
− | </script>
| + | |
− | | + | |
− | <style>
| + | |
− | | + | |
− | #sideMenu, #top_title {display:none;}
| + | |
− | #content { padding:0px; width:90%; margin-top:-7px; margin-left:5%;, margin-right: 5%}
| + | |
− | body {background-color:white; }
| + | |
− | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
| + | |
− | | + | |
− | /* makes navbar in box with shadow */
| + | |
− | .navbar-fixed-top {
| + | |
− | filter: none !important;
| + | |
− | box-shadow: 0 2px 15px rgba(0,0,0,0.25);
| + | |
− | -moz-box-shadow: 0 2px 15px rgba(0,0,0,0.25);
| + | |
− | -webkit-box-shadow: 0 2px 15px rgba(0,0,0,0.25);
| + | |
− | border-bottom: 1px solid rgba(0,0,0,0.2);
| + | |
− | }
| + | |
− | | + | |
− | @font-face {
| + | |
− | font-family: 'banaueregular';
| + | |
− | src: url('https://static.igem.org/mediawiki/2017/b/b0/T--Sydney_Australia--Wiki_Font_Banaue-Regular.Media-File.ogg');
| + | |
− | font-weight: normal;
| + | |
− | font-style: normal;
| + | |
− | }
| + | |
− | | + | |
− | .navbar {
| + | |
− | font-family: 'banaueregular'!important;
| + | |
− | }
| + | |
− | .navbar-nav a {
| + | |
− | font-size: 22px;
| + | |
− | color: #3e403f!important;
| + | |
− | }
| + | |
− | ul.nav li.dropdown:hover ul.dropdown-menu {
| + | |
− | display: block;
| + | |
− | }
| + | |
− | | + | |
− | .logo {
| + | |
− | image-rendering: -moz-crisp-edges;
| + | |
− | image-rendering: -o-crisp-edges;
| + | |
− | image-rendering: -webkit-optimize-contrast;
| + | |
− | -ms-interpolation-mode: nearest-neighbor;
| + | |
− | }
| + | |
− | | + | |
− | </style>
| + | |
− | | + | |
− | | + | |
− | </head>
| + | |
− | | + | |
− | <body>
| + | |
− | | + | |
− | | + | |
− | <div class="navbar navbar-fixed-top" style="margin-top:15px">
| + | |
− | <nav class="navbar-inner">
| + | |
− |
| + | |
− | <div class="row-sm-height">
| + | |
− | | + | |
− | <!-- Logo-->
| + | |
− | <div class="col-sm-2"><a href="https://2017.igem.org/Team:Sydney_Australia"><img class="logo" src="https://static.igem.org/mediawiki/2017/f/f0/T--Sydney_Australia--Navigation_Bar_Logo.png" height="80" width="auto" ></a></div>
| + | |
− | | + | |
− | <div class="col-md-10" >
| + | |
− | <ul class="nav navbar-nav navbar-right" style="margin-top:10px">
| + | |
− | | + | |
− | <!--Team submenu-->
| + | |
− | <li> <a href="#" class="dropdown" data-toggle="dropdown"> Team<b class="caret"></b> </a>
| + | |
− | <ul class="dropdown-menu">
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Team">About Us </a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Attributions">Attributions </a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | <!-- Project Submenu-->
| + | |
− | <li><a href="#" class="dropdown" data-toggle="dropdown">Project<b class="caret"></b></a>
| + | |
− | <ul class="dropdown-menu" >
| + | |
− | <li><a href="https://2016.igem.org/Team:Sydney_Australia/ProjectHome">Project Home</a></li>
| + | |
− | <li class="divider"></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Description">Description</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Protocols">Protocols</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Safety">Safety</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Part_Improvement">Part Improvements</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Interlab">Interlab</a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | <!--Results Submenu-->
| + | |
− | <li><a href="#" class="dropdown" data-toggle="dropdown">Results<b class="caret"></b></a>
| + | |
− | <ul class="dropdown-menu" >
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Results">Results Home</a></li>
| + | |
− | <li class="divider"></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Raw_Data">Raw Data</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Discussion">Discussion</a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | <!-- Modelling Submenu-->
| + | |
− | <li><a href="#" class="dropdown" data-toggle="dropdown">Modelling<b class="caret"></b></a>
| + | |
− | <ul class="dropdown-menu" >
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Modelling">Modelling Home</a></li>
| + | |
− | <li class="divider"></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Biological_Modelling">Biological</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Experimental_Modelling">Experimental</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Economic_Modelling">Economic</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Software">Software</a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | <!-- Human Practices Submenu-->
| + | |
− | <li><a href="#" class="dropdown" data-toggle="dropdown"> Human Practices<b class="caret"></b></a>
| + | |
− | <ul class="dropdown-menu" >
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Human_Practices">Human Practices Home</a></li>
| + | |
− | <li class="divider"></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Integrated_Practices">Integrated Human Practices</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Outreach">Outreach</a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | <!-- Collaborations Submenu-->
| + | |
− | <li><a href="#" class="dropdown" data-toggle="dropdown"> Collaboration<b class="caret"></b></a>
| + | |
− | <ul class="dropdown-menu" >
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Collaboration">Collaboration Home</a></li>
| + | |
− | <li class="divider"></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Igem_Collaborations">iGEM Collaborations</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Australasian_Network">Australasian Network</a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | | + | |
− | <!-- Achievements Submenu-->
| + | |
− | <li><a href="#" class="dropdown" data-toggle="dropdown">Achievements<b class="caret"></b></a>
| + | |
− | <ul class="dropdown-menu">
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Achievements">Achievements Home</a></li>
| + | |
− | <li class="divider"></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Parts"> Parts</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:Sydney_Australia/Medals">Medals</a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | </ul>
| + | |
− | </div>
| + | |
− | </nav>
| + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | <html>
| + | |