Difference between revisions of "Template:IISc-Bangalore"

 
(364 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
<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() {
 
 
$("#HQ_page").attr('id','');
 
 
// call the functions that control the menu
 
menu_functionality();
 
hide_show_menu();
 
 
 
 
//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(){
 
 
// 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
 
$("#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() {
 
 
// 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
 
$(".current_page").parents(".submenu_wrapper").fadeIn(400);
 
// change the +/- symbol of the corresponding menu button
 
$(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open");
 
 
}
 
 
 
 
// allow button on the black menu bar to show/hide the side 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();
 
}
 
 
// if the black menu bar has been loaded
 
  if (document.getElementById('bars_item')) {
 
 
// when the "bars_item" has been clicked
 
$("#bars_item").click(function() {
 
$("#sideMenu").hide();
 
 
// show/hide the menu wrapper
 
$(".igem_2017_menu_wrapper").fadeToggle("100");
 
});
 
  }
 
 
// 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
 
else {
 
    setTimeout(hide_show_menu, 15);
 
}
 
}
 
 
 
});
 
 
 
</script>
 
 
 
 
 
  
 
<style>
 
<style>
  
 +
/* Fonts */
  
 +
@font-face {
 +
    font-family: "Raleway";
 +
    src: url("https://static.igem.org/mediawiki/2017/3/3f/T--IISc-Bangalore--raleway.woff") format("woff");
 +
}
 +
@font-face {
 +
    font-family: "Poppins";
 +
    src: url("https://static.igem.org/mediawiki/2017/d/d7/T--IISc-Bangalore--poppins.woff") format("woff");
 +
}
  
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
+
@font-face {
+
    font-family: "Raleway-ExtraBold";
/* Clear the default wiki settings */
+
    src: url('https://static.igem.org/mediawiki/2017/6/6b/T--IISc-Bangalore--raleway-extrabold.woff') format("woff");
+
}
#home_logo, #sideMenu { display:none; }
+
#sideMenu, #top_title, .patrollink  {display:none;}
+
#content { width:100%; padding:0px;  margin-top:-7px; margin-left:0px;}
+
body {background-color:white; }
+
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
+
  
+
/* Code for removing iGEM loader content */
+
+
/**************************************************************** MENU ***************************************************************/
+
/* Wrapper for the menu */
+
.igem_2017_menu_wrapper {
+
width: 15%;
+
height:100vh;
+
position:fixed;
+
right:0%;
+
padding:0px;
+
float:right;
+
border-left: 1px solid #d3d3d3;
+
background-color:#dddddd;
+
text-align:left;
+
font-family:Tahoma, Geneva, sans-serif;
+
overflow-y: auto;
+
overflow-x: hidden;
+
}
+
  
/* this hides the scrollbar to keep view consistency */
+
#sideMenu, #top_title, #top, #toc{
.igem_2017_menu_wrappe::-webkit-scrollbar {  
+
  display: none;
display: none;  
+
}
}
+
+
+
/* styling for links in the menu, removes the line under text */
+
.igem_2017_menu_wrapper a { 
+
text-decoration: none;
+
}
+
  
 +
/* Content styling */
  
/* styling for the images in the menu */
+
#content {
.igem_2017_menu_wrapper img {  
+
  width: 100%;
width: 100%;
+
  height: 100%;
}
+
  box-sizing: border-box;
 +
  margin: -31px 0 0;
 +
  padding: 0;
 +
}
  
/* styling for the menu buttons */
+
body {
.igem_2017_menu_wrapper .menu_button {  
+
    margin: 0;
width: 100%;  
+
    height: 100%;
padding: 10px 0px 10px 15px;
+
}
float:left;
+
border-bottom: 1px solid #d3d3d3;
+
font-size: 12px;
+
font-weight: bold;
+
color: #5e5f5f;
+
cursor: pointer;
+
}
+
  
 +
#inPageNav {
 +
    position: fixed;
 +
    display: block;
 +
    top: 50%;
 +
    transform: translateY(-50%);
 +
    right: 83%;
 +
    margin: 0 auto;
 +
    padding: 0;
 +
    box-sizing: border-box;
 +
    list-style: none;
 +
    z-index: 1;
 +
    display: none;
 +
}
  
.igem_2017_menu_wrapper .menu_bottom_padding {  
+
#inPageNav li {
width: 100%;  
+
    display: block;
height: 30px;
+
    padding: 10px 10px 10px 10px;
float:left;
+
    text-align: right;
}
+
    font-family: "Raleway", sans-serif;
 +
}
  
.menu_button.direct_to_page {  
+
#inPageNav li a {
padding-left: 36px;
+
    color: inherit;
}
+
}
  
 +
#inPageNav li a img {
 +
    width: 0;
 +
    height: 0;
 +
    box-sizing: border-box;
 +
    margin-top: -5px;
 +
    padding: 20px;
 +
    background-image: url('https://static.igem.org/mediawiki/2017/6/68/T--IISc-Bangalore--navbar_bullet.png');
 +
    background-size: 40px 40px;
 +
}
  
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon {
+
#inPageNav li a.active img {
width:10%;
+
    background-image: url('https://static.igem.org/mediawiki/2017/2/20/T--IISc-Bangalore--navbar_bullet_active.png');
float:left;
+
    background-size: 40px 40px;
}
+
}
  
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon::before {
+
#inPageNav li a:focus {
content: "+"; 
+
    color: inherit;
}
+
    text-decoration: none;
+
    outline: none;
.open::before {
+
}
content: "-" !important; 
+
}
+
+
+
+
/* styling for the menu buttons on hover */
+
.igem_2017_menu_wrapper .menu_button:hover, .igem_2017_menu_wrapper .submenu_button:hover ,  .submenu_button.current_page:hover {
+
background-color: #3399ff;
+
text-decoration: none;
+
color:#ffffff;  
+
}
+
  
/* styling for the menu button when it is the current page */
+
#inPageNav li a:active {
.current_page {  
+
    text-decoration: none;
background-color:#7fc1f7  !important;
+
}
color:#5e5f5f !important;
+
}
+
  
 +
#inPageNav li a.active {
 +
    font-weight: 800;
 +
}
  
/* styling for the submenu buttons */
+
#inPageNav li:hover {
.igem_2017_menu_wrapper .submenu_button {  
+
    background-color: #f4f4f4;
width: 100%;  
+
}
padding: 10px 0px 10px 34px;  
+
float:left;
+
#contentMain {
background-color:#f2f2f2;  
+
    width: 100%;
border-bottom: 1px solid #d3d3d3;  
+
    float: left;
font-size: 12px;  
+
    display: block;
color: #5e5f5f;  
+
    padding: 0 15% 50px 0;
cursor: pointer;
+
    box-sizing: border-box;
}
+
    position: relative;
 +
    height: auto;
 +
    overflow: auto;
 +
    font-family: "Poppins", sans-serif;
 +
    font-size: 1em;
 +
    line-height: 2;
 +
    background-image: url('https://static.igem.org/mediawiki/2017/4/44/T--IISc-Bangalore--background_final.png');
 +
    background-size: cover;
 +
    background-attachment: fixed;
 +
    padding-left: 20%;
 +
    top: 80px;
 +
}
  
/* wrapper for the submenu items, they are hidden by default*/
+
#contentMain h1 {
.igem_2017_menu_wrapper .submenu_wrapper {
+
    margin: 20px 0;
display:none;
+
    line-height: 1.3;
}
+
    font-family: "Raleway-ExtraBold", sans-serif;
 +
    padding: 0;
 +
    text-align: center;
 +
    border-bottom: 2px solid;
 +
    padding-bottom: 10px;
 +
    box-sizing: border-box;
 +
    font-size: 3em;
 +
}
  
/* when the page size is bigger than 800px, this show/hide control is hidden by default */
+
#contentMain h1 img {
.igem_2017_menu_wrapper #display_menu_control {
+
    vertical-align: text-top;
display:none;
+
    box-sizing: border-box;
text-align:center;
+
    padding-bottom: 8px;
}
+
    height: 50px;
+
}
  
/***************************************************** CONTENT OF THE PAGE ****************************************************/
+
#contentMain h1 img:nth-child(1) {
 
+
    margin-right: 10px;
/* Wrapper for the content */
+
.igem_2017_content_wrapper {
+
width: 81%;
+
margin: 2%;
+
display:block;
+
float:left;
+
background-color: white;
+
font-family:Tahoma, Geneva, sans-serif;
+
}
+
 
+
 
+
/********************************* HTML STYLING  *********************************/
+
 
+
/* styling for the titles h1 h2 */
+
.igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
+
padding:5px 15px;
+
border-bottom: 0px;
+
+
}
+
 
+
 
+
/* styling for the titles  h3 h4 h5 h6*/
+
.igem_2017_content_wrapper h3, .igem_2017_content_wrapper h4, .igem_2017_content_wrapper h5, .igem_2017_content_wrapper h6 {
+
padding:5px 15px;
+
border-bottom:0px;
+
+
}
+
 
+
 
+
/* font and text */
+
.igem_2017_content_wrapper p {
+
padding: 0px 15px;
+
font-size: 13px;
+
}
+
 
+
/* Links */
+
.igem_2017_content_wrapper a {
+
font-weight: bold;
+
text-decoration: underline;
+
text-decoration-color: #3399ff;
+
color:  #3399ff;
+
-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;
+
}
+
 
+
/* hover for the links */
+
.igem_2017_content_wrapper a:hover {
+
text-decoration:none;
+
color:#000000;
+
}
+
 
+
/* non numbered lists */
+
.igem_2017_content_wrapper ul {
+
padding:0px 20px;
+
font-size: 13px;
+
font-family:Tahoma, Geneva, sans-serif;
+
}
+
 
+
/* numbered lists */
+
.igem_2017_content_wrapper ol {
+
padding:0px;
+
font-size: 13px;
+
font-family:Tahoma, Geneva, sans-serif;
+
}
+
 
+
/* Table */
+
.igem_2017_content_wrapper table {
+
width: 97%;
+
margin:15px 10px;
+
border: 1px solid #d3d3d3;
+
border-collapse: collapse;
+
}
+
 
+
/* table cells */
+
.igem_2017_content_wrapper  td {
+
padding: 10px;
+
vertical-align: text-top;
+
border: 1px solid #d3d3d3;
+
border-collapse: collapse;
+
}
+
 
+
/* table headers */
+
.igem_2017_content_wrapper th {
+
padding: 10px;
+
vertical-align: text-top;
+
border: 1px solid #d3d3d3;
+
border-collapse: collapse;
+
background-color:#f2f2f2;
+
}
+
 
+
 
+
/**********************************LAYOUT CLASSES **********************************/
+
 
+
/* general class for column divs */
+
.igem_2017_content_wrapper .column  {
+
padding: 10px 0px;
+
float:left;
+
}
+
 
+
/* class for a full width column */
+
.column .full_size {
+
width:100%;
+
}
+
 
+
/* styling for images in a full width column*/
+
.column.full_size img {
+
width:97%;
+
padding: 10px 15px;
+
}
+
 
+
/* class for a half width column */
+
.column.half_size {
+
width: 50%;
+
}
+
/* styling for images in a half width column*/
+
.column.half_size img {
+
width: 94.5%;
+
padding: 10px 15px;
+
}
+
 
+
 
+
 
+
 
+
/********************************* SUPPORT CLASSES ********************************/
+
 
+
/* class that clears content below*/
+
.igem_2017_content_wrapper .clear {
+
clear:both;
+
}
+
+
+
/* adds extra spacing when clearing content */
+
.igem_2017_content_wrapper  .clear.extra_space {
+
height: 30px;
+
}
+
 
+
 
+
/* highlight class, makes content slightly smaller */
+
.igem_2017_content_wrapper .highlight {
+
margin: 0px 15px;
+
padding: 15px 0px;
+
}
+
 
+
 
+
/* highlight class, adds a gray background */
+
.igem_2017_content_wrapper .highlight.gray {
+
background-color: #f2f2f2;
+
}
+
 
+
/* highlight with decoration blue line on top */
+
.igem_2017_content_wrapper .highlight.blue_top {
+
    border-top: 4px solid #3399ff;
+
}
+
 
+
/* highlight with a full blue border decoration */
+
.igem_2017_content_wrapper .highlight.blue_border {
+
    border: 4px solid  #3399ff;
+
}
+
 
+
 
+
/* button class */
+
.igem_2017_content_wrapper .button{
+
max-width: 35%;
+
margin: 30px auto;
+
padding: 12px 10px;
+
    background-color: #3399ff;
+
    text-align: center;
+
  color: #ffffff;
+
-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; 
+
}
+
 
+
/* styling for button on hover */
+
.igem_2017_content_wrapper .button:hover{
+
background-color: #3399ff;
+
    color: #000000;
+
}
+
 
+
 
+
 
+
 
+
/***************************************************** RESPONSIVE STYLING ****************************************************/
+
 
+
/* IF THE SCREEN IS LESS THAN 1200PX */
+
@media only screen and (max-width: 1200px) {
+
 
+
#content {width:100%; }
+
.igem_2017_menu_wrapper {width:15%; right:0;}
+
.highlight {padding:10px 0px;}
+
.igem_2017_menu_wrapper #display_menu_control { display:none; }
+
#menu_content { display:block;}
+
.menu_button.direct_to_page {padding-left: 17px;}
+
+
}
+
 
+
/* IF THE SCREEN IS LESS THAN 800PX */
+
@media only screen and (max-width: 800px) {
+
 
+
.igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;}
+
.igem_2017_content_wrapper {width:100%; margin-left:0px;}
+
.column.half_size  {width:100%; }
+
.column.full_size img, .column.half_size img {  width: 100%; padding: 10px 0px;}
+
.highlight {padding:15px 5px;}
+
.igem_2017_menu_wrapper #display_menu_control { display:block; }
+
#menu_content { display:none;}
+
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; }
+
.menu_bottom_padding {display:none;}
+
.menu_button.direct_to_page { padding-left: 36px; }
+
}
+
 
+
 
+
+
+
/* special class that the system uses to make sure the team wants a page to be evaluated */
+
.judges-will-not-evaluate {
+
    width: 96.6%;
+
  margin: 5px 15px;
+
  display: block;
+
border: 4px solid #3399ff;
+
    font-weight: bold;
+
}
+
+
</style>
+
 
+
 
+
<!--- THIS IS WHERE THE HTML BEGINS --->
+
 
+
 
+
 
+
<head>
+
 
+
<!-- This tells the browser that your page is responsive -->
+
<meta name="viewport" content="width=device-width, initial-scale=1">
+
 
+
</head>
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
<!-- start of content -->
+
<div class="igem_2017_content_wrapper">
+
<style>
+
.menu1, .menu1 ul {
+
list-style: none;
+
padding: 0;
+
margin: 0;
+
 
}
 
}
  
.menu1 {
+
#contentMain h1 img:nth-child(2) {
height: 58px;
+
    margin-left: 10px;
 
}
 
}
  
.menu1 li {
+
#contentMain h1:target {
background: -moz-linear-gradient(#292929, #252525);
+
    padding-top: 80px;
background: -ms-linear-gradient(#292929, #252525);
+
    margin-top: -80px;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929), color-stop(100%, #252525));
+
background: -webkit-linear-gradient(#292929, #252525);
+
background: -o-linear-gradient(#292929, #252525);
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#252525');
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#252525')";
+
background: linear-gradient(#292929, #252525);
+
border-bottom: 2px solid #181818;
+
border-top: 2px solid #303030;
+
min-width: 160px;
+
 
}
 
}
  
.menu1 > li {
+
#contentMain h2, h3 {
display: block;
+
    margin: 15px 0 15px 0;
float: left;
+
    font-family: "Raleway", sans-serif;
position: relative;
+
    font-weight: 600;
 +
    padding: 0;
 +
}
 +
#contentMain p {
 +
    margin: 15px 0 15px 0;
 +
    line-height: 1.9;
 +
    font-size: 1.25em;
 +
    font-family: "Poppins", sans-serif;
 +
}
 +
#contentMain li li{
 +
    font-size: 1em;
 +
}
 +
#contentMain table {
 +
    background: none;
 +
    border: none;
 +
    margin: auto;
 
}
 
}
  
.menu1 > li:first-child {
+
#contentMain th {
border-radius: 5px 0 0;
+
    background: none;
 +
    border: none;
 +
    border-bottom: 2px solid black;
 
}
 
}
  
.menu1 a {
+
#contentMain td {
border-left: 3px solid rgba(0, 0, 0, 0);
+
    background: none;
color: #808080;
+
    border: none;
display: block;
+
font-family: 'Lucida Console';
+
font-size: 18px;
+
line-height: 54px;
+
padding: 0 25px;
+
text-decoration: none;
+
text-transform: uppercase;
+
 
}
 
}
  
.menu1 li:hover {
+
.navbar {
background-color: #1c1c1c;
+
    overflow: hidden;
background: -moz-linear-gradient(#1c1c1c, #1b1b1b);
+
    padding-right: 60px;
background: -ms-linear-gradient(#1c1c1c, #1b1b1b);
+
    background-color: #ffe97c;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1c1c1c), color-stop(100%, #1b1b1b));
+
    font-family: "Poppins", sans-serif;
background: -webkit-linear-gradient(#1c1c1c, #1b1b1b);
+
background: -o-linear-gradient(#1c1c1c, #1b1b1b);
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1c1c1c', endColorstr='#1b1b1b');
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#1c1c1c', endColorstr='#1b1b1b')";
+
background: linear-gradient(#1c1c1c, #1b1b1b);
+
border-bottom: 2px solid #222222;
+
border-top: 2px solid #1B1B1B;
+
 
}
 
}
  
.menu1 li:hover > a {
+
.navbar a {
border-radius: 5px 0 0 0;
+
    float: right;
border-left: 3px solid #C4302B;
+
    font-size: 14px;
color: #C4302B;
+
    color: black;
 +
    text-align: center;
 +
    padding: 14px 16px;
 +
    text-decoration: none;
 
}
 
}
  
/* submenu1 styles */
+
.dropdown {
.submenu1 {
+
    float: right;
left: 0;
+
    overflow: hidden;
max-height: 0;
+
    z-index: 100;
position: absolute;
+
top: 100%;
+
z-index: 0;
+
-webkit-perspective: 400px;
+
-moz-perspective: 400px;
+
-ms-perspective: 400px;
+
-o-perspective: 400px;
+
perspective: 400px;
+
 
}
 
}
  
.submenu1 li {
+
.dropdown .dropbtn, .dropdown a {
opacity: 0;
+
    font-size: 14.5px;  
-webkit-transform: rotateY(90deg);
+
    border: none;
-moz-transform: rotateY(90deg);
+
    outline: none;
-ms-transform: rotateY(90deg);
+
    color: black;
-o-transform: rotateY(90deg);
+
    padding: 13px 24px;
transform: rotateY(90deg);
+
    font-family: "Poppins", sans-serif;
-webkit-transition: opacity .4s, -webkit-transform .5s;
+
    letter-spacing: 0.05em;
-moz-transition: opacity .4s, -moz-transform .5s;
+
-ms-transition: opacity .4s, -ms-transform .5s;
+
-o-transition: opacity .4s, -o-transform .5s;
+
transition: opacity .4s, transform .5s;
+
 
}
 
}
  
.menu1 .submenu1 li:hover a {
+
.dropbtn {
border-left: 3px solid #454545;
+
    position: relative;
border-radius: 0;
+
    background-color: rgb(255,255,255);
color: #ffffff;
+
    background-color: #ffe97c;
 
}
 
}
  
.menu1 > li:hover .submenu1, .menu1 > li:focus .submenu1 {
+
.dropbtn span {
max-height: 2000px;
+
    position: absolute;
z-index: 10;
+
    height: 100%;
 +
    width: 100%;
 +
    top: 0;
 +
    left: 0;
 
}
 
}
  
.menu1 > li:hover .submenu1 li, .menu1 > li:focus .submenu1 li {
+
.dropbtn a {
opacity: 1;
+
    padding: 0;
-webkit-transform: none;
+
    float: none;
-moz-transform: none;
+
-ms-transform: none;
+
-o-transform: none;
+
transform: none;
+
 
}
 
}
  
/* CSS3 delays for transition effects */
+
.navbar a:hover, .dropdown:hover .dropbtn {
.menu1 li:hover .submenu1 li:nth-child(1) {
+
    background-color: #fff4bd;
-webkit-transition-delay: 0s;
+
-moz-transition-delay: 0s;
+
-ms-transition-delay: 0s;
+
-o-transition-delay: 0s;
+
transition-delay: 0s;
+
 
}
 
}
  
.menu1 li:hover .submenu1 li:nth-child(2) {
+
.dropdown-content {
-webkit-transition-delay: 50ms;
+
    display: none;
-moz-transition-delay: 50ms;
+
    position: absolute;
-ms-transition-delay: 50ms;
+
    background-color: #fff4bd;
-o-transition-delay: 50ms;
+
    min-width: 160px;
transition-delay: 50ms;
+
    box-shadow: 0px 13px 10px -2px rgba(0, 0, 0, 0.12);
 
}
 
}
  
.menu1 li:hover .submenu1 li:nth-child(3) {
+
.dropdown-content a {
-webkit-transition-delay: 100ms;
+
    float: none;
-moz-transition-delay: 100ms;
+
    color: black;
-ms-transition-delay: 100ms;
+
    padding: 12px 16px;
-o-transition-delay: 100ms;
+
    text-decoration: none;
transition-delay: 100ms;
+
    display: block;
 +
    text-align: left;
 +
    letter-spacing: 0;
 
}
 
}
  
.menu1 li:hover .submenu1 li:nth-child(4) {
+
.dropdown-content a:hover {
-webkit-transition-delay: 150ms;
+
    background-color: #fffdec;
-moz-transition-delay: 150ms;
+
-ms-transition-delay: 150ms;
+
-o-transition-delay: 150ms;
+
transition-delay: 150ms;
+
 
}
 
}
  
.menu1 li:hover .submenu1 li:nth-child(5) {
+
.dropdown:hover .dropdown-content {
-webkit-transition-delay: 200ms;
+
    display: block;
-moz-transition-delay: 200ms;
+
-ms-transition-delay: 200ms;
+
-o-transition-delay: 200ms;
+
transition-delay: 200ms;
+
 
}
 
}
  
.menu1 li:hover .submenu1 li:nth-child(6) {
+
 
-webkit-transition-delay: 250ms;
+
#logoImg {
-moz-transition-delay: 250ms;
+
    height: 70px;
-ms-transition-delay: 250ms;
+
    position: fixed;
-o-transition-delay: 250ms;
+
    top: 20px;
transition-delay: 250ms;
+
    left: 0;
 +
    z-index: 2;
 +
    background-color: #FFE97C;
 +
    border-radius: 0 0 100px 0;
 +
    padding: 5px 80px 10px 10px;
 +
    border: none;
 
}
 
}
  
.menu1 li:hover .submenu1 li:nth-child(7) {
+
figure img {
-webkit-transition-delay: 300ms;
+
    display: block;
-moz-transition-delay: 300ms;
+
    margin: auto;
-ms-transition-delay: 300ms;
+
-o-transition-delay: 300ms;
+
transition-delay: 300ms;
+
 
}
 
}
  
.menu1 li:hover .submenu1 li:nth-child(8) {
+
figurecaption {
-webkit-transition-delay: 350ms;
+
    text-align: center;
-moz-transition-delay: 350ms;
+
    font-style: italic;
-ms-transition-delay: 350ms;
+
    display: block;
-o-transition-delay: 350ms;
+
    margin: auto;
transition-delay: 350ms;
+
 
}
 
}
  
.submenu1 li:nth-child(1) {
+
.clearfix::after {
-webkit-transition-delay: 350ms;
+
    content: "";
-moz-transition-delay: 350ms;
+
    clear: both;
-ms-transition-delay: 350ms;
+
    display: table;
-o-transition-delay: 350ms;
+
transition-delay: 350ms;
+
 
}
 
}
  
.submenu1 li:nth-child(2) {
+
.fch {
-webkit-transition-delay: 300ms;
+
    border-bottom: 2px solid !important;
-moz-transition-delay: 300ms;
+
-ms-transition-delay: 300ms;
+
-o-transition-delay: 300ms;
+
transition-delay: 300ms;
+
 
}
 
}
  
.submenu1 li:nth-child(3) {
+
.fch tr:nth-child(1) th:nth-child(1) {
-webkit-transition-delay: 250ms;
+
    border-bottom: 2px solid !important;
-moz-transition-delay: 250ms;
+
-ms-transition-delay: 250ms;
+
-o-transition-delay: 250ms;
+
transition-delay: 250ms;
+
 
}
 
}
  
.submenu1 li:nth-child(4) {
+
.fch tr th:nth-child(1) {
-webkit-transition-delay: 200ms;
+
    border: none !important;
-moz-transition-delay: 200ms;
+
-ms-transition-delay: 200ms;
+
-o-transition-delay: 200ms;
+
transition-delay: 200ms;
+
 
}
 
}
  
.submenu1 li:nth-child(5) {
+
#contentMain li {
-webkit-transition-delay: 150ms;
+
    font-size: 1.25em;
-moz-transition-delay: 150ms;
+
    line-height: 1.9;
-ms-transition-delay: 150ms;
+
-o-transition-delay: 150ms;
+
transition-delay: 150ms;
+
 
}
 
}
  
.submenu1 li:nth-child(6) {
+
#contentMain table li {
-webkit-transition-delay: 100ms;
+
    font-size: 1em;
-moz-transition-delay: 100ms;
+
-ms-transition-delay: 100ms;
+
-o-transition-delay: 100ms;
+
transition-delay: 100ms;
+
 
}
 
}
  
.submenu1 li:nth-child(7) {
+
.gifAnimated {
-webkit-transition-delay: 50ms;
+
    position: absolute;
-moz-transition-delay: 50ms;
+
    width: 100%;
-ms-transition-delay: 50ms;
+
    height: calc(100% - 61px);
-o-transition-delay: 50ms;
+
    background-size: contain;
transition-delay: 50ms;
+
    background-position: center;
 +
    background-repeat: no-repeat;
 +
    top: 68px;
 +
    left: 0;
 
}
 
}
  
.submenu1 li:nth-child(8) {
+
#headerImg {
-webkit-transition-delay: 0s;
+
    margin-left: -30.76%;
-moz-transition-delay: 0s;
+
    margin-right: -23.07%;
-ms-transition-delay: 0s;
+
-o-transition-delay: 0s;
+
transition-delay: 0s;
+
 
}
 
}
 +
 +
/* Footer styling */
 +
 +
        #pagefooter {
 +
            width: 100%;
 +
            position: fixed;
 +
            bottom: -250px;
 +
            left: 0;
 +
            background-color: #FFE97C;
 +
            transition: all 0.5s ease;
 +
            padding-left: 10px;
 +
            z-index: 2;
 +
            font-family: "Poppins", sans-serif;
 +
        }
 +
        #smallfooter {
 +
            transition: all 0.5s ease;
 +
        }
 +
        .expanded {
 +
            bottom: 0 !important;
 +
            transition: all 0.5s ease;
 +
        }
 +
        .expanded #smallfooter {
 +
            opacity: 0;
 +
            transition: all 0.5s ease;
 +
        }
 +
        .footerarrow {
 +
            position: absolute;
 +
            top: 4px;
 +
            left: 50%;
 +
            transform: translateX(-50%);
 +
            transition: transform 0.5s ease-in;
 +
            height: 12px;
 +
        }
 +
        .inverted {
 +
            transform: rotate(180deg);
 +
            transition: transform 0.5 ease-in;
 +
        }
 +
        #bigfooter table {
 +
            border: none;
 +
            background: none;
 +
        }
 +
        #bigfooter table tr td {
 +
            border: none;
 +
            background: none;
 +
        }
 +
        #bigfooter table tr th {
 +
            border: none;
 +
            background: none;
 +
            font-family: "Raleway-ExtraBold", sans-serif;
 +
            font-size: 2em;
 +
            letter-spacing: 1px;
 +
            text-transform: uppercase;
 +
        }
 +
        #footericons {
 +
            float: right;
 +
            margin-right: 20px;
 +
        }
 +
        #footericons img{
 +
            height: 18px;
 +
            margin-right: 10px;
 +
            margin-bottom: 2px;
 +
        }
 +
        #bigfooter {
 +
            width: 100%;
 +
            position: relative;
 +
            display: block;
 +
            height: 250px;
 +
        }
 +
        #footersponsors {
 +
            width: 60%;
 +
            float: left;
 +
        }
 +
        #footersponsors img {
 +
            height: 100%;
 +
        }
 +
        #footercontact {
 +
            width: 40%;
 +
            float: right;
 +
        }
 +
        #footercontact img {
 +
            height: 50px;
 +
        }
 +
        #footersponsors td {
 +
            text-align: center;
 +
            height: 70px;
 +
        }
  
 
</style>
 
</style>
<div>
+
 
<ul class="menu1">
+
<div id="contentWrapper">
    <li><a href="#">Home</a></li>
+
<div style="position: fixed; width: 100%; top: 16px; left: 0; z-index: 1;">
     <li><a href="#">Team</a></li>
+
<div class="navbar">
    <li><a href="#s1">Project</a>
+
 
        <ul class="submenu1">
+
  <div class="dropdown">
            <li><a href="#">Description</a></li>
+
    <div class="dropbtn">COMMUNITY</div>
            <li><a href="#">Design</a></li>
+
     <div class="dropdown-content">
            <li><a href="#">Model</a></li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/HP/Silver">Human Practices</a>
            <li><a href="#">Parts</a></li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/HP/Gold_Integrated">Integrated Practices</a>
            <li><a href="#">Interlab</a></li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Collaborations">Collaborations</a>
            <li><a href="#">Improve</a></li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Engagement">Public Engagement</a>
            <li><a href="#">Hardware</a></li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Safety">Safety</a>
            <li><a href="#">Evolution</a></li>
+
 
        </ul>
+
    </div>
    </li>
+
  </div>
     <li><a href="#s2">Lab</a>
+
  <div class="dropdown">
    <ul class="submenu1">
+
    <div class="dropbtn"><a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware"><span></span></a>HARDWARE</div>
        <li><a href="#">Experiments</a></li>
+
    <div class="dropdown-content">
            <li><a href="#">Results</a></li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware">GCODe</a>
            <li><a href="#">Demonstrate</a></li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/GCODe-Mini">Mini</a>
            <li><a href="#">Safety</a></li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/GCODe-Pro">Pro</a>
            <li><a href="#">Notebook</a></li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/Results">Results</a>
        </ul>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/Notebook">Hardware Evolution</a>
     </li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/Documentation">Build Your Own</a>
   
+
    </div>
     <li><a href="#s3">Community</a>
+
  </div>
    <ul class="submenu1">
+
 
        <li><a href="#">Human Practices</a></li>
+
  <div class="dropdown">
            <li><a href="#">Integrated Practices</a></li>
+
     <div class="dropbtn">LAB</div>
            <li><a href="#">Public Engagement</a></li>
+
    <div class="dropdown-content">
            <li><a href="#">Collaborations</a></li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Assembly">Assembly</a>
            <li><a href="#">Safety</a></li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Results">Results</a>
        </ul>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Demonstrate">Demonstrate</a>
    </li>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Notebook">Notebook</a>
     <li><a href="#">Attributions</a></li>       
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Protocols">Protocols</a>
</ul>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/InterLab">InterLab</a>
 +
    </div>
 +
  </div>
 +
 
 +
  <div class="dropdown">
 +
     <div class="dropbtn">PROJECT</div>
 +
     <div class="dropdown-content">
 +
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Description">iFLOAT</a>
 +
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Model">Model</a>
 +
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Experiments">Experiments</a>
 +
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Parts">Parts</a>
 +
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Design">Design</a>
 +
    </div>
 +
  </div>
 +
 
 +
  <div class="dropdown">
 +
    <div class="dropbtn">ABOUT</div>
 +
    <div class="dropdown-content">
 +
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Team">Team</a>
 +
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Philosophy">Philosophy</a>
 +
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Attributions">Attributions</a>
 +
    </div>
 +
  </div>
 +
 
 +
  <div class="dropdown">
 +
     <a href="https://2017.igem.org/Team:IISc-Bangalore">HOME</a>
 +
  </div>
 
</div>
 
</div>
<h1>IISc-Bangalore</h1>
+
  <a href="https://2017.igem.org/Team:IISc-Bangalore"><img id="logoImg" src="/wiki/images/6/65/T--IISc-Bangalore--logo-new.png"></a>
 +
</div>
 +
 
 +
<div id="pagefooter" class="clearfix">
 +
        <div id="smallfooter" class="clearfix">
 +
            <div id="footericons">
 +
                <a href="https://www.facebook.com/iiscbangaloreigem/"><img src="https://static.igem.org/mediawiki/2017/4/4b/T--IISc-Bangalore--fb_new.svg" /></a><a href="https://twitter.com/igem_iiscUG"><img src="https://static.igem.org/mediawiki/2017/b/be/T--IISc-Bangalore--twitter_new.svg" /></a><a href="mailto:igem.2017.iisc@gmail.com"><img src="https://static.igem.org/mediawiki/2017/e/e8/T--IISc-Bangalore--mail.svg" /></a>
 +
            </div>
 +
        </div>
 +
        <img class="footerarrow" src="https://static.igem.org/mediawiki/2017/6/62/T--IISc-Bangalore--arrow.png" width="20px" />
 +
        <div id="bigfooter" class="clearfix">
 +
            <div id="footersponsors">
 +
<table style="margin: auto">
 +
<tr>
 +
 
 +
<th colspan="6">Sponsors</th>
 +
 
 +
</tr>
 +
<tr>
 +
<td colspan="2"><a href="http://www.iisc.ac.in/"><img src="https://static.igem.org/mediawiki/2017/8/82/T--IISc-Bangalore--iisc.png"></a></td>
 +
<td colspan="2"><a href="http://www.dbtindia.nic.in/"><img src="https://static.igem.org/mediawiki/2017/7/78/T--IISc-Bangalore--dbt.png"></a></td>
 +
<td colspan="2"><a href="http://www.dbtindia.nic.in/ibec-indian-biological-engineering-competition/"><img src="https://static.igem.org/mediawiki/2017/8/89/T--IISc-Bangalore--ibec.png"></a></td>
 +
</tr>
 +
<tr>
 +
<td colspan="3"><a href="https://www.justdial.com/Tirunelveli/South-India-Bottling-Co-Pvt-Ltd-Gangaikondan/0462P462STD2100023_BZDET"><img src="https://static.igem.org/mediawiki/2017/f/f4/T--IISc-Bangalore--sibc-updated.png"></a></td>
 +
<td colspan="3"><a href="http://www.snapgene.com/"><img src="https://static.igem.org/mediawiki/2017/4/41/T--IISc-Bangalore--snapgene2.png"></a></td>
 +
</tr>
 +
 
 +
                </table>
 +
            </div><div id="footercontact">
 +
                <table style="margin: auto">
 +
                    <tr><th colspan="6">Contact</th></tr>
 +
                    <tr><td>&nbsp;</td></tr>
 +
                    <tr>
 +
                        <td><a href="https://www.facebook.com/iiscbangaloreigem/"><img src="https://static.igem.org/mediawiki/2017/4/4b/T--IISc-Bangalore--fb_new.svg" /></a></td>
 +
                        <td><a href="https://twitter.com/igem_iiscUG"><img src="https://static.igem.org/mediawiki/2017/b/be/T--IISc-Bangalore--twitter_new.svg" /></a></td>
 +
                        <td><a href="mailto:igem.2017.iisc@gmail.com"><img src="https://static.igem.org/mediawiki/2017/e/e8/T--IISc-Bangalore--mail.svg" /></a></td>
 +
                    </tr>
 +
                    <tr><td>&nbsp;</td></tr>
 +
                </table>
 +
            </div>
 +
        </div>
 +
    </div>
 +
</div>
 +
 
 +
<script type="text/javascript" src="https://2017.igem.org/Template:IISc-Bangalore/slide-nav?action=raw&ctype=text/javascript"></script>
 +
<script>
 +
    $("#pagefooter").click(function() {
 +
        $("#pagefooter").toggleClass("expanded");
 +
        $(".footerarrow").toggleClass("inverted");
 +
    });
 +
$(document).ready(function(){
 +
    var headings = document.getElementsByTagName("h1");
 +
    var i;
 +
    for (i=0; i<headings.length; i++) {
 +
        var sometext = headings[i].innerHTML;
 +
        console.log(sometext);
 +
        headings[i].innerHTML = "<img src='https://static.igem.org/mediawiki/2017/c/c9/T--IISc-Bangalore--title_flank_left.png'>"+sometext+"<img src='https://static.igem.org/mediawiki/2017/a/a2/T--IISc-Bangalore--title_flank_right.png'>";
 +
    }
 +
})
 +
</script>
 +
</html>

Latest revision as of 03:45, 2 November 2017