RubenTammaro (Talk | contribs) |
Fennakadir (Talk | contribs) |
||
| Line 1: | Line 1: | ||
<html> | <html> | ||
| − | + | <script> | |
| − | + | ||
| − | + | $(document).ready(function() { | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | //remove the HQ_page id | |
| − | + | $("#HQ_page").attr('id',''); | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| + | //highlight current page on the menu | ||
| + | highlight_current_page_menu(); | ||
| + | |||
| + | //accessing submenus | ||
| + | $(".menu_item").click(function(){ | ||
| + | $(".submenu_control_icon", this).toggleClass("open"); | ||
| + | $(this).next(".submenu").fadeToggle(400); | ||
| + | }); | ||
| + | |||
| + | //mobile menu access | ||
| + | $(".igem_2019_team_mobile_bar").click(function(){ | ||
| + | $(this).next().toggleClass("displaying_menu"); | ||
| + | }); | ||
| + | |||
| + | }); | ||
| + | |||
| + | |||
| + | function highlight_current_page_menu() { | ||
| + | |||
| + | var page_url="https://2019.igem.org/"; | ||
| + | page_url = page_url + wgPageName; | ||
| + | $("a[href$='"+ page_url +"']").children().addClass("current_page"); | ||
| + | |||
| + | //if the page is in a submenu, open the submenu and make the appropiate changes | ||
| + | if( $( ".current_page" ).hasClass( "submenu_item" )){ | ||
| − | + | $(".current_page").parent().parent().fadeToggle(400); | |
| − | + | $(".current_page").parent().parent().prev().addClass("current_page"); | |
| − | + | $(".menu_item.current_page > .submenu_control_icon").toggleClass("open"); | |
| − | + | ||
| − | + | ||
| − | + | } | |
| − | + | } | |
| − | + | </script> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | <style> | |
| − | + | /**************************************************************************************************************************************************************************************************/ | |
| − | + | /* DEFAULT WIKI SETTINGS */ | |
| − | + | /**************************************************************************************************************************************************************************************************/ | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | #home_logo, #sideMenu { display:none; } | |
| − | + | #sideMenu, #top_title, .patrollink {display:none;} | |
| − | + | #content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;} | |
| − | + | body {background-color:white; } | |
| − | + | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } | |
| − | + | #bodyContent a[href ^="https://"], .link-https { padding-right:0px;} | |
| − | + | ||
| − | + | .judges-will-not-evaluate { border: 4px solid #F42534; padding: 2% !important; width: 92%!important;} | |
| − | + | ||
| − | + | /**************************************************************************************************************************************************************************************************/ | |
| − | + | ||
| − | + | </style> | |
| − | + | ||
| − | + | <head> | |
| − | + | ||
| − | + | <!-- Basic Page Needs | |
| − | + | –––––––––––––––––––––––––––––––––––––––––––––––––– --> | |
| − | + | <meta charset="utf-8" /> | |
| − | + | <title>ROCKIT</title> | |
| − | + | <meta name="description" content="An iGEM project" /> | |
| − | + | ||
| − | + | <!-- Mobile Specific Metas | |
| − | + | –––––––––––––––––––––––––––––––––––––––––––––––––– --> | |
| − | + | <!-- <meta name="viewport" content="width=device-width, initial-scale=1" /> --> | |
| − | + | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> | |
| − | + | ||
| − | + | <!-- FONT | |
| − | + | –––––––––––––––––––––––––––––––––––––––––––––––––– --> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | <!-- CSS | |
| − | + | –––––––––––––––––––––––––––––––––––––––––––––––––– --> | |
| − | + | <link rel="stylesheet" href="https://2019.igem.org/Team:MSP-Maastricht/css/header?action=raw&ctype=text/css"> | |
| − | + | <link rel="stylesheet" href="https://2019.igem.org/Team:MSP-Maastricht/css/header1?action=raw&ctype=text/css" integrity="sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin="anonymous"> | |
| − | + | <link rel="stylesheet" href="https://2019.igem.org/Team:MSP-Maastricht/css/header2?action=raw&ctype=text/css"/> | |
| − | + | ||
| − | + | <!-- JS | |
| − | + | –––––––––––––––––––––––––––––––––––––––––––––––––– --> | |
| − | + | <script src="https://2019.igem.org/Template:MSP-Maastricht/JQueryJS?action=raw&ctype=text/javascript" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script> | |
| − | + | <script src="https://2019.igem.org/Template:MSP-Maastricht/BootstrapJS?action=raw&ctype=text/javascript"></script> | |
| − | + | ||
| − | + | ||
| − | + | <!-- KATEX | |
| − | + | –––––––––––––––––––––––––––––––––––––––––––––––––– --> | |
| + | <script src="https://2019.igem.org/Team:MSP-Maastricht/JSkatex?action=raw&ctype=text/javascript" integrity="sha384-/y1Nn9+QQAipbNQWU65krzJralCnuOasHncUFXGkdwntGeSvQicrYkiUBwsgUqc1" crossorigin="anonymous"></script> | ||
| + | <script src="https://2019.igem.org/Team:MSP-Maastricht/JS?action=raw&ctype=text/javascript" type="text/javascript"></script> | ||
| + | <script> | ||
| + | document.addEventListener("DOMContentLoaded", function() { | ||
| + | renderMathInElement(document.body, { | ||
| + | delimiters: [{ | ||
| + | left: "$$", | ||
| + | right: "$$", | ||
| + | display: true | ||
| + | }, | ||
| + | { | ||
| + | left: "\\[", | ||
| + | right: "\\]", | ||
| + | display: true | ||
| + | }, | ||
| + | { | ||
| + | left: "$", | ||
| + | right: "$", | ||
| + | display: false | ||
| + | }, | ||
| + | { | ||
| + | left: "\\(", | ||
| + | right: "\\)", | ||
| + | display: false | ||
| + | } | ||
| + | ], | ||
| + | throwOnError: false, | ||
| + | macros: { | ||
| + | '\\tag': '\\pod\\text' | ||
| + | } | ||
| + | }); | ||
| + | var eqno = document.querySelectorAll(".katex span > span.mspace.quad"); | ||
| + | for (var i = 0; i < eqno.length; ++i) { | ||
| + | if (eqno[i].parentNode.className) | ||
| + | continue; | ||
| + | var quad = eqno[i]; | ||
| + | var span = quad.parentNode; | ||
| + | var text = span.nextSibling; | ||
| + | var pare = text.nextSibling; | ||
| + | span.removeChild(quad); | ||
| + | span.appendChild(text); | ||
| + | span.appendChild(pare); | ||
| + | span.className = 'eqno'; | ||
| + | } | ||
| + | }); | ||
| + | </script> | ||
| + | |||
| + | <!-- Favicon | ||
| + | –––––––––––––––––––––––––––––––––––––––––––––––––– --> | ||
| + | |||
| + | |||
| + | <style> | ||
| + | @media screen and (min-width: 768px){ | ||
| + | CSS | ||
| + | } | ||
| + | |||
| + | #custom-nav { | ||
| + | background-color: rgba(255,255,255,0.7); | ||
| + | border: 0; | ||
| + | box-shadow: none; | ||
| + | z-index: 999; | ||
| + | -webkit-transition: background .5s ease-in-out, opacity .5s ease; | ||
| + | -moz-transition: background .5s ease-in-out, opacity .5s ease; | ||
| + | transition: background .5s ease-in-out, opacity .5s ease; | ||
| + | margin-right: -15px; | ||
| + | } | ||
| + | |||
| + | #custom-nav .dropdown-menu { | ||
| + | border-radius: 0; | ||
| + | border: none; | ||
| + | border-top: 5px solid transparent; | ||
| + | background-color: rgba(255,255,255,0.7); | ||
| + | -webkit-box-shadow: none; | ||
| + | box-shadow: none; | ||
| + | padding-top: 0; | ||
| + | } | ||
| + | |||
| + | #custom-nav .dropdown { | ||
| + | display: inline-block; | ||
| + | padding-right: 25px; | ||
| + | padding-top: 0px; | ||
| + | |||
| + | } | ||
| + | |||
| + | #custom-nav .t { | ||
| + | padding-top: 50px; | ||
| + | } | ||
| + | |||
| + | .t li, a { | ||
| + | font-size: 18px; | ||
| + | } | ||
| + | |||
| + | #custom-nav .container { | ||
| + | padding-top: 25px; | ||
| + | padding-bottom: 25px; | ||
| + | -webkit-transition: padding-top .5s ease, padding-bottom .5s ease; | ||
| + | -moz-transition: padding-top .5s ease, padding-bottom .5s ease; | ||
| + | transition: padding-top .5s ease, padding-top .5s ease, padding-bottom .5s ease; | ||
| + | } | ||
| + | #custom-nav.affix { | ||
| + | top: 0; | ||
| + | min-width: 100%; | ||
| + | background-color: #f8f8f8; | ||
| + | opacity: 0.9; | ||
| + | -webkit-transition: background .5s ease-in-out, opacity .5s ease; | ||
| + | -moz-transition: background .5s ease-in-out, opacity .5s ease; | ||
| + | transition: background .5s ease-in-out, opacity .5s ease; | ||
| + | margin-right: 15px; | ||
| + | } | ||
| + | @media screen and (max-width: 767px){ | ||
| + | #wrapwrap { | ||
| + | padding-top: 50px; | ||
| + | } | ||
| + | .navbar-fixed-top { | ||
| + | z-index: 999; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | .pull-left img { | ||
| + | border-radius: 25px; | ||
| + | overflow: hidden; | ||
| + | width: 150px; | ||
| + | height: 80px; | ||
| + | margin-top: 25px; | ||
| + | margin-right: 15px; | ||
| + | margin-bottom: 15px; | ||
| − | + | } | |
| − | + | ||
| − | + | </style> | |
| − | + | <script> | |
| − | + | $(window).scroll(function() { | |
| − | + | if ($(".navbar").offset().top > 50) { | |
| − | + | $('#custom-nav').addClass('affix'); | |
| − | + | $(".navbar-fixed-top").addClass("top-nav-collapse"); | |
| − | + | } else { | |
| − | + | $('#custom-nav').removeClass('affix'); | |
| − | + | $(".navbar-fixed-top").removeClass("top-nav-collapse"); | |
| − | + | } | |
| − | + | }); | |
| − | + | </script> | |
| − | + | ||
| − | + | </head> | |
| − | + | <body> | |
| − | + | ||
| − | + | <header> | |
| − | + | ||
| − | + | <nav class="navbar navbar-default navbar-fixed-top" id="custom-nav" style="margin:0px; align:centre;"> | |
| − | + | <div class="container-fuid"> | |
| − | + | ||
| − | + | <!-- Brand and toggle get grouped for better mobile display --> | |
| − | + | <div class="navbar-header"> | |
| − | + | ||
| − | + | <!-- Button that toggles the navbar on and off on small screens --> | |
| − | + | <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#adopenav" aria-expanded="false"> | |
| − | + | ||
| − | + | <!-- Hides information from screen readers --> | |
| − | + | <span class="sr-only"></span> | |
| − | + | ||
| − | + | <!-- Draws 3 bars in navbar button when in small mode --> | |
| − | + | <span class="icon-bar"></span> | |
| − | + | <span class="icon-bar"></span> | |
| − | + | <span class="icon-bar"></span> | |
| − | + | </button> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | <!-- Collect the nav links, forms, and other content for toggling --> | |
| − | + | <div class="collapse navbar-collapse" id="adopenav"> | |
| − | + | <ul class="nav navbar-nav"> | |
| − | + | ||
| − | + | <!-- You'll have to add padding in your image on the top and right of a few pixels (CSS Styling will break the navbar) --> | |
| − | + | <a class="pull-left dropdown" href="https://2019.igem.org/Team:MSP-Maastricht"><img src="https://2019.igem.org/wiki/images/4/47/T--MSP-Maastricht--RocKitLogo.jpg"></a> | |
| − | + | ||
| − | + | <!-- Project --> | |
| − | + | <li class="dropdown t"> | |
| − | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Project<span class="caret"></span></a> | |
| − | + | <ul class="dropdown-menu"> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Description">Inspiration & Description</a></li> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Design">Background & Design</a></li> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Demonstrate">RocKit</a></li> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Experiments">Experiments & Results</a></li> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Notebook">Notebook</a></li> | |
| − | + | </ul> | |
| − | + | </li> | |
| − | + | ||
| − | + | <!-- Team --> | |
| − | + | <li class="dropdown t"> | |
| − | + | <a href="https://2019.igem.org/Team:MSP-Maastricht/Team" role="button">The Team</a> | |
| − | + | </li> | |
| − | + | ||
| − | + | <!-- Acknowledgments --> | |
| − | + | <li class="dropdown t"> | |
| − | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Acknowledgements<span class="caret"></span></a> | |
| − | + | <ul class="dropdown-menu"> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Collaborations">Collaborations</a></li> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Attributions">Attributions</a></li> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Sponsors">Sponsors</a></li> | |
| − | + | </ul> | |
| − | + | </li> | |
| − | + | ||
| − | + | ||
| − | + | <!-- Parts --> | |
| − | + | <li class="dropdown t"> | |
| − | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Parts<span class="caret"></span></a> | |
| − | + | <ul class="dropdown-menu"> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Parts">Overview</a></li> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Basic_Part">Basic Parts</a></li> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Composite_Part">Composite Parts</a></li> | |
| − | + | <!--<li><a href="https://2019.igem.org/Team:MSP-Maastricht/Part_Collection">Part Collection</a></li>--> | |
| − | + | </ul> | |
| − | + | </li> | |
| − | + | ||
| − | + | <!-- Model --> | |
| − | + | <li class="dropdown t"> | |
| − | + | <a href="https://2019.igem.org/Team:MSP-Maastricht/Software" role="button">Software</a> | |
| − | + | </li> | |
| − | + | ||
| − | + | <!-- Human Practices --> | |
| − | + | <li class="dropdown t"> | |
| − | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Human Practices<span class="caret"></span></a> | |
| − | + | <ul class="dropdown-menu"> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Human_Practices">Integrated Human Practices</a></li> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Public_Engagement">Education & Engagement </a></li> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/Outreach">Outreach</a></li> | |
| − | + | </ul> | |
| − | + | </li> | |
| − | + | ||
| − | + | <!-- BUSINESS --> | |
| − | + | <li class="dropdown t"> | |
| − | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Business<span class="caret"></span></a> | |
| − | + | <ul class="dropdown-menu"> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/BusinessPlan">Business plan</a></li> | |
| − | + | <li><a href="https://2019.igem.org/Team:MSP-Maastricht/IP" role="button">Intellectual Property</a></li> | |
| − | + | </ul> | |
| − | + | </li> | |
| − | + | ||
| − | + | </ul> | |
| − | + | </div><!-- /.navbar-collapse --> | |
| − | + | </div><!-- /.container-fluid --> | |
| − | + | </nav> | |
| − | + | </header> | |
| − | + | ||
| − | + | ||
| − | + | </body> | |
| − | + | </html> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Latest revision as of 17:20, 21 October 2019