Difference between revisions of "Template:NUS Singapore-A"

Line 1: Line 1:
 
<html>
 
<html>
<head>
 
<meta name="viewport" content="width=device-width, initial-scale=1">
 
<meta charset="utf-8">
 
<meta http-equiv="X-UA-Compatible" content="IE=edge">
 
</head>
 
 
<script>
 
<script>
 
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// This is the jquery part of your template. 
+
// Try not modify any of this code too much since it makes your menu work.
+
  
 
$(document).ready(function() {
 
$(document).ready(function() {
  
 
$("#HQ_page").attr('id','');
 
$("#HQ_page").attr('id','');
 +
  
// call the functions that control the menu  
+
//highlight current page on the menu
menu_functionality();  
+
highlight_current_page_menu();
hide_show_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");
 +
 +
}
 +
}
  
//this function controls the expand and collapse buttons of the menu and changes the +/- symbols
 
function menu_functionality() {
 
  
//when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$(".menu_button").click(function(){
+
</script>
  
// add or remove the class "open" , this class holds the "-"
 
$(this).children().toggleClass("open");
 
// show or hide the submenu
 
$(this).next('.submenu_wrapper').fadeToggle(400);
 
});
 
  
// when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu
+
<style>
$("#display_menu_control").click(function(){
+
/**************************************************************************************************************************************************************************************************/
$('#menu_content').fadeToggle(400);
+
});
+
  
// call the current page highlight function
 
highlight_current_page();
 
}
 
  
  
// call the highlight current page function to show it on the menu with a different background color
+
/**************************************************************************************************************************************************************************************************/
function highlight_current_page() {
+
/* DEFAULT WIKI SETTINGS */
 +
/**************************************************************************************************************************************************************************************************/
  
// select a page from the menu based on the id assigned to it and the current page name and add the class "current page" to make it change background color
 
$("#"+  wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page");
 
  
// now that the current_page class has been added to a menu item, make the submenu fade in
+
#home_logo, #sideMenu { display:none; }
$(".current_page").parents(".submenu_wrapper").fadeIn(400);
+
#sideMenu, #top_title, .patrollink  {display:none;}
// change the +/- symbol of the corresponding menu button
+
#content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;}
$(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open");
+
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;}
  
  
// allow button on the black menu bar to show/hide the side menu
+
/**************************************************************************************************************************************************************************************************/
function hide_show_menu() {
+
/* MENU */
+
/**************************************************************************************************************************************************************************************************/
// in case you preview mode is selected, the menu is hidden for better visibility
+
if (window.location.href.indexOf("submit") >= 0) {
+
$(".igem_2017_menu_wrapper").hide();
+
}
+
  
// if the black menu bar has been loaded
+
/*this wraps the whole of the menu*/
  if (document.getElementById('bars_item')) {
+
.igem_2018_team_menu {  
 +
background-color:#c4baba;
 +
border-left: 1px solid #c4baba;
 +
display:block;
 +
float:right;
 +
height:100vh;
 +
max-width: 270px;
 +
overflow-y: auto;
 +
overflow-x: hidden;
 +
padding:0px;
 +
position:fixed;
 +
right:0%;
 +
text-align:left;
 +
width: 15%;
 +
}
  
// when the "bars_item" has been clicked
 
$("#bars_item").click(function() {
 
$("#sideMenu").hide();
 
  
// show/hide the menu wrapper
+
.igem_2018_team_menu.displaying_menu{
$(".igem_2017_menu_wrapper").fadeToggle("100");
+
display:block;
});
+
}
  }  
+
  
// because the black menu bars loads at a different time than the rest of the page, this function is set on a time out so it can run again in case it has not been loaded yet
+
.igem_2018_team_menu  a {
else {
+
color: #484848;
    setTimeout(hide_show_menu, 15);
+
text-decoration:none;
}
+
}
}
+
  
 +
.igem_2018_team_menu img {
 +
width:100%;
 +
}
  
});
 
  
 +
.igem_2018_team_menu .menu_item {
 +
    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%;
 +
}
  
</script>
+
.igem_2018_team_menu .menu_item.direct_link {
 +
color: #484848;
 +
padding-left: 15%;
 +
}
 +
.igem_2018_team_menu .menu_item:hover {
 +
background-color: #ecb656;
 +
}
  
  
<style>
+
.igem_2018_team_menu .menu_item .submenu_control_icon {
 +
color: #484848;
 +
float: left;
 +
width: 10%;
 +
}
  
 +
/* submenu icon "+"  "-"*/
 +
.igem_2018_team_menu .menu_item .submenu_control_icon::before {
 +
content: "+";
 +
}
  
 +
/* submenu icon "+"  "-"*/
 +
.igem_2018_team_menu .menu_item .submenu_control_icon.open::before {
 +
content: "-";
 +
}
  
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
+
/*submenu wrapper*/
/* Clear the default wiki settings */
+
.igem_2018_team_menu .submenu{
     
+
background-color: #e4dede;
#home_logo, #sideMenu { display:none; }
+
clear:both;
#sideMenu, #top_title, .patrollink  {display:none;}
+
display:none;
#content { width:100%; padding:0px;  margin-top:-7px; margin-left:0px;}
+
float: left;
body {background-color:white; }
+
width:100%;
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
+
}
+
/**************************************************************** MENU ***************************************************************/
+
  
 +
/*styling for a submenu item*/
 +
.igem_2018_team_menu .submenu .submenu_item {
 +
border-bottom: 1px solid #c4baba;
 +
  color: #635d5d;
 +
    height: 30px;
 +
  float: left;
 +
    font-size: 110%;
 +
font-weight: bold;
 +
    padding: 12px 0px 0px 15%;
 +
    width: 100%;
 +
}
  
/********** Class for spliting different section = Clear content below while adds extra spacing when clearing content **********/
+
.igem_2018_team_menu .submenu .submenu_item:hover {
.clear {
+
background-color: #f3bd5d;
    clear:both;
+
}
    height: 50px;
+
}
+
  
.clear-largespace{
 
    clear:both;
 
    height: 100px;
 
}
 
  
/**********  Basic Content Class CSS Style  **********/
+
.igem_2018_team_menu .submenu .submenu_item.current_page,
p {
+
.igem_2018_team_menu .menu_item.current_page,  
  font-family:"Montserrat", serif;
+
.igem_2018_team_menu .menu_item.direct_link.current_page {
  font-size: 18px;
+
background-color:#7acbd8;
  line-height:150%;
+
}
  text-align:justify;
+
  color:#000000;
+
}
+
  
h1 {
 
  color: #b48608;
 
  font-family: 'Bookman', serif;
 
  font-size: 40px;
 
  font-weight: 400;
 
  line-height: 44px;
 
  margin: 0 0 12px; 
 
  text-align: center;
 
  font-weight: 1500;
 
  text-decoration: underline;
 
  border-style: none;
 
}
 
  
h2 {
 
  color: #2E86C1;
 
  font-family:"Calibri", serif;
 
  font-size: 30px;
 
  font-weight: 200;
 
  line-height: 44px;
 
  margin: 0 0 12px; 
 
  text-align: center;
 
  font-weight: bold;
 
  width:80%;
 
  padding-left:10%;
 
  padding-right:10%;
 
}
 
  
#teamh2 {
+
/*mobile menu bar styling*/
  width:100%;
+
/**************************************************************************************************************************************************************************************************/
  padding-left:0;
+
  padding-right:0;
+
}
+
  
h3 {
 
  color:#FAA403;
 
  font-family:"Calibri", serif;
 
  font-size: 25px;
 
  font-weight: 200;
 
  line-height: 44px;
 
  margin: 0 0 12px;
 
  text-align: left;
 
  font-weight:bold;
 
  width:80%;
 
  padding-left:10%;
 
  padding-right:10%;
 
  }
 
  
h4 {  
+
.igem_2018_team_mobile_bar {
  color:#b48608;  
+
background-color:#e4dede;  
  font-family:"Calibri", serif;
+
border-bottom: 1px solid #c4baba;
  font-size: 20px;  
+
cursor:pointer;
  font-weight: 180;  
+
display:none;  
  line-height: 44px;  
+
float:left;
  margin: 0 0 12px;  
+
margin-top: 0;
  text-align: center;
+
padding: 5px 0;
  font-weight:bold;
+
position:fixed;
  width:80%;
+
width:100%;  
  padding-left:10%;
+
}
  padding-right:10%;
+
  }
+
  
.nus ul {
+
.igem_logo_mobile img {
  font-family:"Montserrat", serif;
+
width:70px;
  font-size: 18px;
+
}
  line-height:150%;
+
  color:#000000;
+
 
+
}
+
  
.nus ol {
+
.igem_logo_mobile {
font-family:"Montserrat", serif;
+
float:left;  
  font-size: 18px;
+
padding-left: 5%;
  line-height:150%;
+
width: 30%;  
        color:#000000;
+
}
}
+
.nus {
+
font-family:"Montserrat", serif;
+
  font-size: 18px;
+
  line-height:150%;
+
        color:#000000;
+
}
+
  
ul.nus {
+
.igem_menu_control_mobile img {
  font-family:"Montserrat", serif;
+
width:25px;
  font-size: 18px;
+
}
  line-height:150%;
+
  color:#000000;
+
 
+
}
+
  
ol.nus  {
+
.igem_menu_control_mobile {
font-family:"Montserrat", serif;
+
float:right;
  font-size: 18px;
+
padding-right:5%;  
  line-height:150%;
+
padding-top:5px;
        color:#000000;
+
text-align:right;  
}
+
width: 30%;  
 +
}
  
  
/******************  image description subline  ****************/
 
#imgdescription {
 
        font-size:15px;
 
        width:60%;
 
        padding-left:20%;
 
        padding-right:20%;
 
        font-style:oblique;
 
        text-align:center;
 
}
 
  
/******************   Reference  ****************/
+
/**************************************************************************************************************************************************************************************************/
#Ref {
+
/* CONTENT OF THE PAGE */
        font-size:15px;
+
/**************************************************************************************************************************************************************************************************/
}
+
  
/************************************************** Back to top button style **************************************************/
+
/* general wrapper for the content */
#BacktoTopBtn {
+
.igem_2018_team_content {
  display: none;
+
background-color:white;  
  position: fixed;
+
display:block;
  bottom: 20px;
+
width: 87%;
  right: 30px;
+
}
  z-index: 99;
+
  border: none;
+
  outline: none;
+
  background-color: #F5B041;
+
  color: white;
+
  cursor: pointer;
+
  padding: 15px;
+
  border-radius: 20px;
+
}
+
  
#BacktoTopBtn:hover {
+
/* subwrapper to center content */
  background-color: #2980B9;
+
.igem_2018_team_content .igem_2018_team_column_wrapper {
}
+
margin:auto;
 +
max-width: 1400px;
 +
width:90%;
 +
}
  
/************************************************** Top menu and Dropdown list **************************************************/
 
  
.team-logo {
 
    width:20%;
 
    height:140px;
 
    margin-left:20px;
 
    padding-top:5px;
 
    position:absolute;
 
}
 
  
.topmenu-container {
+
/*general styling*/
    overflow: hidden;
+
/**************************************************************************************************************************************************************************************************/
    background-color: #F8F9F9;
+
    padding-top:100px;
+
    margin:0;
+
    }
+
  
.topmenu-container a {
+
.igem_2018_team_content .igem_2018_team_column_wrapper h1 { font-size: 210%;}
    float: right;
+
.igem_2018_team_content .igem_2018_team_column_wrapper h2 { font-size: 190%;}
    font-family:"Comic Sans MS", sans-serif;
+
.igem_2018_team_content .igem_2018_team_column_wrapper h3 { font-size: 170%;}
    font-size: 18px;
+
.igem_2018_team_content .igem_2018_team_column_wrapper h4 { font-size: 150%;}
    color: #566573;
+
.igem_2018_team_content .igem_2018_team_column_wrapper h5 { font-size: 140%;}
    text-align: center;
+
.igem_2018_team_content .igem_2018_team_column_wrapper h6 { font-size: 130%;}
    padding: 19px 16px;
+
    text-decoration: none;
+
    border: none;
+
   
+
}
+
  
.dropdown {
 
    float: right;
 
    overflow: hidden;
 
}
 
  
.dropdown  .dropbtn {
+
/* styling for the titles h1, h2*/
    font-family:"Comic Sans MS", sans-serif;
+
.igem_2018_team_content .igem_2018_team_column_wrapper h1, .igem_2018_team_content .igem_2018_team_column_wrapper h2 {
    font-size: 18px;
+
border-bottom:0px;
    border: none;
+
color: #635d5d;
    text-align: center;
+
font-family: "Arial Black", Gadget, sans-serif;
    outline: none;
+
padding: 10px 0px;
    color:  #566573;
+
}
    padding: 14px 16px;
+
    background-color: inherit;
+
}
+
  
.dropdown-content {
+
/* styling for the titles h3, h3, h5, h6 */
    display: none;
+
.igem_2018_team_content .igem_2018_team_column_wrapper h3,
    position: absolute;
+
.igem_2018_team_content .igem_2018_team_column_wrapper h4,
    background-color:#FFFFFF;
+
.igem_2018_team_content .igem_2018_team_column_wrapper h5,
    min-width: 160px;
+
.igem_2018_team_content .igem_2018_team_column_wrapper h6 {  
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
+
border-bottom:0px;  
    z-index: 1;
+
color: #928b8b;
}
+
font-family: "Arial Black", Gadget, sans-serif;
 +
padding: 5px 0px;
 +
}
  
.dropdown-content a {
+
/* text */
    float: none;
+
.igem_2018_team_content .igem_2018_team_column_wrapper p {  
    color: #566573;
+
font-size: 130%;
    padding: 12px 16px;
+
font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
+
padding: 5px 0px;
    display: block;
+
text-align: left;
    text-align: center;
+
color: #484848;
}
+
}
  
 +
/* Links */
 +
.igem_2018_team_content .igem_2018_team_column_wrapper a {
 +
color: #5bc7d8;
 +
font-weight: bold;
 +
text-decoration: underline;
 +
text-decoration-color:#5bc7d8;
 +
transition: all 0.4s ease;
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;
 +
-ms-transition: all 0.4s ease;
 +
-o-transition: all 0.4s ease;
 +
}
  
/***************************************************    Hover effect of Top menu  ***************************************/
+
/* hover for the links */
.topmenucontainer a:hover, .dropdown:hover .dropbtn {
+
.igem_2018_team_content .igem_2018_team_column_wrapper a:hover {  
    background-color: #AED6F1;
+
color: #f8b732;
}
+
text-decoration:none;
 +
}
  
.dropdown-content a:hover {
 
    background-color: #ddd;
 
}
 
  
.dropdown:hover .dropdown-content {
+
/* Table */
    display: inline-block;
+
.igem_2018_team_content .igem_2018_team_column_wrapper table {  
}
+
border: 1px solid #928b8b;
 +
border-collapse: collapse;
 +
font-size: 130%;
 +
width: 100%;  
 +
}
  
 +
/* table cells */
 +
.igem_2018_team_content .igem_2018_team_column_wrapper td {
 +
border: 1px solid #c4baba;
 +
border-collapse: collapse;
 +
font-size: 105%;
 +
padding: 10px;
 +
vertical-align: text-top;
 +
}
  
/***************************  Social contact link *************************/
+
/* table headers */
.fa {
+
.igem_2018_team_content .igem_2018_team_column_wrapper th {  
  padding: 20px;
+
background-color:#c4baba;  
  font-size: 30px;
+
border: 1px solid #928b8b;  
  width: 30px;
+
border-collapse: collapse;  
  text-align: center;
+
font-size: 110%;
  text-decoration: none;
+
padding: 10px;  
  border-radius: 50%;
+
vertical-align: text-top;  
}
+
}
  
.fa:hover {
 
    opacity: 0.7;
 
}
 
  
.fa-facebook {
 
  background: #3B5998;
 
  color: #FFFFFF;
 
}
 
  
.fa-instagram {
+
/* non numbered lists */
  background: #125688;
+
.igem_2018_team_content .igem_2018_team_column_wrapper ul, .igem_2018_team_content .igem_2018_team_column_wrapper ol {
  color: #FFFFFF;
+
font-size: 130%;
}
+
font-family: Arial, Helvetica, sans-serif;
 +
padding:0px 20px;
 +
}
  
.fa-google {
 
  background: #dd4b39;
 
  color: #FFFFFF;
 
}
 
  
/************************  Quick Link Footer  **************************/
+
.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,
.quicklink p {
+
.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:#F0F3F4;
+
.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,
width:100%;
+
.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,
text-align: center;
+
.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,
height:60px;
+
.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%; }
padding:10px;
+
margin:0px;
+
font-weight: bold;
+
font-size: 20px;
+
}
+
  
.quicklink-container {
 
      background-color:#F0F3F4;
 
      width:100%;
 
      height:200px;
 
      position:absolute;
 
}
 
.quicklink-1 {
 
background-color:#F0F3F4;
 
width:25%;
 
height:300px;
 
padding-left:7%;
 
padding-right:7%;
 
position:relative;
 
float:left;
 
text-align: center;
 
text-decoration: none;
 
  
}
 
.quicklink-2 {
 
background-color:#F0F3F4;
 
width:25%;
 
height:300px;
 
padding-left:7%;
 
padding-right:7%;
 
position:relative;
 
float:left;
 
text-align: center;
 
text-decoration: none;
 
}
 
.quicklink-3 {
 
background-color:#F0F3F4;
 
width:25%;
 
height:300px;
 
padding-left:7%;
 
padding-right:7%;
 
position:relative;
 
float:left;
 
text-align: center;
 
text-decoration: none;
 
}
 
.quicklink-4 {
 
background-color:#F0F3F4;
 
width:25%;
 
height:300px;
 
padding-left:7%;
 
padding-right:7%;
 
position:relative;
 
float:left;
 
text-align: center;
 
text-decoration: none;
 
}
 
  
.quicklink-4 a {
+
/*layout classes*/
        color:#808B96;
+
/**************************************************************************************************************************************************************************************************/
          font-size:15px;
+
}
+
.quicklink-3 a {
+
        color:#808B96;
+
font-size:15px;
+
}
+
.quicklink-2 a {
+
        color:#808B96;
+
font-size:15px;
+
}
+
.quicklink-1 a {
+
        color:#808B96;
+
font-size:15px;
+
}
+
  
/**************************************** Sponsor and Social Connact Link Cover  ****************************************/
+
/*main layout class */
.footer-container{
+
.igem_2018_team_content .igem_2018_team_column_wrapper .column  {  
  width:100%;
+
float:left;
  height:300px;
+
margin: 1% 2%;
  background-color:#F0F3F4 ;
+
padding: 0px;
  position:absolute;
+
}
}
+
  
.footer-sponsor-container{
+
/* 100% */
  width:70%; /*split the sponsor container from the full footer-container */
+
.igem_2018_team_content .igem_2018_team_column_wrapper .column.full_size { width:96%; }
  background-color:inherit;
+
padding:20px;
+
  padding-top:30px;
+
  float:left;
+
}
+
  
.footer-contact-container{
+
/* 66% */
  width:30%; /*split the sponsor container from the full footer-container */
+
.igem_2018_team_content .igem_2018_team_column_wrapper .column.two_thirds_size { width: 62.6%; }
  padding-top:20px;
+
  background-color:inherit;
+
  float:right;
+
}
+
  
img.social-icon {
+
/* 33% */
    margin:2%;
+
.igem_2018_team_content .igem_2018_team_column_wrapper .column.third_size { width: 29.3%; }
    position:relative;
+
    float:left;
+
  
}
 
  
  
/*Responsive Deisgn*/
 
  
 +
/*styling for all images*/
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .column.full_size img,
 +
.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%;
 +
}
  
/*********************  Responsive Design  *********************/
 
  
/*  
+
/* page break */
  ##Device = Tablets, Ipads (landscape)
+
.igem_2018_team_content .igem_2018_team_column_wrapper .clear {
  ##Screen = B/w 768px to 1024px
+
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 (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
+
/* horizontal line to divide the page*/
 
+
.igem_2018_team_content .igem_2018_team_column_wrapper .line_divider {
}
+
    border-top: 1px solid #c4baba;
 +
  margin: auto;
 +
  width: 98%;
 +
}
  
/*
 
  ##Device = Most of the Smartphones Mobiles (Portrait)
 
  ##Screen = B/w 320px to 479px
 
  ##Device = Tablets, Ipads (portrait)
 
  ##Screen = B/w 768px to 1024px
 
*/
 
  
@media (min-width: 0px) and (max-width: 1024px) {
 
  
/*Basics*/
+
  p {
+
/*support classes*/
      font-size: 13px;
+
/**************************************************************************************************************************************************************************************************/
      }
+
  
.nus ul{
 
  font-size: 10px;
 
}
 
  
.nus ol {
+
/*Button  */
  font-size: 10px;
+
/************************************************/
}
+
.igem_2018_team_content .igem_2018_team_column_wrapper .button_link {
 +
font-size: 130%;
 +
margin: 30px auto;
 +
text-align: center;
 +
}
  
ol.nus {
+
.igem_2018_team_content .igem_2018_team_column_wrapper .button_link a  {
  font-size: 10px;
+
background-color: #5bc7d8;
}
+
color: #635d5d !important;
 +
font-weight: bold;
 +
margin: auto;
 +
text-decoration: none !important;
 +
padding: 10px 15px;
 +
}
  
ul.nus {
+
.igem_2018_team_content .igem_2018_team_column_wrapper .button_link a:hover {
  font-size: 10px;
+
background-color: #f8b732 !important;  
}
+
}
  
.nus {
 
  font-size: 10px;
 
}
 
  
h1 {
 
  font-size: 28px;
 
}
 
  
h2 {  
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight {  
  font-size: 20px;  
+
padding: 15px 20px;
}
+
}
  
h3 {  
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight p,
  font-size: 15px;  
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h1,
}
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h2,
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h3,
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h4,
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h5,
 +
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h6 {
 +
padding: 5px 15px;
 +
}
  
#imgdescription {
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_background {
        font-size:8px;
+
background-color: #e4dede;  
}
+
}
  
/*drop down menu*/
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_A_top {
.team-logo {
+
    border-top: 4px solid #5bc7d8;
      margin:0px;
+
}
      width:100%;
+
      height:200px;
+
      position:relative;
+
  }
+
  
  .topmenu-container {
 
      padding:10px;
 
      }
 
  
  .topmenu-container a{
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_A_full {
      font-size: 18px;
+
    border: 4px solid #5bc7d8;
      padding: 8px 5px;
+
}
      font-weight:1000;
+
  }
+
  
  .dropdown .dropbtn {
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_B_top {
      font-size: 18px;
+
    border-top: 4px solid #f8b732
      padding: 7px 4px;
+
}
      font-weight:1000;
+
    display: inline-block; 
+
  }
+
  
  .dropdown-content {
 
    min-width: 10px;
 
    box-shadow: 0px 4px 6px 0px rgba(0,0,0,0.2);
 
    }
 
  
  .dropdown-content a{
+
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_B_full {
    padding: 8px;
+
    border: 4px solid #f8b732;
  }
+
}
  
.social-icon img {
 
    width:25%;
 
    display:block;
 
    padding:5px;
 
    position:relative;
 
    float:left;
 
  }
 
  
  #Ref {
 
font-size:8px;
 
  }
 
  
/******************  image description subline  ****************/
 
#imgdescription {
 
        font-size:8px;
 
        width:80%;
 
        padding-left:10%;
 
        padding-right:10%;
 
        font-style:oblique;
 
        text-align:center;
 
}
 
  
/************************************************** Back to top button style **************************************************/
+
/*mobile*/
#BacktoTopBtn {
+
/**************************************************************************************************************************************************************************************************/
  display: none;
+
  position: fixed;
+
  bottom: 3px;
+
  right: 5px;
+
  z-index: 99;
+
  border: none;
+
  outline: none;
+
  background-color: #F5B041;
+
  color: white;
+
  cursor: pointer;
+
  padding: 5px;
+
  border-radius: 20px;
+
}
+
  
#BacktoTopBtn:hover {
 
  background-color: #2980B9;
 
}
 
  
 +
/* 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>
 
</style>
  
  
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 +
<!--- THIS IS WHERE THE HTML BEGINS --->
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
  
<!--******************************************  Here is where the main content starts ******************************************-->
+
<head>  
<body>
+
  
<!-- IGEM NUS LOGO  -->
+
<!-- This tells the browser that your page is responsive -->
<div><a href="https://2018.igem.org/Team:NUS_Singapore-A-A" ><img class="team-logo" src="https://static.igem.org/mediawiki/2018/0/0c/NUS_2017_IGEM_Logo3.png"></a></div>
+
<meta name="viewport" content="width=device-width, initial-scale=1">  
  
<!-- Top Menu -->
+
</head>
<div class="topmenu-container">
+
  
<div class="dropdown">
 
    <button class="dropbtn">Awards Check </button>
 
    <div class="dropdown-content">
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A-A/Measurement">Measurement</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Model">Modelling</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Medal Check List">Medal Check List</a>
 
    </div>
 
  </div>
 
  
  <div class="dropdown">
 
      <button class="dropbtn">Team</button>
 
      <div class="dropdown-content">
 
        <a href="https://2018.igem.org/Team:NUS_Singapore-A/Team">Team Member</a>
 
        <a href="https://2018.igem.org/Team:NUS_Singapore-A/Attributions">Attributions</a>
 
      </div>
 
  </div>
 
  
<div class="dropdown">
+
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
    <button class="dropbtn">Collaboration</button>
+
<!--- Menu --->
    <div class="dropdown-content">
+
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Collaborations">Collaboration</a>
+
    </div>
+
  </div>
+
  
  <div class="dropdown">
 
      <button class="dropbtn">Human Practice</button>
 
      <div class="dropdown-content">
 
        <a href="https://2018.igem.org/Team:NUS_Singapore-A/HP/Silver">Silver Up</a>
 
        <a href="https://2018.igem.org/Team:NUS_Singapore-A/HP/Gold_Integrated">Gold Integrated</a>
 
    </div>
 
  </div>
 
  
  <div class="dropdown">
 
    <button class="dropbtn">Modelling</button>
 
    <div class="dropdown-content">
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Overview">Overview</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Methodology">Methodology</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Model_P">Kill Switch for Probiotics</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Model_B">Kill Switch for BeeT</a>
 
    </div>
 
  </div>
 
  
  <div class="dropdown">
 
    <button class="dropbtn">Projects</button>
 
    <div class="dropdown-content">
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Description">Description</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/InterLab">Interlab Study</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Parts">Parts</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Experiments">Experiment</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Notebook">Documentation</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Improvement">Improvement</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Demonstrate">Demonstrate</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Safety">Safety</a>
 
      <a href="https://2018.igem.org/Team:NUS_Singapore-A/Future Work">Future Works</a>
 
   
 
    </div>
 
  </div>
 
  
  <div class="dropdown">
+
<div class="igem_2018_team_mobile_bar">
      <a href="https://2018.igem.org/Team:NUS_Singapore-A">Home</a>
+
  </div>
+
<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">
 +
<img id="menu_control_image" src="https://static.igem.org/mediawiki/igem.org/3/3b/Menu_icon.svg">
 +
</div>
 +
 
 
</div>
 
</div>
  
<!--***********************************************  Back to top button ***********************************************-->
 
<button onclick="topFunction()" id="BacktoTopBtn" title="Go to top">Back to Top</button>
 
  
  
<script>
 
//**************************************** Back to top button Javascript ****************************************//
 
// When the user scrolls down 50px from the top of the document, show the button
 
window.onscroll = function() {scrollFunction()};
 
  
function scrollFunction() {
+
<div class="igem_2018_team_menu displaying_menu">
    if (document.body.scrollTop > 500 || document.documentElement.scrollTop > 500) {
+
 
        document.getElementById("BacktoTopBtn").style.display = "block";
+
 
    } else {
+
<a href="https://2018.igem.org/Team:NUS_Singapore-A">
        document.getElementById("BacktoTopBtn").style.display = "none";
+
<img src="http://placehold.it/350x150/e4dede/c4baba">
    }
+
</a>
}
+
 
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A">
 +
<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:NUS_Singapore-A/Team">
 +
<div class="submenu_item">
 +
Team Members
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Collaborations">
 +
<div class="submenu_item">
 +
Collaborations
 +
</div>
 +
</a>
 +
</div>
 +
 
 +
 
 +
<!-- Project -->
 +
<div class="menu_item">
 +
<div class="submenu_control_icon"> </div>
 +
PROJECT
 +
</div>
 +
<div class="submenu">
 +
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Description">
 +
<div class="submenu_item">
 +
Description
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Design">
 +
<div class="submenu_item">
 +
Design
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Experiments">
 +
<div class="submenu_item">
 +
Experiments
 +
</div>
 +
</a>
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Notebook">
 +
<div class="submenu_item">
 +
Notebook
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/InterLab">
 +
<div class="submenu_item">
 +
InterLab
 +
</div>
 +
</a>
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Model">
 +
<div class="submenu_item">
 +
Model
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Results">
 +
<div class="submenu_item">
 +
Results
 +
</div>
 +
</a>
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Demonstrate">
 +
<div class="submenu_item">
 +
Demonstrate
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Improve">
 +
<div class="submenu_item">
 +
Improve
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Attributions">
 +
<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:NUS_Singapore-A/Parts">
 +
<div class="submenu_item">
 +
Parts Overview
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Basic_Part">
 +
<div class="submenu_item">
 +
Basic Parts
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Composite_Part">
 +
<div class="submenu_item">
 +
Composite Parts
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Part_Collection">
 +
<div class="submenu_item">
 +
Part Collection
 +
</div>
 +
</a>
 +
</div>
 +
 
 +
 +
 +
 +
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/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:NUS_Singapore-A/Human_Practices">
 +
<div class="submenu_item">
 +
Human Practices
 +
</div>
 +
</a>
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/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:NUS_Singapore-A/Applied_Design">
 +
<div class="submenu_item">
 +
Applied Design
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Entrepreneurship">
 +
<div class="submenu_item">
 +
Entrepreneurship
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Hardware">
 +
<div class="submenu_item">
 +
Hardware
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Measurement">
 +
<div class="submenu_item">
 +
Measurement
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Model">
 +
<div class="submenu_item">
 +
Model
 +
</div>
 +
</a>
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Plant">
 +
<div class="submenu_item">
 +
Plant
 +
</div>
 +
</a>
 +
 
 +
 
 +
<a href="https://2018.igem.org/Team:NUS_Singapore-A/Software">
 +
<div class="submenu_item">
 +
Software
 +
</div>
 +
</a>
 +
 
 +
</div>
 +
 
 +
 
 +
 
 +
<a href="https://igem.org/2018_Judging_Form?team=NUS_Singapore-A">
 +
<div class="menu_item direct_link">
 +
JUDGING FORM ⇗
 +
</div>
 +
</a>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
</div>
 +
 
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 +
<!--- Content of the page  --->
 +
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
  
// When the user clicks on the button, scroll to the top of the document
 
function topFunction() {
 
    document.body.scrollTop = 0;
 
    document.documentElement.scrollTop = 0;
 
}
 
</script>
 
  
</body>
+
<div class="igem_2018_team_content">
</html>
+
<div class="igem_2018_team_column_wrapper">
 +
<div class="clear extra_space"></div>
 +
<div class="clear extra_space"></div>

Revision as of 20:01, 10 June 2018