Difference between revisions of "Template:Duke"

Line 1: Line 1:
 
<html>
 
<html>
 +
<script>
 +
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 +
 +
$(document).ready(function() {
 +
 +
$("#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_2018_team_mobile_bar").click(function(){
 +
$(this).next().toggleClass("displaying_menu");
 +
});
 +
 +
});
 +
 +
 +
function highlight_current_page_menu() {
 +
 +
var page_url="https://2018.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>
 
<style>
 +
/**************************************************************************************************************************************************************************************************/
  
/********************************* DEFAULT WIKI SETTINGS  ********************************/
 
  
#sideMenu, #top_title {display:none;}
 
#content { padding:0px; width:98%;}
 
body {background-color:white; width:100%;}
 
        #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
  
/********************************* MENU ********************************/
+
/**************************************************************************************************************************************************************************************************/
/* Wrapper for the menu */
+
/* DEFAULT WIKI SETTINGS */
.menu_wrapper {  
+
/**************************************************************************************************************************************************************************************************/
width:150px;  
+
 
 +
 
 +
#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; }
 +
 
 +
.judges-will-not-evaluate { border: 4px solid #e4dede; padding: 2% !important; width: 92%!important;}
 +
 
 +
 
 +
/**************************************************************************************************************************************************************************************************/
 +
/* MENU */
 +
/**************************************************************************************************************************************************************************************************/
 +
 
 +
/*this wraps the whole of the menu*/
 +
.igem_2018_team_menu {  
 +
background-color:#c4baba;
 +
border-left: 1px solid #c4baba;
 +
display:block;
 +
float:right;  
 
height:100vh;  
 
height:100vh;  
position:fixed;  
+
max-width: 270px;
 +
overflow-y: auto;
 +
overflow-x: hidden;
 
padding:0px;
 
padding:0px;
float:left;  
+
position:fixed;  
background-color:#f2f2f2;  
+
right:0%;
 
text-align:left;
 
text-align:left;
 +
width: 15%;
 
}
 
}
  
/* styling for the menu items */
+
 
.menu_item {
+
.igem_2018_team_menu.displaying_menu{
width:100%;
+
display:block;
margin:-2px 0px 0px -20px;
+
padding: 10px 10px; 
+
border-bottom: 1px solid #d3d3d3;
+
font-weight:bold;
+
color:#000000;
+
cursor: pointer;  
+
 
}
 
}
  
/* when hovering on a menu item */
+
.igem_2018_team_menu  a {
.menu_item:hover {  
+
color: #484848;
color:#000000;  
+
text-decoration:none;
background-color: #72c9b6;
+
 
}
 
}
  
/* decoration icon for the menu buttons*/
+
.igem_2018_team_menu img {
.icon {
+
width:100%;
float:right; 
+
font-size:16px;
+
font-weight:bold;  
+
 
}
 
}
+
 
/* this is the icon for when the content is collapsed */
+
 
.plus::before {
+
.igem_2018_team_menu .menu_item {
content: "+";  
+
    background-color: #c4baba;
 +
    border-bottom: 1px solid #928b8b;
 +
    clear: both;
 +
color: #484848;
 +
    cursor: pointer;
 +
float: left;
 +
    font-size: 120%;
 +
    font-weight: bold;
 +
    padding: 15px 0px 15px 5%;
 +
  width: 100%;
 
}
 
}
/* this is the icon for when the content is expanded */
 
.less::before {
 
content: "–";
 
}
 
  
/* styling for the ul that creates the buttons */
+
.igem_2018_team_menu .menu_item.direct_link {
ul.menu_items {
+
color: #484848;
width:100%;  
+
padding-left: 15%;
margin-left:0px;  
+
}
padding:0px;
+
.igem_2018_team_menu .menu_item:hover {
list-style: none;  
+
background-color: #ecb656;
 
}
 
}
  
/* styling for the li that are the menu items */
+
 
.menu_items li {  
+
.igem_2018_team_menu .menu_item .submenu_control_icon {
width:90%;
+
color: #484848;
margin-top:-2px;
+
float: left;
padding: 15px 0px 15px 15px ;
+
width: 10%;
display:block;
+
border-bottom: 1px solid #d3d3d3;
+
text-align:left;  
+
font-weight:bold;
+
text-decoration:none;
+
color:#000000;
+
list-style-type:none;
+
cursor:pointer;
+
-webkit-transition: all 0.4s ease;
+
-moz-transition: all 0.4s ease;
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease; transition: all 0.4s ease;
+
 
}
 
}
  
.menu_item a {
+
/* submenu icon "+"  "-"*/
width: 100%;
+
.igem_2018_team_menu .menu_item .submenu_control_icon::before {
margin-left: -20px;
+
content: "+";  
padding: 11px 90px 12px 20px;
+
text-decoration: none;
+
color:black;
+
 
}
 
}
  
/* When hovering on a menu item */
+
/* submenu icon "+"  "-"*/
.menu_items li:hover {  
+
.igem_2018_team_menu .menu_item .submenu_control_icon.open::before {
background-color:#72c9b6;
+
content: "-";  
color: #000000;
+
 
}
 
}
  
/* styling for the submenus */
+
/*submenu wrapper*/
.submenu {
+
.igem_2018_team_menu .submenu{
width:100%;  
+
background-color: #e4dede;
display: none;
+
clear:both;
font-weight:bold;
+
display:none;
cursor:pointer;  
+
float: left;
 
+
width:100%;
 
}
 
}
  
/* moving the margin for the submenu ul list */
+
/*styling for a submenu item*/
ul.submenu {  
+
.igem_2018_team_menu .submenu .submenu_item {
width: 100%;
+
border-bottom: 1px solid #c4baba;
margin: 10px 0px -11px 0px;
+
  color: #635d5d;
list-style: none;
+
    height: 30px;
 +
  float: left;
 +
    font-size: 110%;
 +
font-weight: bold;
 +
    padding: 12px 0px 0px 15%;
 +
    width: 100%;
 
}
 
}
  
/*styling for the submenu buttons */
+
.igem_2018_team_menu .submenu .submenu_item:hover {
.submenu li {  
+
background-color: #f3bd5d;
width: 100%;
+
margin-left: 10px;
+
margin-bottom: 0px;
+
 
}
 
}
  
  
/* hover state for the submenu buttons */
+
.igem_2018_team_menu .submenu .submenu_item.current_page,
.submenu li a {
+
.igem_2018_team_menu .menu_item.current_page,
width: 100%;
+
.igem_2018_team_menu .menu_item.direct_link.current_page {
padding: 5px 10px;
+
background-color:#7acbd8;
display: inline-block;
+
border-bottom: 1px solid #d3d3d3;
+
background-color:white;
+
text-decoration:none;
+
color:#000000;  
+
 
}
 
}
  
  
  
.submenu li a:hover  {
+
/*mobile menu bar styling*/
background-color:#000000;
+
/**************************************************************************************************************************************************************************************************/
color: #72c9b6;
+
}
+
  
  
/* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
+
.igem_2018_team_mobile_bar {
.collapsable_menu_control {  
+
background-color:#e4dede;
width:100%;  
+
border-bottom: 1px solid #c4baba;
padding: 15px 0px;
+
cursor:pointer;
 
display:none;  
 
display:none;  
background-color:#000000;
+
float:left;
text-align:center;
+
margin-top: 0;
font-weight:bold;
+
padding: 5px 0;
color:#72c9b6;
+
position:fixed;
cursor:pointer;
+
width:100%;  
-webkit-transition: all 0.4s ease;  
+
-moz-transition: all 0.4s ease;  
+
-ms-transition: all 0.4s ease;  
+
-o-transition: all 0.4s ease;
+
transition: all 0.4s ease;  
+
 
}
 
}
  
/* when hovering on that button */
+
.igem_logo_mobile img {
.collapsable_menu_control:hover {  
+
width:70px;
background-color: #72c9b6;
+
color:#000000;
+
 
}
 
}
  
/********************************* CONTENT OF THE PAGE ********************************/
+
.igem_logo_mobile {
 
+
/* Wrapper for the content */
+
.content_wrapper {
+
width: 85%;
+
margin-left:150px;
+
padding:10px 0px;
+
 
float:left;  
 
float:left;  
background-color:white;  
+
padding-left: 5%;
 +
width: 30%;  
 
}
 
}
  
/*LAYOUT */
+
.igem_menu_control_mobile img {
.column  {  
+
width:25px;
padding: 10px 0px;
+
float:left;
+
background-color:white;  
+
 
}
 
}
  
.full_size {
+
.igem_menu_control_mobile {
width:98%;  
+
float:right;
 +
padding-right:5%;
 +
padding-top:5px;
 +
text-align:right;
 +
width: 30%;  
 
}
 
}
  
.full_size img {
 
padding: 10px 15px;
 
width:96.5%;
 
}
 
  
.half_size {
 
width: 50%;
 
}
 
.half_size img {
 
padding: 10px 15px;
 
width: 93%;
 
}
 
  
 +
/**************************************************************************************************************************************************************************************************/
 +
/* CONTENT OF THE PAGE */
 +
/**************************************************************************************************************************************************************************************************/
  
.clear {
+
/* general wrapper for the content */
clear:both;
+
.igem_2018_team_content {
 +
background-color:white;
 +
display:block;
 +
width: 87%;
 
}
 
}
  
.highlight {  
+
/* subwrapper to center content */
width: 90%;
+
.igem_2018_team_content .igem_2018_team_column_wrapper {
margin: auto;  
+
margin:auto;
padding: 15px 5px;
+
max-width: 1400px;
background-color: #f2f2f2;  
+
width:90%;
 
}
 
}
  
.judges-will-not-evaluate {
 
border: 4px solid #72c9b6;
 
display: block;
 
margin: 5px 15px;
 
width: 95%;
 
font-weight:bold;
 
}
 
  
  
/*STYLING */
+
/*general styling*/
 +
/**************************************************************************************************************************************************************************************************/
  
/* styling for the titles */
+
.igem_2018_team_content .igem_2018_team_column_wrapper h1 { font-size: 210%;}
.content_wrapper h1, .content_wrapper h2 {
+
.igem_2018_team_content .igem_2018_team_column_wrapper h2 { font-size: 190%;}
padding:5px 15px;  
+
.igem_2018_team_content .igem_2018_team_column_wrapper h3 { font-size: 170%;}
border-bottom:0px;  
+
.igem_2018_team_content .igem_2018_team_column_wrapper h4 { font-size: 150%;}
color:#72c9b6;
+
.igem_2018_team_content .igem_2018_team_column_wrapper h5 { font-size: 140%;}
 +
.igem_2018_team_content .igem_2018_team_column_wrapper h6 { font-size: 130%;}
  
 +
 +
/* styling for the titles h1, h2*/
 +
.igem_2018_team_content .igem_2018_team_column_wrapper h1, .igem_2018_team_content .igem_2018_team_column_wrapper h2 {
 +
border-bottom:0px;
 +
color: #635d5d;
 +
font-family: "Arial Black", Gadget, sans-serif;
 +
padding: 10px 0px;
 
}
 
}
.content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 {  
+
 
padding:5px 15px;
+
/* styling for the titles h3, h3, h5, h6 */
 +
.igem_2018_team_content .igem_2018_team_column_wrapper h3,  
 +
.igem_2018_team_content .igem_2018_team_column_wrapper h4,  
 +
.igem_2018_team_content .igem_2018_team_column_wrapper h5,  
 +
.igem_2018_team_content .igem_2018_team_column_wrapper h6 {  
 
border-bottom:0px;  
 
border-bottom:0px;  
color: #000000;   
+
color: #928b8b;   
 +
font-family: "Arial Black", Gadget, sans-serif;
 +
padding: 5px 0px;
 
}
 
}
  
 
+
/* text */
/* font and text */
+
.igem_2018_team_content .igem_2018_team_column_wrapper p {  
.content_wrapper p {  
+
font-size: 130%;
padding:0px 15px;
+
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
+
padding: 5px 0px;
font-family: 'Ubuntu', sans-serif;
+
text-align: left;
                font-family: 'Indie Flower', cursive;
+
color: #484848;
font-family: 'Muli', sans-serif;
+
font-family: 'PT Sans', sans-serif;
+
font-family: 'Prompt', sans-serif;
+
font-family: 'Raleway', sans-serif;  
+
 
}
 
}
  
 
/* Links */
 
/* Links */
.content_wrapper a {  
+
.igem_2018_team_content .igem_2018_team_column_wrapper a {
 +
color: #5bc7d8;
 
font-weight: bold;  
 
font-weight: bold;  
 
text-decoration: underline;
 
text-decoration: underline;
text-decoration-color:#72c9b6;
+
text-decoration-color:#5bc7d8;
color: #72c9b6;
+
transition: all 0.4s ease;
 
-webkit-transition: all 0.4s ease;
 
-webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;  
+
-moz-transition: all 0.4s ease;  
 
-ms-transition: all 0.4s ease;  
 
-ms-transition: all 0.4s ease;  
 
-o-transition: all 0.4s ease;  
 
-o-transition: all 0.4s ease;  
transition: all 0.4s ease;
 
 
}
 
}
  
 
/* hover for the links */
 
/* hover for the links */
.content_wrapper a:hover {  
+
.igem_2018_team_content .igem_2018_team_column_wrapper a:hover {  
 +
color: #f8b732;
 
text-decoration:none;
 
text-decoration:none;
color:#000000;
 
 
}
 
}
  
/* non numbered lists */
 
.content_wrapper ul {
 
padding:0px 20px;
 
font-size: 13px;
 
font-family: 'Ubuntu', sans-serif;
 
                font-family: 'Indie Flower', cursive;
 
font-family: 'Muli', sans-serif;
 
font-family: 'PT Sans', sans-serif;
 
font-family: 'Prompt', sans-serif;
 
font-family: 'Raleway', sans-serif;
 
}
 
 
/* numbered lists */
 
.content_wrapper ol {
 
padding:0px;
 
font-size: 13px;
 
font-family: 'Ubuntu', sans-serif;
 
                font-family: 'Indie Flower', cursive;
 
font-family: 'Muli', sans-serif;
 
font-family: 'PT Sans', sans-serif;
 
font-family: 'Prompt', sans-serif;
 
font-family: 'Raleway', sans-serif;
 
}
 
  
 
/* Table */
 
/* Table */
.content_wrapper table {  
+
.igem_2018_team_content .igem_2018_team_column_wrapper table {  
width: 97%;
+
border: 1px solid #928b8b;  
margin:15px 10px;
+
border: 1px solid #d3d3d3;  
+
 
border-collapse: collapse;  
 
border-collapse: collapse;  
 +
font-size: 130%;
 +
width: 100%;
 
}
 
}
  
 
/* table cells */
 
/* table cells */
.content_wrapper  td {  
+
.igem_2018_team_content .igem_2018_team_column_wrapper td {  
 +
border: 1px solid #c4baba;
 +
border-collapse: collapse;
 +
font-size: 105%;
 
padding: 10px;
 
padding: 10px;
 
vertical-align: text-top;  
 
vertical-align: text-top;  
border: 1px solid #d3d3d3;
 
border-collapse: collapse;
 
 
}
 
}
  
 
/* table headers */
 
/* table headers */
.content_wrapper th {  
+
.igem_2018_team_content .igem_2018_team_column_wrapper th {  
 +
background-color:#c4baba;
 +
border: 1px solid #928b8b;
 +
border-collapse: collapse;
 +
font-size: 110%;
 
padding: 10px;  
 
padding: 10px;  
 
vertical-align: text-top;  
 
vertical-align: text-top;  
border: 1px solid #d3d3d3;
 
border-collapse: collapse;
 
background-color:#f2f2f2;
 
 
}
 
}
  
/* Button class */
+
 
.button_click {  
+
 
margin: 10px auto;
+
/* non numbered lists */
padding: 15px; width:12%
+
.igem_2018_team_content .igem_2018_team_column_wrapper ul, .igem_2018_team_content .igem_2018_team_column_wrapper ol {
text-align:center;  
+
font-size: 130%;
font-weight:bold;
+
font-family: Arial, Helvetica, sans-serif;
background-color: #72c9b6;
+
padding:0px 20px;
cursor:pointer; 
+
-webkit-transition: all 0.4s ease;
+
-moz-transition: all 0.4s ease;
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease;
+
transition: all 0.4s ease;  
+
 
}
 
}
  
/* button class on hover */
+
 
.button_click:hover {  
+
.igem_2018_team_content .igem_2018_team_column_wrapper ul ul li, .igem_2018_team_content .igem_2018_team_column_wrapper ul ul ul li,
background-color:#000000;  
+
.igem_2018_team_content .igem_2018_team_column_wrapper ul ol li, .igem_2018_team_content .igem_2018_team_column_wrapper ul ul ol li,
color:#72c9b6;
+
.igem_2018_team_content .igem_2018_team_column_wrapper ol ol li, .igem_2018_team_content .igem_2018_team_column_wrapper ul ol ul li,
 +
.igem_2018_team_content .igem_2018_team_column_wrapper ol ul li, .igem_2018_team_content .igem_2018_team_column_wrapper ul ol ol li,
 +
.igem_2018_team_content .igem_2018_team_column_wrapper ol ul ul li, .igem_2018_team_content .igem_2018_team_column_wrapper ol ol ul li,
 +
.igem_2018_team_content .igem_2018_team_column_wrapper ol ol ol li, .igem_2018_team_content .igem_2018_team_column_wrapper ol ul ol li{ font-size: 76%; }
 +
 
 +
 
 +
 
 +
/*layout classes*/
 +
/**************************************************************************************************************************************************************************************************/
 +
 
 +
/*main layout class */
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .column {
 +
float:left;
 +
margin: 1% 2%;
 +
padding: 0px;
 
}
 
}
  
/********************************* RESPONSIVE STYLING ********************************/
+
/* 100% */
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .column.full_size { width:96%; }
  
/* IF THE SCREEN IS LESS THAN 1000PX */
+
/* 66% */
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .column.two_thirds_size { width: 62.6%; }
  
@media only screen and (max-width: 1000px) {
+
/* 33% */
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .column.third_size { width: 29.3%; }
  
#content {width:98%; }
+
 
.menu_wrapper {width:15%;}
+
 
.content_wrapper {margin-left: 15%;}
+
 
.menu_item {display:block;}
+
/*styling for all images*/
.icon {display:none;}
+
.igem_2018_team_content .igem_2018_team_column_wrapper .column.full_size img,
.highlight {padding:10px 0px;}
+
.igem_2018_team_content .igem_2018_team_column_wrapper .column.two_thirds_size img,
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .column.third_size img {
 +
margin-bottom: 15px;
 +
width: 100%;  
 
}
 
}
  
  
/* IF THE SCREEN IS LESS THAN 680PX */
+
/* page break */
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .clear {
 +
clear:both;
 +
}
 +
/*add extra space to page break with clear class*/
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .clear.extra_space {
 +
height: 30px;
 +
}
  
@media only screen and (max-width: 680px) {
+
/* horizontal line to divide the page*/
.collapsable_menu_control { display:block;}
+
.igem_2018_team_content .igem_2018_team_column_wrapper .line_divider {
.menu_item {display:none;}
+
    border-top: 1px solid #c4baba;
.menu_wrapper { width:100%; height: 15%; position:relative;}
+
  margin: auto;
.content_wrapper {width:100%; margin-left:0px;}
+
  width: 98%;
.column.half_size {width:100%; }
+
.column img { width: 100%; padding: 5px 0px;}
+
.icon {display:block;}
+
.highlight {padding:15px 5px;}
+
 
}
 
}
  
</style>
 
  
  
 +
 +
/*support classes*/
 +
/**************************************************************************************************************************************************************************************************/
  
  
<!--- THIS IS WHERE THE HTML BEGINS --->
+
/*Button  */
 +
/************************************************/
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .button_link {
 +
font-size: 130%;
 +
margin: 30px auto;
 +
text-align: center;
 +
}
  
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .button_link a  {
 +
background-color: #5bc7d8;
 +
color: #635d5d !important;
 +
font-weight: bold;
 +
margin: auto;
 +
text-decoration: none !important;
 +
padding: 10px 15px;
 +
}
  
<!-- This tells the browser that your page is responsive -->
+
.igem_2018_team_content .igem_2018_team_column_wrapper .button_link a:hover {
 +
background-color: #f8b732 !important; 
 +
}
  
<head>
 
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
 
<link type="text/css" href="https://2017.igem.org/Team:Duke/main?action=raw&amp;ctype=text/css" rel="stylesheet"> <!--modifies css based on bootstrap.css-->
 
  <script src="https://2017.igem.org/Team:Duke/jquery?action=raw&ctype=text/javascript"></script> <!--necessary for bootstrap-->
 
  <script src="https://2017.igem.org/Team:Duke/bootstrapjs?action=raw&ctype=text/javascript"></script>
 
  <!-- Font Awesome for icons-->
 
  <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet">
 
  <!--Set width to the width of the device-->
 
  <meta name="viewport" content="width=device-width, initial-scale=1">
 
<div class="example3">
 
<nav class="navbar navbar-default" style="margin-bottom: 0px">
 
<div class="container-fluid">
 
    <div class="navbar-header">
 
    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar3">
 
          <span class="sr-only">Toggle navigation</span>
 
          <!--Three Spans below create buttons in iOS-->
 
          <span class="icon-bar"></span>
 
          <span class="icon-bar"></span>
 
          <span class="icon-bar"></span>
 
        </button>
 
</div>
 
  
<!--Duke Logo-->
 
<a class="navbar-left" href="https://2018.igem.org/Team:Duke">
 
<img id="logo" src="https://static.igem.org/mediawiki/2017/a/a1/T--Duke--logo.png" width="80px" ></a>
 
<!--Navigation Bar specifications Below-->
 
        <div id="navbar3" class="navbar-collapse collapse">
 
        <ul class="nav navbar-nav navbar-right">
 
  
          <li class="dropdown">
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight {
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">People <span class="caret"></span></a>
+
padding: 15px 20px;
            <ul class="dropdown-menu" role="menu">
+
}
                                                  <li><a href="https://2018.igem.org/Team:Duke/Team">Members</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Advisors">Advisors</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Attributions">Attributions</a></li>
+
            </ul>
+
          </li>
+
  
          <li class="dropdown">
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight p,
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Collaborations <span class="caret"></span></a>
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h1,
            <ul class="dropdown-menu" role="menu">
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h2,
                                                  <li><a href="https://2018.igem.org/Team:Duke/Collaborations">Overview</a></li>
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h3,
                                                  <li><a href="https://2018.igem.org/Team:Duke/Collaborations/UNC">UNC </a></li>
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h4,
                                                  <li><a href="https://2018.igem.org/Team:Duke/Collaborations/MiniConvention">Mini Convention</a></li>
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h5,
                                                  <li><a
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h6 {
href="https://2018.igem.org/Team:Duke/Collaborations/BiosecurityForum ">Biosecurity Forum</a></li>
+
padding: 5px 15px;
            </ul>
+
}
          </li>
+
  
          <li class="dropdown">
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_background {
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Project <span class="caret"></span></a>
+
background-color: #e4dede;
            <ul class="dropdown-menu" role="menu">
+
}
                                                  <li><a href="https://2018.igem.org/Team:Duke/Description">Description</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Design">Design</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Results">Results</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Contribution">Contribution</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Demonstrate ">Demonstrate </a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Improve">Improve</a></li>
+
                                                  <li><a href="https://igem.org/2018_Judging_Form?team=Duke">Judging Form</a></li>
+
            </ul>
+
          </li>
+
  
          <li class="dropdown">
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_A_top {
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Biology <span class="caret"></span></a>
+
    border-top: 4px solid #5bc7d8;
            <ul class="dropdown-menu" role="menu">
+
}
                                                  <li><a href="https://2018.igem.org/Team:Duke/Experiments">Experiments</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Notebook">Notebook</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Safety">Safety</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Parts">Parts Overview</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Basic_Part">Basic Parts</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Composite_Part">Composite Parts</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Part_Collection">Part Collection</a></li>
+
            </ul>
+
          </li>
+
+
<li class="dropdown">
+
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Modeling <span class="caret"></span></a>
+
            <ul class="dropdown-menu" role="menu">
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Model">Model Overview</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Model/Expectations">Expectations</a></li>
+
            </ul>
+
          </li>
+
  
<li class="dropdown">
 
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Human Practices<span class="caret"></span></a>
 
            <ul class="dropdown-menu" role="menu">
 
                                                  <li><a href="https://2018.igem.org/Team:Duke/Human_Practices ">Human Practices </a></li>
 
                                                  <li><a href="https://2018.igem.org/Team:Duke/Public_Engagement">Education & Engagement </a></li>
 
            </ul>
 
          </li>
 
  
<li class="dropdown">
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_A_full {
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Awards <span class="caret"></span></a>
+
    border: 4px solid #5bc7d8;
            <ul class="dropdown-menu" role="menu">
+
}
                                                  <li><a href="https://2018.igem.org/Team:Duke/Applied Design">Applied Design</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Entrepreneurship "> Entrepreneurship</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Hardware ">Hardware </a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Measurement ">Measurement </a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:Duke/Software "> Software</a></li>
+
            </ul>
+
          </li>
+
  
        </ul>
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_B_top {
      </div>
+
    border-top: 4px solid #f8b732
      <!---->
+
}
</div><!--Close container-fluid-->
+
</nav>
+
</div><!--Close class=example3-->
+
<!--ends navbar-->
+
  
 +
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_B_full {
 +
    border: 4px solid #f8b732;
 +
}
 +
 +
 +
 +
 +
/*mobile*/
 +
/**************************************************************************************************************************************************************************************************/
 +
 +
 +
/* 1800px  */
 +
/************************************************/
 +
@media only screen and (max-width: 1800px) {
 +
.igem_2018_team_content { width: 85%;}
 +
.igem_2018_team_menu {display:block;}
 +
}
 +
 +
/* 1400px  */
 +
/************************************************/
 +
@media only screen and (max-width: 1400px) {
 +
.igem_2018_team_menu .menu_item { font-size:100%;}
 +
.igem_2018_team_menu .submenu .submenu_item { font-size:90%;}
 +
.igem_2018_team_menu {display:block;}
 +
}
 +
 +
@media only screen and (max-width: 1001px) {
 +
.igem_2018_team_menu {display:block;}
 +
}
 +
 +
/* 1000px  */
 +
/************************************************/
 +
@media only screen and (max-width: 1000px) {
 +
.igem_2018_team_content {width:100%; margin-left:0px;}
 +
.igem_2018_team_menu {display:none; margin-top: 45px; min-width:50%; width:50%;}
 +
.igem_2018_team_mobile_bar {display:block;}
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .column.full_size, .igem_2018_team_content .igem_2018_team_column_wrapper .column.two_thirds_size,.igem_2018_team_content .igem_2018_team_column_wrapper .column.third_size {width:96%; }
 +
 +
}
 +
 +
 +
@media only screen and (max-width: 500px) {
 +
.igem_2018_team_menu {min-width:100%; width:100%; }
 +
}
 +
 +
 +
/**************************************************************************************************************************************************************************************************/
 +
 +
 +
 +
 +
 +
</style>
 +
 +
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 +
<!--- THIS IS WHERE THE HTML BEGINS --->
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 +
 +
<head>
 +
 +
<!-- This tells the browser that your page is responsive -->
 +
<meta name="viewport" content="width=device-width, initial-scale=1">
  
 
</head>
 
</head>
Line 488: Line 515:
  
  
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 +
<!--- Menu --->
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
  
  
  
  
 +
<div class="igem_2018_team_mobile_bar">
 +
 +
<div class="igem_logo_mobile">
 +
<img src="https://static.igem.org/mediawiki/2018/4/4f/2018_igem_mobile_menu_logo.svg">
 +
</div>
  
  
<script>
+
<div class="igem_menu_control_mobile">
 +
<img id="menu_control_image" src="https://static.igem.org/mediawiki/igem.org/3/3b/Menu_icon.svg">
 +
</div>
  
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
+
</div>
  
$(document).ready(function() {
 
  
$("#HQ_page").attr('id','');
+
 
 +
 
 +
<div class="igem_2018_team_menu displaying_menu">
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:Duke">
 +
<img src="http://placehold.it/350x150/e4dede/c4baba">
 +
</a>
 +
 
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:Duke">
 +
<div class="menu_item direct_link">
 +
HOME
 +
</div>
 +
</a>
 +
 
 +
<!-- Team -->
 +
<div class="menu_item">
 +
<div class="submenu_control_icon"> </div>
 +
TEAM
 +
</div>
 +
<div class="submenu">
 
 
 +
<a href="https://2018.igem.org/Team:Duke/Team">
 +
<div class="submenu_item">
 +
Team Members
 +
</div>
 +
</a>
  
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
+
<a href="https://2018.igem.org/Team:Duke/Collaborations">
$("#team_name").html( wgPageName );
+
<div class="submenu_item">
}
+
Collaborations
 +
</div>
 +
</a>
 +
</div>
  
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 {
+
<!-- Project -->
// this adds the team's name as an h1
+
<div class="menu_item">
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/")  ) );
+
<div class="submenu_control_icon"> </div>
 +
PROJECT
 +
</div>
 +
<div class="submenu">
 +
 +
<a href="https://2018.igem.org/Team:Duke/Description">
 +
<div class="submenu_item">
 +
Description
 +
</div>
 +
</a>
  
// this adds the page's title as an h4
+
<a href="https://2018.igem.org/Team:Duke/Design">
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
+
<div class="submenu_item">
}
+
Design
 +
</div>
 +
</a>
  
 +
<a href="https://2018.igem.org/Team:Duke/Experiments">
 +
<div class="submenu_item">
 +
Experiments
 +
</div>
 +
</a>
  
  
 +
<a href="https://2018.igem.org/Team:Duke/Notebook">
 +
<div class="submenu_item">
 +
Notebook
 +
</div>
 +
</a>
  
$('#accordion').find('.menu_item').click(function(){
+
<a href="https://2018.igem.org/Team:Duke/InterLab">
 +
<div class="submenu_item">
 +
InterLab
 +
</div>
 +
</a>
  
//Expand or collapse this panel
 
submenu = $(this).find('.submenu');
 
submenu.toggle();
 
  
icon = $(this).find('.icon');
+
<a href="https://2018.igem.org/Team:Duke/Model">
 +
<div class="submenu_item">
 +
Model
 +
</div>
 +
</a>
  
if ( !$( submenu ).is(':visible') ) {
+
<a href="https://2018.igem.org/Team:Duke/Results">
icon.removeClass("less").addClass("plus");
+
<div class="submenu_item">
}
+
Results
else {
+
</div>
icon.removeClass("plus").addClass("less");
+
</a>
}
+
  
//Hide the other panels
 
$(".submenu").not(submenu).hide();
 
$(".icon").not(icon).removeClass("less").addClass("plus");
 
});
 
  
 +
<a href="https://2018.igem.org/Team:Duke/Demonstrate">
 +
<div class="submenu_item">
 +
Demonstrate
 +
</div>
 +
</a>
  
$(".collapsable_menu_control").click(function() {
+
<a href="https://2018.igem.org/Team:Duke/Improve">
$(".menu_item").toggle();
+
<div class="submenu_item">
});
+
Improve
 +
</div>
 +
</a>
  
$( window ).resize(function() {
+
<a href="https://2018.igem.org/Team:Duke/Attributions">
$(".menu_item").show();
+
<div class="submenu_item">
});
+
Attributions
 +
</div>
 +
</a>
  
 +
</div>
  
});
 
  
 +
<div class="menu_item">
 +
<div class="submenu_control_icon"> </div>
 +
PARTS
 +
</div>
 +
<div class="submenu">
 +
 +
<a href="https://2018.igem.org/Team:Duke/Parts">
 +
<div class="submenu_item">
 +
Parts Overview
 +
</div>
 +
</a>
  
 +
<a href="https://2018.igem.org/Team:Duke/Basic_Part">
 +
<div class="submenu_item">
 +
Basic Parts
 +
</div>
 +
</a>
  
 +
<a href="https://2018.igem.org/Team:Duke/Composite_Part">
 +
<div class="submenu_item">
 +
Composite Parts
 +
</div>
 +
</a>
  
</script>
+
<a href="https://2018.igem.org/Team:Duke/Part_Collection">
 +
<div class="submenu_item">
 +
Part Collection
 +
</div>
 +
</a>
 +
</div>
 +
 
 +
 +
 +
 +
 +
 
 +
<a href="https://2018.igem.org/Team:Duke/Safety">
 +
<div class="menu_item direct_link">
 +
SAFETY
 +
</div>
 +
</a>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
<div class="menu_item">
 +
<div class="submenu_control_icon"> </div>
 +
HUMAN PRACTICES
 +
</div>
 +
 
 +
<div class="submenu">
 +
 
 +
<a href="https://2018.igem.org/Team:Duke/Human_Practices">
 +
<div class="submenu_item">
 +
Human Practices
 +
</div>
 +
</a>
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:Duke/Public_Engagement">
 +
<div class="submenu_item">
 +
Education & Engagement
 +
</div>
 +
</a>
 +
 
 +
</div>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
<div class="menu_item">
 +
<div class="submenu_control_icon"> </div>
 +
AWARDS
 +
</div>
 +
 
 +
<div class="submenu">
 +
 
 +
<a href="https://2018.igem.org/Team:Duke/Applied_Design">
 +
<div class="submenu_item">
 +
Applied Design
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:Duke/Entrepreneurship">
 +
<div class="submenu_item">
 +
Entrepreneurship
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:Duke/Hardware">
 +
<div class="submenu_item">
 +
Hardware
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:Duke/Measurement">
 +
<div class="submenu_item">
 +
Measurement
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:Duke/Model">
 +
<div class="submenu_item">
 +
Model
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:Duke/Plant">
 +
<div class="submenu_item">
 +
Plant
 +
</div>
 +
</a>
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:Duke/Software">
 +
<div class="submenu_item">
 +
Software
 +
</div>
 +
</a>
 +
 
 +
</div>
 +
 
 +
 
 +
 
 +
<a href="https://igem.org/2018_Judging_Form?team=Duke">
 +
<div class="menu_item direct_link">
 +
JUDGING FORM ⇗
 +
</div>
 +
</a>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
</div>
 +
 
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 +
<!--- Content of the page  --->
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
  
  
</html>
+
<div class="igem_2018_team_content">
 +
<div class="igem_2018_team_column_wrapper">
 +
<div class="clear extra_space"></div>
 +
<div class="clear extra_space"></div>

Revision as of 22:27, 31 August 2018