(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
+ | </div> | ||
+ | <head> | ||
− | |||
<link href="https://2017.igem.org/Team:UNOTT/Bootstrap?action=raw&ctype=text/css" rel="stylesheet"> | <link href="https://2017.igem.org/Team:UNOTT/Bootstrap?action=raw&ctype=text/css" rel="stylesheet"> | ||
− | <link href="https://2017.igem.org/Team:UNOTT/ | + | <link href="https://2017.igem.org/Team:UNOTT/CSSTest?action=raw&ctype=text/css" rel="stylesheet"> |
− | + | ||
− | + | ||
+ | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
+ | |||
+ | |||
+ | |||
+ | <style> | ||
+ | |||
+ | /********************************* DEFAULT WIKI SETTINGS ********************************/ | ||
+ | |||
+ | #sideMenu, | ||
+ | #top_title { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #content { | ||
+ | padding: 0px; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | background-color: white; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | #bodyContent h1, | ||
+ | #bodyContent h2, | ||
+ | #bodyContent h3, | ||
+ | #bodyContent h4, | ||
+ | #bodyContent h5 { | ||
+ | margin-bottom: 0px; | ||
+ | } | ||
+ | |||
+ | #bodyContent { | ||
+ | padding-right: 0px; | ||
+ | } | ||
+ | |||
+ | #globalWrapper { | ||
+ | font-size: 100%; | ||
+ | padding: 0px; | ||
+ | margin: -10px -20px -20px -20px; | ||
+ | } | ||
+ | |||
+ | .navbar-collapse { | ||
+ | padding-left: 0px; | ||
+ | } | ||
+ | |||
+ | #banner { | ||
+ | margin-top: 10%; | ||
+ | } | ||
+ | |||
+ | #sideMenu { | ||
+ | margin-top: 10px; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /********************************* RESPONSIVE STYLING ********************************/ | ||
+ | |||
+ | |||
+ | /* IF THE SCREEN IS LESS THAN 4000PX */ | ||
+ | |||
+ | @media only screen and (max-width: 1000px) { | ||
+ | #content { | ||
+ | width: 100%; | ||
+ | } | ||
+ | .menu_wrapper { | ||
+ | width: 15%; | ||
+ | } | ||
+ | .content_wrapper { | ||
+ | margin-left: 15%; | ||
+ | } | ||
+ | .menu_item { | ||
+ | display: block; | ||
+ | } | ||
+ | .icon { | ||
+ | display: none; | ||
+ | } | ||
+ | .highlight { | ||
+ | padding: 10px 0px; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | /* IF THE SCREEN IS LESS THAN 680PX */ | ||
+ | |||
+ | @media only screen and (max-width: 680px) { | ||
+ | .collapsable_menu_control { | ||
+ | display: block; | ||
+ | } | ||
+ | .menu_item { | ||
+ | display: none; | ||
+ | } | ||
+ | .menu_wrapper { | ||
+ | width: 100%; | ||
+ | height: 15%; | ||
+ | position: relative; | ||
+ | } | ||
+ | .content_wrapper { | ||
+ | width: 100%; | ||
+ | margin-left: 0px; | ||
+ | } | ||
+ | .column.half_size { | ||
+ | width: 100%; | ||
+ | } | ||
+ | .column img { | ||
+ | width: 100%; | ||
+ | padding: 5px 0px; | ||
+ | } | ||
+ | .icon { | ||
+ | display: block; | ||
+ | } | ||
+ | .highlight { | ||
+ | padding: 15px 5px; | ||
+ | } | ||
+ | } | ||
+ | .navbar { | ||
+ | height: 10%; | ||
+ | width: 100%; | ||
+ | color: #006633; | ||
+ | background: #ffff; | ||
+ | font-family: 'Karla'; | ||
+ | text-transform:uppercase; | ||
+ | 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); | ||
+ | |||
+ | } | ||
+ | |||
+ | .navbar-default { | ||
+ | background-color: #ffffff; | ||
+ | border-color: rgba(255, 255, 255, 0.3); | ||
+ | font-family: 'Karla', sans-serif; | ||
+ | font-weight: 300; | ||
+ | color: #005480 | ||
+ | -webkit-transition: all 0.35s; | ||
+ | -moz-transition: all 0.35s; | ||
+ | transition: all 0.35s; | ||
+ | margin : 0 !important; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | .navbar-default .navbar-header .navbar-brand { | ||
+ | color: #white; | ||
+ | font-family: 'Karla', sans-serif; | ||
+ | font-weight: none; | ||
+ | font-size: 1.5em; | ||
+ | display: inline-block; | ||
+ | background: #ffffff | ||
+ | } | ||
+ | .navbar-default .navbar-header .navbar-toggle { | ||
+ | font-family: 'Helvetica', sans-serif; | ||
+ | font-weight: 400; bold; | ||
+ | font-size: 1.5em; | ||
+ | color: #005480; | ||
+ | text-transform: uppercase; | ||
+ | } | ||
+ | |||
+ | /* FONT & NAVBAR MAIN LINK COLOUR INACTIVE*/ | ||
+ | .navbar-default .nav > li > a, | ||
+ | .navbar-default .nav > li > a:focus { | ||
+ | text-transform: uppercase; | ||
+ | font-family: 'Karla', sans-serif; | ||
+ | font-weight: bold; | ||
+ | font-size: 1.5em; | ||
+ | color: #96A296; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*Navbar background colour */ | ||
+ | .navbar-default .navbar-nav > li > a:hover, | ||
+ | .navbar-default .navbar-nav > li > a:focus { | ||
+ | background-color: #; | ||
+ | color: #005480; | ||
+ | } | ||
+ | |||
+ | |||
+ | .navbar-default .nav > li.active > a, | ||
+ | .navbar-default .nav > li.active > a:focus { | ||
+ | color: #005480 !important; | ||
+ | background-color: #02236ee; | ||
+ | } | ||
+ | |||
+ | .navbar-default .nav > li.active > a:hover, | ||
+ | .navbar-default .nav > li.active > a:focus:hover { | ||
+ | background-color: #005480; | ||
+ | border-left-color: #005480; border-top-color: #005480; | ||
+ | color: #005480 | ||
+ | } | ||
+ | |||
+ | |||
+ | .navbar-default .navbar-toggle { | ||
+ | border: none; | ||
+ | } | ||
+ | /*dropdown menu colours*/ | ||
+ | |||
+ | /* DROP MENU CLICK BG */ | ||
+ | .navbar-default .dropdown-menu > li > a:focus { | ||
+ | background-color: #02263E; | ||
+ | color: #FFFFFF; | ||
+ | } | ||
+ | |||
+ | .navbar-default .dropdown-menu { | ||
+ | border: none; | ||
+ | outline: none; | ||
+ | font-family: 'Karla', sans-serif; | ||
+ | text-transform: uppercase; | ||
+ | font-weight: bold; | ||
+ | font-size: 1.5em !important; | ||
+ | color: #02263E; | ||
+ | } | ||
+ | |||
+ | /* NAVBAR DROPDOWN TEXT COLOUR */ | ||
+ | .navbar-default li a { | ||
+ | color: #black; | ||
+ | } | ||
+ | |||
+ | |||
+ | .navbar-default > li.dropdown.active.open > a, | ||
+ | .navbar-default > li.dropdown.active.open > ul.dropdown-menu a:hover, | ||
+ | .navbar-default > li.dropdown.open > a, | ||
+ | .navbar-default> li.dropdown.open > ul.dropdown-menu a:hover | ||
+ | { | ||
+ | color: #fff; | ||
+ | background-color: #02263ee; | ||
+ | border-color: #fff; | ||
+ | } | ||
+ | |||
+ | .dropdown-toggle ul a { | ||
+ | color: #005480 | ||
+ | } | ||
+ | |||
+ | .dropdown-menu li:hover .sub-menu { | ||
+ | visibility: visible; | ||
+ | } | ||
+ | |||
+ | .dropdown:hover .dropdown-menu { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .navbar-nav .dropdown-menu, | ||
+ | .navbar .dropdown-menu { | ||
+ | margin-top: 0; | ||
+ | } | ||
+ | |||
+ | /* Media Styles | ||
+ | ===================================*/ | ||
+ | @media (min-width: 480px) { | ||
+ | body { | ||
+ | font-size: 1em; | ||
+ | } | ||
+ | } | ||
+ | @media (min-width: 768px) { | ||
+ | .section-one-content { | ||
+ | padding: 40px 40px; | ||
+ | } | ||
+ | } | ||
+ | @media (min-width: 992px) { | ||
+ | .section-one-content { | ||
+ | padding: 40px 20px; | ||
+ | } | ||
+ | } | ||
+ | @media (min-width: 1200px) { | ||
+ | .section-one-content { | ||
+ | padding: 40px 40px; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </style> | ||
+ | |||
+ | <script> | ||
+ | |||
+ | // This is the jquery part of your template. Try not modify any of this code since it makes your menu work. | ||
+ | |||
+ | $(document).ready(function() { | ||
+ | |||
+ | $("#HQ_page").attr('id',''); | ||
+ | |||
+ | |||
+ | if ( wgPageName.substring( 0, 8) == "Template") { // if the page is a template it displays the full name in a single line | ||
+ | $("#team_name").html( wgPageName ); | ||
+ | } | ||
+ | |||
+ | else if ( ( (wgPageName.match(/\//g) || []).length ) == 0 ) { // if it is the home page , just print the team's name | ||
+ | $("#team_name").html( wgPageName.substring( 5, wgPageName.length ) ); | ||
+ | } | ||
+ | |||
+ | else { | ||
+ | // this adds the team's name as an h1 | ||
+ | $("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/") ) ); | ||
+ | |||
+ | // this adds the page's title as an h4 | ||
+ | $("#page_name").html ( ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ") ); | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | $('#accordion').find('.menu_item').click(function(){ | ||
+ | |||
+ | //Expand or collapse this panel | ||
+ | submenu = $(this).find('.submenu'); | ||
+ | submenu.toggle(); | ||
+ | |||
+ | icon = $(this).find('.icon'); | ||
+ | |||
+ | if ( !$( submenu ).is(':visible') ) { | ||
+ | icon.removeClass("less").addClass("plus"); | ||
+ | } | ||
+ | else { | ||
+ | icon.removeClass("plus").addClass("less"); | ||
+ | } | ||
+ | |||
+ | //Hide the other panels | ||
+ | $(".submenu").not(submenu).hide(); | ||
+ | $(".icon").not(icon).removeClass("less").addClass("plus"); | ||
+ | }); | ||
+ | |||
+ | |||
+ | $(".collapsable_menu_control").click(function() { | ||
+ | $(".menu_item").toggle(); | ||
+ | }); | ||
+ | |||
+ | $( window ).resize(function() { | ||
+ | $(".menu_item").show(); | ||
+ | }); | ||
+ | |||
+ | |||
+ | }); | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </script> | ||
+ | </head> | ||
Line 14: | Line 355: | ||
<div class="container-fluid"> | <div class="container-fluid"> | ||
<div class="navbar-header"> | <div class="navbar-header"> | ||
− | |||
− | |||
</div> | </div> | ||
− | <div class="navbar-header" style="padding-top: | + | <div class="navbar-header" style="padding-top: 5px; padding-left: 15px;"> |
− | + | <a class="navbar-logo" href="https://2017.igem.org/Team:UNOTT"> | |
− | + | <image class="img-responsive" src="https://static.igem.org/mediawiki/2017/6/61/T--UNOTT--UniofNottNavbarLogo.png" height="10%" width="10%"> | |
</a> | </a> | ||
</div> | </div> | ||
<div id="navbar" class="navbar-collapse collapse"> | <div id="navbar" class="navbar-collapse collapse"> | ||
− | + | <ul class="nav navbar-nav navbar-right"> | |
+ | <li class="dropdown"> | ||
+ | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UNOTT/Description" data-toggle="dropdown">PROJECT<b class="caret"></b></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="https://2017.igem.org/Team:UNOTT/Description">Description</a></li> | ||
+ | <li><a href="https://2017.igem.org/Team:UNOTT/Design">Design</a></li> | ||
+ | |||
+ | <li><a href="https://2017.igem.org/Team:UNOTT/Proof">Proof</a></li> | ||
+ | <li><a href="https://2017.igem.org/Team:UNOTT/Medal_Criteria">Medal Criteria</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | |||
<li class="dropdown"> | <li class="dropdown"> | ||
− | <a | + | <a href="https://2017.igem.org/Team:UNOTT/Notebook" class="dropdown-toggle" data-toggle="dropdown">LAB<b class="caret"></b></a> |
− | <ul class="dropdown-menu | + | <ul class="dropdown-menu"> |
− | + | <li><a href="https://2017.igem.org/Team:UNOTT/Notebook">Lab book</a></li> | |
− | + | <li><a href="https://2017.igem.org/Team:UNOTT/Experiments">Experiments</a></li> | |
− | + | <li><a href="#">Parts</a></li> | |
− | + | <li><a href="https://2017.igem.org/Team:UNOTT/Improve">Improve</a></li> | |
− | + | <li><a href="https://2017.igem.org/Team:UNOTT/Safety">Safety</a></li> | |
+ | <li><a href="https://2017.igem.org/Team:UNOTT/InterLab">InterLab</a></li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 40: | Line 391: | ||
<li class="dropdown"> | <li class="dropdown"> | ||
− | <a | + | <a href="https://2017.igem.org/Team:UNOTT/Model" class="dropdown-toggle" data-toggle="dropdown">MODELLING<b class="caret"></b></a> |
− | <ul class="dropdown-menu | + | <ul class="dropdown-menu"> |
− | + | <li><a href="https://2017.igem.org/Team:UNOTT/Model">Overview</a></li> | |
− | + | <li><a href="https://2017.igem.org/Team:UNOTT/SingleCellModel">Models </a></li> | |
− | + | <li><a href="https://2017.igem.org/Team:UNOTT/CultureModelling">Software</a></li> | |
− | + | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <li class="dropdown"> | |
− | + | <a href="https://2017.igem.org/Team:UNOTT/Engagement" class="dropdown-toggle" data-toggle="dropdown">OUTREACH<b class="caret"></b></a> | |
− | + | <ul class="dropdown-menu"> | |
− | + | <li><a href="https://2017.igem.org/Team:UNOTT/HumanPractices">Human Practices</a></li> | |
− | + | <li><a href="https://2017.igem.org/Team:UNOTT/Game">Games Design</a></li> | |
− | + | <li><a href="#">HP Silver</a></li> | |
− | + | <li><a href="https://2017.igem.org/Team:UNOTT/HP/Gold_Integrated">HP Gold</a></li> | |
+ | <li><a href="https://2017.igem.org/Team:UNOTT/Engagement">Public Engagement</a></li> | ||
− | |||
− | |||
− | < | + | </ul> |
− | + | </li> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <li class="dropdown"> | |
− | + | <a href="https://2017.igem.org/Team:UNOTT/Team" class="dropdown-toggle" data-toggle="dropdown">TEAM<b class="caret"></b></a> | |
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="https://2017.igem.org/Team:UNOTT/Team">Our Team</a></li> | ||
+ | <li><a href="https://2017.igem.org/Team:UNOTT/Collaborations">Collaborations</a></li> | ||
+ | <li><a href="https://2017.igem.org/Team:UNOTT/Sponsors">Sponsors</a></li> | ||
+ | <li><a href="https://2017.igem.org/Team:UNOTT/Attributions">Attributions</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
</div> | </div> | ||
<!-- /.navbar-collapse --> | <!-- /.navbar-collapse --> |
Latest revision as of 11:08, 25 October 2017