Difference between revisions of "Template:East Chapel Hill"

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: auto; padding:0px; width:100%;} /*-left: 50px; margin-top:-7px; margin-right: 0px*/
 +
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:left;  
 
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:#5452bf;  
+
left: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:#5452bf;
+
cursor: pointer;  
+
 
}
 
}
  
/* when hovering on a menu item */
+
.igem_2018_team_menu  a {
.menu_item:hover {  
+
color: #e7dfdd;
color:#000000;  
+
text-decoration:none;
background-color: #5452bf;
+
 
}
 
}
  
/* 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: #a239ca;
 +
    border-bottom: 1px solid #928b8b;
 +
    clear: both;
 +
color: #d4d4d4;
 +
    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: #d4d4d4;
width:100%;  
+
padding-left: 15%;
margin-left:0px;  
+
}
padding:0px;
+
.igem_2018_team_menu .menu_item:hover {
list-style: none;  
+
background-color: #4717f6;
 
}
 
}
  
/* styling for the li that are the menu items */
+
 
.menu_items li {  
+
.igem_2018_team_menu .menu_item .submenu_control_icon {
width:90%;
+
color: #d4d4d4;
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:#5452bf;
+
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:#5452bf;
+
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 12px 15%;
 +
    width: 100%;
 
}
 
}
  
/*styling for the submenu buttons */
+
.igem_2018_team_menu .submenu .submenu_item:hover {
.submenu li {  
+
background-color: #4717f6;
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: #5452bf;
+
}
+
  
  
/* 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;
 +
border-bottom: 1px solid #c4baba;
 +
cursor:pointer;
 +
display:none;
 +
float:left;
 +
margin-top: 0;
 +
padding: 5px 0;
 +
position:fixed;
 
width:100%;  
 
width:100%;  
padding: 15px 0px;
 
display:none;
 
background-color:#000000;
 
text-align:center; 
 
font-weight:bold;
 
color:#72c9b6;
 
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;
 
 
}
 
}
  
/* when hovering on that button */
+
.igem_logo_mobile img {
.collapsable_menu_control:hover {  
+
width:70px;
background-color: #5452bf;
+
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:left;
 +
padding-left:5%;
 +
padding-top:5px;
 +
text-align:left;
 +
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 {
+
/*SLIDESHOW*/
clear:both;
+
}
+
  
.highlight {  
+
* {box-sizing: border-box}
width: 90%;  
+
body {font-family: Verdana, sans-serif; margin:0}
margin: auto;  
+
.mySlides {display: none}
padding: 15px 5px;
+
img {vertical-align: middle;}
background-color: #f2f2f2;  
+
 
 +
/* Slideshow container */
 +
.slideshow-container {
 +
  max-width: 1000px;
 +
  position: relative;
 +
  left: 120px;
 +
  margin: auto;
 +
}
 +
 
 +
/* Next & previous buttons */
 +
.prev, .next {
 +
  cursor: pointer;
 +
  position: absolute;
 +
  top: 50%;
 +
  width: auto;
 +
  padding: 16px;
 +
  margin-top: -22px;
 +
  color: white;
 +
  font-weight: bold;
 +
  font-size: 18px;
 +
  transition: 0.6s ease;
 +
  border-radius: 0 3px 3px 0;
 +
}
 +
 
 +
/* Position the "next button" to the right */
 +
.next {
 +
  right: 0;
 +
  border-radius: 3px 0 0 3px;
 +
}
 +
 
 +
/* On hover, add a black background color with a little bit see-through */
 +
.prev:hover, .next:hover {
 +
  background-color: rgba(0,0,0,0.8);
 +
}
 +
 
 +
/* Caption text */
 +
.text {
 +
  color: #f2f2f2;
 +
  font-size: 15px;
 +
  padding: 8px 12px;
 +
  position: absolute;
 +
  bottom: 8px;
 +
  width: 100%;
 +
  text-align: center;
 +
}
 +
 
 +
/* Number text (1/3 etc) */
 +
.numbertext {
 +
  color: #f2f2f2;
 +
  font-size: 12px;
 +
  padding: 8px 12px;
 +
  position: absolute;
 +
  top: 0;
 +
}
 +
 
 +
/* The dots/bullets/indicators */
 +
.dot {
 +
  cursor: pointer;
 +
  height: 15px;
 +
  width: 15px;
 +
  margin:auto;
 +
  background-color: #bbb;
 +
  border-radius: 50%;
 +
  display: inline-block;
 +
  transition: background-color 0.6s ease;
 +
}
 +
 
 +
.active, .dot:hover {
 +
  background-color: #717171;
 +
}
 +
 
 +
/* Fading animation */
 +
.fade {
 +
  -webkit-animation-name: fade;
 +
  -webkit-animation-duration: 1.5s;
 +
  animation-name: fade;
 +
  animation-duration: 1.5s;
 +
}
 +
 
 +
@-webkit-keyframes fade {
 +
  from {opacity: .4}
 +
  to {opacity: 1}
 +
}
 +
 
 +
@keyframes fade {
 +
  from {opacity: .4}
 +
  to {opacity: 1}
 +
}
 +
 
 +
/* On smaller screens, decrease text size */
 +
@media only screen and (max-width: 300px) {
 +
  .prev, .next,.text {font-size: 11px}
 +
}
 +
 
 +
 
 +
/**************************************************************************************************************************************************************************************************/
 +
 
 +
/* general wrapper for the content */
 +
.igem_2018_team_content {
 +
background-color:white;
 +
display:block;
 +
                float:right;
 +
         
 +
width: 87%;
 
}
 
}
  
.judges-will-not-evaluate {
+
/* subwrapper to center content */
border: 4px solid #72c9b6;
+
.igem_2018_team_content .igem_2018_team_column_wrapper {
display: block;
+
margin:auto;
margin: 5px 15px;
+
max-width: 1400px;
width: 95%;
+
width:90%;
font-weight:bold;
+
 
}
 
}
  
  
/*STYLING */
 
  
/* styling for the titles */
+
/*general styling*/
.content_wrapper h1, .content_wrapper h2 {
+
/**************************************************************************************************************************************************************************************************/
padding:5px 15px;
+
border-bottom:0px;
+
color:#72c9b6;
+
  
 +
.igem_2018_team_content .igem_2018_team_column_wrapper h1 { font-size: 210%;}
 +
.igem_2018_team_content .igem_2018_team_column_wrapper h2 { font-size: 190%;}
 +
.igem_2018_team_content .igem_2018_team_column_wrapper h3 { font-size: 170%;}
 +
.igem_2018_team_content .igem_2018_team_column_wrapper h4 { font-size: 150%;}
 +
.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: 10px;
 
}
 
}
  
/********************************* 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://2018.igem.org/Team:East_Chapel_Hill/main?action=raw&amp;ctype=text/css" rel="stylesheet"> <!--modifies css based on bootstrap.css-->
 
  <script src="https://2018.igem.org/Team:East_Chapel_Hill/jquery?action=raw&ctype=text/javascript"></script> <!--necessary for bootstrap-->
 
  <script src="https://2018.igem.org/Team:East_Chapel_Hill/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>
 
  
<!--Logo-->
 
<a class="navbar-left" href="https://2018.igem.org/Team:East_Chapel_Hill">
 
<img id="logo" src="http://via.placeholder.com/350x150" 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:East_Chapel_Hill/Team">Members</a></li>
+
                                         
+
                                                  <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/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:East_Chapel_Hill/Collaborations">Overview</a></li>
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h3,
                                               
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h4,
            </ul>
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h5,
          </li>
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h6 {
 +
padding: 5px 15px;
 +
}
  
          <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:East_Chapel_Hill/Description">Description</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Design">Design</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Results">Results</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Improve">Improve</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:East_Chapel_Hill/Experiments">Experiments</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Notebook">Notebook</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Safety">Safety</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Parts">Parts</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Basic_Part">Basic Parts</a></li>
+
                                                  <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/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:East_Chapel_Hill/Modell">Model Overview</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:East_Chapel_Hill/Human_Practices</a></li>
 
                                                  <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Public_Engagement">Public Engagement</a></li>
 
                                           
 
            </ul>
 
          </li>
 
  
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_A_full {
            </ul>
+
    border: 4px solid #5bc7d8;
          </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 --->
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 +
 +
<html>
 +
<head>
 +
 +
<!-- This tells the browser that your page is responsive -->
 +
<meta name="viewport" content="width=device-width, initial-scale=1">
 +
<link href="file:///C:/Users/melis/Documents/Code/main.css" rel="stylesheet">
  
 
</head>
 
</head>
Line 474: Line 622:
  
  
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 +
<!--- 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:East_Chapel_Hill">
 +
<img src="http://placehold.it/350x150/e4dede/c4baba">
 +
</a>
 +
 
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill">
 +
<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:East_Chapel_Hill/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:East_Chapel_Hill/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:East_Chapel_Hill/Description">
 +
<div class="submenu_item">
 +
Description
 +
</div>
 +
</a>
  
// this adds the page's title as an h4
+
<a href="https://2018.igem.org/Team:East_Chapel_Hill/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:East_Chapel_Hill/Experiments">
 +
<div class="submenu_item">
 +
Experiments
 +
</div>
 +
</a>
  
  
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Notebook">
 +
<div class="submenu_item">
 +
Notebook
 +
</div>
 +
</a>
  
$('#accordion').find('.menu_item').click(function(){
+
<a href="https://2018.igem.org/Team:East_Chapel_Hill/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:East_Chapel_Hill/Model">
 +
<div class="submenu_item">
 +
Model
 +
</div>
 +
</a>
  
if ( !$( submenu ).is(':visible') ) {
+
<a href="https://2018.igem.org/Team:East_Chapel_Hill/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:East_Chapel_Hill/Demonstrate">
 +
<div class="submenu_item">
 +
Demonstrate
 +
</div>
 +
</a>
  
$(".collapsable_menu_control").click(function() {
+
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Improve">
$(".menu_item").toggle();
+
<div class="submenu_item">
});
+
Improve
 +
</div>
 +
</a>
  
$( window ).resize(function() {
+
<a href="https://2018.igem.org/Team:East_Chapel_Hill/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:East_Chapel_Hill/Parts">
 +
<div class="submenu_item">
 +
Parts Overview
 +
</div>
 +
</a>
  
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Basic_Part">
 +
<div class="submenu_item">
 +
Basic Parts
 +
</div>
 +
</a>
  
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Composite_Part">
 +
<div class="submenu_item">
 +
Composite Parts
 +
</div>
 +
</a>
  
</script>
+
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Part_Collection">
 +
<div class="submenu_item">
 +
Part Collection
 +
</div>
 +
</a>
 +
</div>
 +
 
 +
 +
 +
 +
 +
 
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill/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:East_Chapel_Hill/Human_Practices">
 +
<div class="submenu_item">
 +
Human Practices
 +
</div>
 +
</a>
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill/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:East_Chapel_Hill/Applied_Design">
 +
<div class="submenu_item">
 +
Applied Design
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Entrepreneurship">
 +
<div class="submenu_item">
 +
Entrepreneurship
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Hardware">
 +
<div class="submenu_item">
 +
Hardware
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Measurement">
 +
<div class="submenu_item">
 +
Measurement
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Model">
 +
<div class="submenu_item">
 +
Model
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Plant">
 +
<div class="submenu_item">
 +
Plant
 +
</div>
 +
</a>
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Software">
 +
<div class="submenu_item">
 +
Software
 +
</div>
 +
</a>
 +
 
 +
</div>
 +
 
 +
 
 +
 
 +
<a href="https://igem.org/2018_Judging_Form?team=East_Chapel_Hill">
 +
<div class="menu_item direct_link">
 +
JUDGING FORM ⇗
 +
</div>
 +
</a>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
</div>
 +
 
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 +
<!--- Content of the page  --->
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
  
  
 +
<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>
 
</html>
 
</html>

Revision as of 01:04, 29 June 2018