Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
<html> | <html> | ||
− | |||
− | + | <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: Banaue; | |
− | + | src: url(Banaue_Regular.woff); | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .navbar { | |
− | . | + | font-family: 'Banaue', sans-serif !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> | </style> | ||
− | |||
− | |||
− | < | + | </head> |
+ | <body> | ||
− | <div class = " | + | <div class="navbar navbar-fixed-top"> |
+ | <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://lh3.googleusercontent.com/hXJ30T6a69bZZVfObZfnUJFBWRjhxBzR6wm9hWy1Va6aK_bBG-fFv2ZXmSC9C5JbERqPUyaTNYYt-5ACnKSl1kTDng4MpyLzh5KQp6fwrd2quZoe3I0Ihdl2VpVh1GQ5yzNxpZvlNaaGm2IYtsFq8WVdnOUL0P7mOgiCmuF2_28YvRvIFi_7hhKaX0VXzjCBM1mNXvb56MiCObKBhXz98B0AfBPvnmlQaqxpMslf8B2flPlDEowknGZzh2oBuAywwTI5hWn83cUZC_beeLpA18q5Fm-aF0Svon0fgmf2NJ2yaYR5wlJyJNt-3trKvL6SPBq3qknMO4gvvN_3xY6R0yyPaYHuTlHNmHGiuOhT0qwMoqM-fFOkWFxx7CLvyOq_CNDrPx1MBF_s-K8bGgC-cK6kU8WRP_WoXN1j1FR2paDIA7q-_bso6hYQyNfXs2JFG4OUEUfV34xguPIPHIkNalEYq0Qh1n5Pag3XZpY9IuCv1bNHWLM8omPbkYzzxjPAvwerKC938M4s2y_89KLrUwCagDojM7_7bsQOsABeGnJlr6hejOQo9m7JCagL64vuUhUVGJWqads8A6iQata5lzkrwgWRa26tbeFl5iu8i0cf_CIsetO9=w1366-h499-no" 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> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 03:38, 17 August 2017