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 ********************************/
/* DEFAULT WIKI SETTINGS */
+
/* Wrapper for the menu */
/**************************************************************************************************************************************************************************************************/
+
.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;  
max-width: 270px;
+
position:fixed;  
overflow-y: auto;
+
overflow-x: hidden;
+
 
padding:0px;
 
padding:0px;
position:fixed;  
+
float:left;  
left:0%;
+
background-color:#5452bf;  
 
text-align:left;
 
text-align:left;
width: 15%;
 
 
}
 
}
  
 
+
/* styling for the menu items */
.igem_2018_team_menu.displaying_menu{
+
.menu_item {
display:block;
+
width:100%;
 +
margin:-2px 0px 0px -20px;
 +
padding: 10px 10px; 
 +
border-bottom: 1px solid #d3d3d3;
 +
font-weight:bold;
 +
color:#5452bf;
 +
cursor: pointer;  
 
}
 
}
  
.igem_2018_team_menu  a {
+
/* when hovering on a menu item */
color: #e7dfdd;
+
.menu_item:hover {  
text-decoration:none;
+
color:#000000;  
 +
background-color: #5452bf;
 
}
 
}
  
.igem_2018_team_menu img {
+
/* decoration icon for the menu buttons*/
width:100%;
+
.icon {
 +
float:right; 
 +
font-size:16px;
 +
font-weight:bold;  
 
}
 
}
 
+
 
+
/* this is the icon for when the content is collapsed */
.igem_2018_team_menu .menu_item {
+
.plus::before {
    background-color: #a239ca;
+
content: "+";  
    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: "–";
 +
}
  
.igem_2018_team_menu .menu_item.direct_link {
+
/* styling for the ul that creates the buttons */
color: #d4d4d4;
+
ul.menu_items {
padding-left: 15%;
+
width:100%;  
}
+
margin-left:0px;  
.igem_2018_team_menu .menu_item:hover {
+
padding:0px;
background-color: #4717f6;
+
list-style: none;  
 
}
 
}
  
 
+
/* styling for the li that are the menu items */
.igem_2018_team_menu .menu_item .submenu_control_icon {
+
.menu_items li {  
color: #d4d4d4;
+
width:90%;
float: left;
+
margin-top:-2px;
width: 10%;
+
padding: 15px 0px 15px 15px ;
 +
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;
 
}
 
}
  
/* submenu icon "+"  "-"*/
+
.menu_item a {
.igem_2018_team_menu .menu_item .submenu_control_icon::before {
+
width: 100%;
content: "+";  
+
margin-left: -20px;
 +
padding: 11px 90px 12px 20px;
 +
text-decoration: none;
 +
color:black;
 
}
 
}
  
/* submenu icon "+"  "-"*/
+
/* When hovering on a menu item */
.igem_2018_team_menu .menu_item .submenu_control_icon.open::before {
+
.menu_items li:hover {  
content: "-";  
+
background-color:#5452bf;
 +
color: #000000;
 
}
 
}
  
/*submenu wrapper*/
+
/* styling for the submenus */
.igem_2018_team_menu .submenu{
+
.submenu {
background-color: #e4dede;
+
width:100%;  
clear:both;
+
display: none;
display:none;
+
font-weight:bold;
float: left;
+
cursor:pointer;  
width:100%;
+
 
 
}
 
}
  
/*styling for a submenu item*/
+
/* moving the margin for the submenu ul list */
.igem_2018_team_menu .submenu .submenu_item {
+
ul.submenu {  
border-bottom: 1px solid #c4baba;
+
width: 100%;
  color: #635d5d;
+
margin: 10px 0px -11px 0px;
    height: 30px;
+
list-style: none;
  float: left;
+
    font-size: 110%;
+
font-weight: bold;
+
    padding: 12px 0px 12px 15%;
+
    width: 100%;
+
 
}
 
}
  
.igem_2018_team_menu .submenu .submenu_item:hover {
+
/*styling for the submenu buttons */
background-color: #4717f6;
+
.submenu li {  
 +
width: 100%;
 +
margin-left: 10px;
 +
margin-bottom: 0px;
 
}
 
}
  
  
.igem_2018_team_menu .submenu .submenu_item.current_page,
+
/* hover state for the submenu buttons */
.igem_2018_team_menu .menu_item.current_page,
+
.submenu li a {
.igem_2018_team_menu .menu_item.direct_link.current_page {
+
width: 100%;
background-color:#7acbd8;
+
padding: 5px 10px;
 +
display: inline-block;
 +
border-bottom: 1px solid #d3d3d3;
 +
background-color:white;
 +
text-decoration:none;
 +
color:#000000;  
 
}
 
}
  
  
  
/*mobile menu bar styling*/
+
.submenu li a:hover  {
/**************************************************************************************************************************************************************************************************/
+
background-color:#000000;
 +
color: #5452bf;
 +
}
  
  
.igem_2018_team_mobile_bar {
+
/* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
background-color:#e4dede;
+
.collapsable_menu_control {  
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;
 
}
 
}
  
.igem_logo_mobile img {
+
/* when hovering on that button */
width:70px;
+
.collapsable_menu_control:hover {  
 +
background-color: #5452bf;
 +
color:#000000;
 
}
 
}
  
.igem_logo_mobile {
+
/********************************* CONTENT OF THE PAGE ********************************/
 +
 
 +
/* Wrapper for the content */
 +
.content_wrapper {
 +
width: 85%;
 +
margin-left:150px;
 +
padding:10px 0px;
 
float:left;  
 
float:left;  
padding-left: 5%;
+
background-color:white;  
width: 30%;  
+
 
}
 
}
  
.igem_menu_control_mobile img {
+
/*LAYOUT */
width:25px;
+
.column  {  
 +
padding: 10px 0px;
 +
float:left;
 +
background-color:white;  
 
}
 
}
  
.igem_menu_control_mobile {
+
.full_size {
float:left;
+
width:98%;  
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 */
 
  
/*SLIDESHOW*/
+
.clear {
 +
clear:both;
 +
}
  
* {box-sizing: border-box}
+
.highlight {  
body {font-family: Verdana, sans-serif; margin:0}
+
width: 90%;  
.mySlides {display: none}
+
margin: auto;  
img {vertical-align: middle;}
+
padding: 15px 5px;
 
+
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%;
+
 
}
 
}
  
/* subwrapper to center content */
+
.judges-will-not-evaluate {
.igem_2018_team_content .igem_2018_team_column_wrapper {
+
border: 4px solid #72c9b6;
margin:auto;
+
display: block;
max-width: 1400px;
+
margin: 5px 15px;
width:90%;
+
width: 95%;
 +
font-weight:bold;
 
}
 
}
  
  
 +
/*STYLING */
  
/*general styling*/
+
/* styling for the titles */
/**************************************************************************************************************************************************************************************************/
+
.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 {  
/* styling for the titles h3, h3, h5, h6 */
+
padding:5px 15px;
.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: #928b8b;   
+
color: #000000;   
font-family: "Arial Black", Gadget, sans-serif;
+
padding: 5px 0px;
+
 
}
 
}
  
/* text */
+
 
.igem_2018_team_content .igem_2018_team_column_wrapper p {  
+
/* font and text */
font-size: 130%;
+
.content_wrapper p {  
font-family: Arial, Helvetica, sans-serif;
+
padding:0px 15px;
padding: 5px 0px;
+
font-size: 13px;
text-align: left;
+
font-family: 'Ubuntu', sans-serif;
color: #484848;
+
                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;  
 
}
 
}
  
 
/* Links */
 
/* Links */
.igem_2018_team_content .igem_2018_team_column_wrapper a {
+
.content_wrapper a {  
color: #5bc7d8;
+
 
font-weight: bold;  
 
font-weight: bold;  
 
text-decoration: underline;
 
text-decoration: underline;
text-decoration-color:#5bc7d8;
+
text-decoration-color:#72c9b6;
transition: all 0.4s ease;
+
color: #72c9b6;
 
-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 */
.igem_2018_team_content .igem_2018_team_column_wrapper a:hover {  
+
.content_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 */
.igem_2018_team_content .igem_2018_team_column_wrapper table {  
+
.content_wrapper table {  
border: 1px solid #928b8b;  
+
width: 97%;
 +
margin:15px 10px;
 +
border: 1px solid #d3d3d3;  
 
border-collapse: collapse;  
 
border-collapse: collapse;  
font-size: 130%;
 
width: 100%;
 
 
}
 
}
  
 
/* table cells */
 
/* table cells */
.igem_2018_team_content .igem_2018_team_column_wrapper td {  
+
.content_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 */
.igem_2018_team_content .igem_2018_team_column_wrapper th {  
+
.content_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 {  
/* non numbered lists */
+
margin: 10px auto;
.igem_2018_team_content .igem_2018_team_column_wrapper ul, .igem_2018_team_content .igem_2018_team_column_wrapper ol {
+
padding: 15px; width:12%
font-size: 130%;
+
text-align:center;  
font-family: Arial, Helvetica, sans-serif;
+
font-weight:bold;
padding:0px 20px;
+
background-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;  
 
}
 
}
  
 
+
/* button class on 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,
+
.button_click:hover {  
.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,
+
background-color:#000000;  
.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,
+
color:#72c9b6;
.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;
+
 
}
 
}
  
/* 100% */
+
/********************************* RESPONSIVE STYLING ********************************/
.igem_2018_team_content .igem_2018_team_column_wrapper .column.full_size { width:96%; }
+
  
/* 66% */
+
/* IF THE SCREEN IS LESS THAN 1000PX */
.igem_2018_team_content .igem_2018_team_column_wrapper .column.two_thirds_size { width: 62.6%; }
+
  
/* 33% */
+
@media only screen and (max-width: 1000px) {
.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%;}
/*styling for all images*/
+
.menu_item {display:block;}
.igem_2018_team_content .igem_2018_team_column_wrapper .column.full_size img,
+
.icon {display:none;}
.igem_2018_team_content .igem_2018_team_column_wrapper .column.two_thirds_size img,
+
.highlight {padding:10px 0px;}
.igem_2018_team_content .igem_2018_team_column_wrapper .column.third_size img {
+
margin-bottom: 15px;
+
width: 100%;  
+
 
}
 
}
  
  
/* page break */
+
/* IF THE SCREEN IS LESS THAN 680PX */
.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;
+
}
+
  
/* horizontal line to divide the page*/
+
@media only screen and (max-width: 680px) {
.igem_2018_team_content .igem_2018_team_column_wrapper .line_divider {
+
.collapsable_menu_control { display:block;}
    border-top: 1px solid #c4baba;
+
.menu_item {display:none;}
  margin: auto;
+
.menu_wrapper { width:100%; height: 15%; position:relative;}
  width: 98%;
+
.content_wrapper {width:100%; margin-left:0px;}
 +
.column.half_size {width:100%; }
 +
.column img { width: 100%; padding: 5px 0px;}
 +
.icon {display:block;}
 +
.highlight {padding:15px 5px;}
 
}
 
}
  
 +
</style>
  
  
 
/*support classes*/
 
/**************************************************************************************************************************************************************************************************/
 
  
  
/*Button  */
+
<!--- THIS IS WHERE THE HTML BEGINS --->
/************************************************/
+
.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;
 
}
 
  
.igem_2018_team_content .igem_2018_team_column_wrapper .button_link a:hover {
+
<!-- This tells the browser that your page is responsive -->
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">
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight {
+
          <li class="dropdown">
padding: 15px 20px;
+
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">People <span class="caret"></span></a>
}
+
            <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>
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight p,
+
          <li class="dropdown">
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h1,
+
            <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 h2,
+
            <ul class="dropdown-menu" role="menu">
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h3,
+
                                                  <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 h4,
+
                                               
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h5,
+
            </ul>
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h6 {
+
          </li>
padding: 5px 15px;
+
}
+
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_background {
+
          <li class="dropdown">
background-color: #e4dede;
+
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Project <span class="caret"></span></a>
}
+
            <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>
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_A_top {
+
          <li class="dropdown">
    border-top: 4px solid #5bc7d8;
+
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Biology <span class="caret"></span></a>
}
+
            <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 {
+
    border: 4px solid #5bc7d8;
+
            </ul>
}
+
          </li>
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_B_top {
+
        </ul>
    border-top: 4px solid #f8b732
+
      </div>
}
+
      <!---->
 +
</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 622: Line 474:
  
  
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
<!--- 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>
 
  
  
<div class="igem_menu_control_mobile">
+
<script>
<img id="menu_control_image" src="https://static.igem.org/mediawiki/igem.org/3/3b/Menu_icon.svg">
+
</div>
+
  
</div>
+
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
  
 +
$(document).ready(function() {
  
 
+
$("#HQ_page").attr('id','');
 
+
<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>
 
  
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Collaborations">
+
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
<div class="submenu_item">
+
$("#team_name").html( wgPageName );
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 ) );
 +
}
  
<!-- Project -->
+
else {
<div class="menu_item">
+
// this adds the team's name as an h1
<div class="submenu_control_icon"> </div>
+
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/")  ) );
PROJECT
+
</div>
+
<div class="submenu">
+
+
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Description">
+
<div class="submenu_item">
+
Description
+
</div>
+
</a>
+
  
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Design">
+
// this adds the page's title as an h4
<div class="submenu_item">
+
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
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>
 
  
<a href="https://2018.igem.org/Team:East_Chapel_Hill/InterLab">
+
$('#accordion').find('.menu_item').click(function(){
<div class="submenu_item">
+
InterLab
+
</div>
+
</a>
+
  
 +
//Expand or collapse this panel
 +
submenu = $(this).find('.submenu');
 +
submenu.toggle();
  
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Model">
+
icon = $(this).find('.icon');
<div class="submenu_item">
+
Model
+
</div>
+
</a>
+
  
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Results">
+
if ( !$( submenu ).is(':visible') ) {
<div class="submenu_item">
+
icon.removeClass("less").addClass("plus");
Results
+
}
</div>
+
else {
</a>
+
icon.removeClass("plus").addClass("less");
 +
}
  
 +
//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>
 
  
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Improve">
+
$(".collapsable_menu_control").click(function() {
<div class="submenu_item">
+
$(".menu_item").toggle();
Improve
+
});
</div>
+
</a>
+
  
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Attributions">
+
$( window ).resize(function() {
<div class="submenu_item">
+
$(".menu_item").show();
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>
 
  
<a href="https://2018.igem.org/Team:East_Chapel_Hill/Part_Collection">
+
</script>
<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:03, 29 June 2018