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','');
 
  
//highlight current page on the menu
+
// call the functions that control the menu  
highlight_current_page_menu();
+
menu_functionality();  
+
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
</script>
+
$(".menu_button").click(function(){
  
 +
// 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);
 +
});
  
<style>
+
// when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu
/**************************************************************************************************************************************************************************************************/
+
$("#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
/* DEFAULT WIKI SETTINGS */
+
function highlight_current_page() {
/**************************************************************************************************************************************************************************************************/
+
  
 +
// 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");
  
#home_logo, #sideMenu { display:none; }
+
// now that the current_page class has been added to a menu item, make the submenu fade in
#sideMenu, #top_title, .patrollink  {display:none;}
+
$(".current_page").parents(".submenu_wrapper").fadeIn(400);
#content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;}
+
// change the +/- symbol of the corresponding menu button
body {background-color:white; }
+
$(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open");
#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
/* MENU */
+
function hide_show_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();
 +
}
  
/*this wraps the whole of the menu*/
+
// if the black menu bar has been loaded
.igem_2018_team_menu {  
+
  if (document.getElementById('bars_item')) {
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();
  
.igem_2018_team_menu.displaying_menu{
+
// show/hide the menu wrapper
display:block;
+
$(".igem_2017_menu_wrapper").fadeToggle("100");
}
+
});
 +
  }  
  
.igem_2018_team_menu  a {
+
// 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
color: #484848;
+
else {
text-decoration:none;
+
    setTimeout(hide_show_menu, 15);
}
+
}
 +
}
  
.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%;
 
}
 
  
.igem_2018_team_menu .menu_item.direct_link {
+
</script>
color: #484848;
+
padding-left: 15%;
+
}
+
.igem_2018_team_menu .menu_item:hover {
+
background-color: #ecb656;
+
}
+
  
  
.igem_2018_team_menu .menu_item .submenu_control_icon {
+
<style>
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: "-";
 
}
 
  
/*submenu wrapper*/
+
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
.igem_2018_team_menu .submenu{
+
/* Clear the default wiki settings */
background-color: #e4dede;
+
     
clear:both;
+
#home_logo, #sideMenu { display:none; }
display:none;
+
#sideMenu, #top_title, .patrollink  {display:none;}
float: left;
+
#content { width:100%; padding:0px;  margin-top:-7px; margin-left:0px;}
width:100%;
+
body {background-color:white; }
}
+
#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%;
 
}
 
  
.igem_2018_team_menu .submenu .submenu_item:hover {
+
/********** Class for spliting different section = Clear content below while adds extra spacing when clearing content **********/
background-color: #f3bd5d;
+
.clear {
}
+
    clear:both;
 +
    height: 50px;
 +
}
  
 +
.clear-largespace{
 +
    clear:both;
 +
    height: 100px;
 +
}
  
.igem_2018_team_menu .submenu .submenu_item.current_page,
+
/**********  Basic Content Class CSS Style  **********/
.igem_2018_team_menu .menu_item.current_page,  
+
p {
.igem_2018_team_menu .menu_item.direct_link.current_page {
+
  font-family:"Montserrat", serif;
background-color:#7acbd8;
+
  font-size: 18px;
}
+
  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%;
 +
}
  
/*mobile menu bar styling*/
+
#teamh2 {
/**************************************************************************************************************************************************************************************************/
+
  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%;
 +
  }
  
.igem_2018_team_mobile_bar {
+
h4 {  
background-color:#e4dede;  
+
  color:#b48608;  
border-bottom: 1px solid #c4baba;
+
  font-family:"Calibri", serif;
cursor:pointer;
+
  font-size: 20px;  
display:none;  
+
  font-weight: 180;  
float:left;
+
  line-height: 44px;  
margin-top: 0;
+
  margin: 0 0 12px;  
padding: 5px 0;
+
  text-align: center;
position:fixed;
+
  font-weight:bold;
width:100%;  
+
  width:80%;
}
+
  padding-left:10%;
 +
  padding-right:10%;
 +
  }
  
.igem_logo_mobile img {
+
.nus ul {
width:70px;
+
  font-family:"Montserrat", serif;
}
+
  font-size: 18px;
 +
  line-height:150%;
 +
  color:#000000;
 +
 
 +
}
  
.igem_logo_mobile {
+
.nus ol {
float:left;  
+
font-family:"Montserrat", serif;
padding-left: 5%;
+
  font-size: 18px;
width: 30%;  
+
  line-height:150%;
}
+
        color:#000000;
 +
}
 +
.nus {
 +
font-family:"Montserrat", serif;
 +
  font-size: 18px;
 +
  line-height:150%;
 +
        color:#000000;
 +
}
  
.igem_menu_control_mobile img {
+
ul.nus {
width:25px;
+
  font-family:"Montserrat", serif;
}
+
  font-size: 18px;
 +
  line-height:150%;
 +
  color:#000000;
 +
 
 +
}
  
.igem_menu_control_mobile {
+
ol.nus  {
float:right;
+
font-family:"Montserrat", serif;
padding-right:5%;  
+
  font-size: 18px;
padding-top:5px;
+
  line-height:150%;
text-align:right;  
+
        color:#000000;
width: 30%;  
+
}
}
+
  
  
 +
/******************  image description subline  ****************/
 +
#imgdescription {
 +
        font-size:15px;
 +
        width:60%;
 +
        padding-left:20%;
 +
        padding-right:20%;
 +
        font-style:oblique;
 +
        text-align:center;
 +
}
  
/**************************************************************************************************************************************************************************************************/
+
/******************   Reference  ****************/
/* CONTENT OF THE PAGE */
+
#Ref {
/**************************************************************************************************************************************************************************************************/
+
        font-size:15px;
 +
}
  
/* general wrapper for the content */
+
/************************************************** Back to top button style **************************************************/
.igem_2018_team_content {
+
#BacktoTopBtn {
background-color:white;  
+
  display: none;
display:block;
+
  position: fixed;
width: 87%;
+
  bottom: 20px;
}
+
  right: 30px;
 +
  z-index: 99;
 +
  border: none;
 +
  outline: none;
 +
  background-color: #F5B041;
 +
  color: white;
 +
  cursor: pointer;
 +
  padding: 15px;
 +
  border-radius: 20px;
 +
}
  
/* subwrapper to center content */
+
#BacktoTopBtn:hover {
.igem_2018_team_content .igem_2018_team_column_wrapper {
+
  background-color: #2980B9;
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;
 +
}
  
/*general styling*/
+
.topmenu-container {
/**************************************************************************************************************************************************************************************************/
+
    overflow: hidden;
 +
    background-color: #F8F9F9;
 +
    padding-top:100px;
 +
    margin:0;
 +
    }
  
.igem_2018_team_content .igem_2018_team_column_wrapper h1 { font-size: 210%;}
+
.topmenu-container a {
.igem_2018_team_content .igem_2018_team_column_wrapper h2 { font-size: 190%;}
+
    float: right;
.igem_2018_team_content .igem_2018_team_column_wrapper h3 { font-size: 170%;}
+
    font-family:"Comic Sans MS", sans-serif;
.igem_2018_team_content .igem_2018_team_column_wrapper h4 { font-size: 150%;}
+
    font-size: 18px;
.igem_2018_team_content .igem_2018_team_column_wrapper h5 { font-size: 140%;}
+
    color: #566573;
.igem_2018_team_content .igem_2018_team_column_wrapper h6 { font-size: 130%;}
+
    text-align: center;
 +
    padding: 19px 16px;
 +
    text-decoration: none;
 +
    border: none;
 +
   
 +
}
  
 +
.dropdown {
 +
    float: right;
 +
    overflow: hidden;
 +
}
  
/* styling for the titles h1, h2*/
+
.dropdown  .dropbtn {
.igem_2018_team_content .igem_2018_team_column_wrapper h1, .igem_2018_team_content .igem_2018_team_column_wrapper h2 {
+
    font-family:"Comic Sans MS", sans-serif;
border-bottom:0px;
+
    font-size: 18px;
color: #635d5d;
+
    border: none;
font-family: "Arial Black", Gadget, sans-serif;
+
    text-align: center;
padding: 10px 0px;
+
    outline: none;
}
+
    color:  #566573;
 +
    padding: 14px 16px;
 +
    background-color: inherit;
 +
}
  
/* styling for the titles h3, h3, h5, h6 */
+
.dropdown-content {
.igem_2018_team_content .igem_2018_team_column_wrapper h3,
+
    display: none;
.igem_2018_team_content .igem_2018_team_column_wrapper h4,
+
    position: absolute;
.igem_2018_team_content .igem_2018_team_column_wrapper h5,
+
    background-color:#FFFFFF;
.igem_2018_team_content .igem_2018_team_column_wrapper h6 {  
+
    min-width: 160px;
border-bottom:0px;  
+
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
color: #928b8b;
+
    z-index: 1;
font-family: "Arial Black", Gadget, sans-serif;
+
}
padding: 5px 0px;
+
}
+
  
/* text */
+
.dropdown-content a {
.igem_2018_team_content .igem_2018_team_column_wrapper p {  
+
    float: none;
font-size: 130%;
+
    color: #566573;
font-family: Arial, Helvetica, sans-serif;
+
    padding: 12px 16px;
padding: 5px 0px;
+
    text-decoration: none;
text-align: left;
+
    display: block;
color: #484848;
+
    text-align: center;
}
+
}
  
/* 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 for the links */
+
/***************************************************    Hover effect of Top menu  ***************************************/
.igem_2018_team_content .igem_2018_team_column_wrapper a:hover {  
+
.topmenucontainer a:hover, .dropdown:hover .dropbtn {
color: #f8b732;
+
    background-color: #AED6F1;
text-decoration:none;
+
}
}
+
  
 +
.dropdown-content a:hover {
 +
    background-color: #ddd;
 +
}
  
/* Table */
+
.dropdown:hover .dropdown-content {
.igem_2018_team_content .igem_2018_team_column_wrapper table {  
+
    display: inline-block;
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;
 
}
 
  
/* table headers */
+
/***************************  Social contact link *************************/
.igem_2018_team_content .igem_2018_team_column_wrapper th {  
+
.fa {
background-color:#c4baba;  
+
  padding: 20px;
border: 1px solid #928b8b;  
+
  font-size: 30px;
border-collapse: collapse;  
+
  width: 30px;
font-size: 110%;
+
  text-align: center;
padding: 10px;  
+
  text-decoration: none;
vertical-align: text-top;  
+
  border-radius: 50%;
}
+
}
  
 +
.fa:hover {
 +
    opacity: 0.7;
 +
}
  
 +
.fa-facebook {
 +
  background: #3B5998;
 +
  color: #FFFFFF;
 +
}
  
/* non numbered lists */
+
.fa-instagram {
.igem_2018_team_content .igem_2018_team_column_wrapper ul, .igem_2018_team_content .igem_2018_team_column_wrapper ol {
+
  background: #125688;
font-size: 130%;
+
  color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
+
}
padding:0px 20px;
+
}
+
  
 +
.fa-google {
 +
  background: #dd4b39;
 +
  color: #FFFFFF;
 +
}
  
.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,
+
/************************  Quick Link Footer  **************************/
.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,
+
.quicklink p {
.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,
+
background-color:#F0F3F4;
.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,
+
width:100%;
.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,
+
text-align: center;
.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%; }
+
height:60px;
 +
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;
 +
}
  
/*layout classes*/
+
.quicklink-4 a {
/**************************************************************************************************************************************************************************************************/
+
        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;
 +
}
  
/*main layout class */
+
/**************************************** Sponsor and Social Connact Link Cover  ****************************************/
.igem_2018_team_content .igem_2018_team_column_wrapper .column  {  
+
.footer-container{
float:left;
+
  width:100%;
margin: 1% 2%;
+
  height:300px;
padding: 0px;
+
  background-color:#F0F3F4 ;
}
+
  position:absolute;
 +
}
  
/* 100% */
+
.footer-sponsor-container{
.igem_2018_team_content .igem_2018_team_column_wrapper .column.full_size { width:96%; }
+
  width:70%; /*split the sponsor container from the full footer-container */
 +
  background-color:inherit;
 +
padding:20px;
 +
  padding-top:30px;
 +
  float:left;
 +
}
  
/* 66% */
+
.footer-contact-container{
.igem_2018_team_content .igem_2018_team_column_wrapper .column.two_thirds_size { width: 62.6%; }
+
  width:30%; /*split the sponsor container from the full footer-container */
 +
  padding-top:20px;
 +
  background-color:inherit;
 +
  float:right;
 +
}
  
/* 33% */
+
img.social-icon {
.igem_2018_team_content .igem_2018_team_column_wrapper .column.third_size { width: 29.3%; }
+
    margin:2%;
 +
    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 */
+
/*  
.igem_2018_team_content .igem_2018_team_column_wrapper .clear {
+
  ##Device = Tablets, Ipads (landscape)
clear:both;
+
  ##Screen = B/w 768px to 1024px
}
+
*/
/*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 (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
.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*/
/*support classes*/
+
  p {
/**************************************************************************************************************************************************************************************************/
+
      font-size: 13px;
 +
      }
  
 +
.nus ul{
 +
  font-size: 10px;
 +
}
  
/*Button  */
+
.nus ol {
/************************************************/
+
  font-size: 10px;
.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  {
+
ol.nus {
background-color: #5bc7d8;
+
  font-size: 10px;
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 {
+
ul.nus {
background-color: #f8b732 !important;  
+
  font-size: 10px;
}
+
}
  
 +
.nus {
 +
  font-size: 10px;
 +
}
  
 +
h1 {
 +
  font-size: 28px;
 +
}
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight {  
+
h2 {  
padding: 15px 20px;
+
  font-size: 20px;  
}
+
}
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight p,
+
h3 {  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight h1,
+
  font-size: 15px;  
.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;
+
}
+
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_background {
+
#imgdescription {
background-color: #e4dede;  
+
        font-size:8px;
}
+
}
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_A_top {
+
/*drop down menu*/
    border-top: 4px solid #5bc7d8;
+
.team-logo {
}
+
      margin:0px;
 +
      width:100%;
 +
      height:200px;
 +
      position:relative;
 +
  }
  
 +
  .topmenu-container {
 +
      padding:10px;
 +
      }
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_A_full {
+
  .topmenu-container a{
    border: 4px solid #5bc7d8;
+
      font-size: 18px;
}
+
      padding: 8px 5px;
 +
      font-weight:1000;
 +
  }
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_B_top {
+
  .dropdown .dropbtn {
    border-top: 4px solid #f8b732
+
      font-size: 18px;
}
+
      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);
 +
    }
  
.igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_B_full {
+
  .dropdown-content a{
    border: 4px solid #f8b732;
+
    padding: 8px;
}
+
  }
  
 +
.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;
 +
}
  
/*mobile*/
+
/************************************************** Back to top button style **************************************************/
/**************************************************************************************************************************************************************************************************/
+
#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 --->
 
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
  
<head>  
+
<!--******************************************  Here is where the main content starts ******************************************-->
 +
<body>
  
<!-- This tells the browser that your page is responsive -->
+
<!-- IGEM NUS LOGO  -->
<meta name="viewport" content="width=device-width, initial-scale=1">  
+
<div><a href="https://2018.igem.org/Team:NUS_Singapore-A" ><img class="team-logo" src="https://static.igem.org/mediawiki/2017/0/0c/NUS_2017_IGEM_Logo3.png"></a></div>
  
</head>
+
<!-- Top Menu -->
 +
<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/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">
<!--- Menu --->
+
    <button class="dropbtn">Collaboration</button>
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
+
    <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="igem_2018_team_mobile_bar">
+
  <div class="dropdown">
+
      <a href="https://2018.igem.org/Team:NUS_Singapore-A">Home</a>
<div class="igem_logo_mobile">
+
  </div>
<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()};
  
<div class="igem_2018_team_menu displaying_menu">
+
function scrollFunction() {
 
+
    if (document.body.scrollTop > 500 || document.documentElement.scrollTop > 500) {
 
+
        document.getElementById("BacktoTopBtn").style.display = "block";
<a href="https://2018.igem.org/Team:NUS_Singapore-A">
+
    } else {
<img src="http://placehold.it/350x150/e4dede/c4baba">
+
        document.getElementById("BacktoTopBtn").style.display = "none";
</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>
  
<div class="igem_2018_team_content">
+
</body>
<div class="igem_2018_team_column_wrapper">
+
</html>
<div class="clear extra_space"></div>
+
<div class="clear extra_space"></div>
+

Revision as of 20:48, 10 June 2018