Difference between revisions of "Template:Rice"

Line 1: Line 1:
 +
{{Template_All_Teams}}
 
<html>
 
<html>
 
+
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700' rel='stylesheet' type='text/css'>
 
<style>
 
<style>
  
/********************************* DEFAULT WIKI SETTINGS  ********************************/
+
        /*-- Remove borders, float content left and remove padding/margin */
 +
        #globalWrapper, #content{
 +
                width: 100%;
 +
}
  
#sideMenu, #top_title {display:none;}
+
                #top_menu_14 { padding-left:11%}
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
+
body {background-color:white; }
+
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
+
       
+
h1 {
+
    font-family: "Abadi MT Condensed Extra Bold", Helvetica, Arial;
+
    font-size: 30px;
+
    font-style: normal;
+
    font-variant: normal;
+
    font-weight: bold;
+
    line-height: 26.4px;
+
}
+
h3 {
+
    font-family: "DIN Alternate", Helvetica, Arial;
+
    font-size: 18px;
+
    font-style: normal;
+
    font-variant: normal;
+
    font-weight: bold;
+
    line-height: 15.4px;
+
}
+
p {
+
    font-family: Helvetica, Arial, sans-serif;
+
    font-size: 14px;
+
    font-style: normal;
+
    font-variant: normal;
+
    font-weight: light;
+
    line-height: 20px;
+
}
+
/********************************* MENU ********************************/
+
/* Wrapper for the menu */
+
.menu_wrapper {
+
width:150px;
+
height:100vh;
+
position:fixed;
+
padding:0px;
+
float:left;
+
background-color:#f2f2f2;
+
text-align:left;
+
}
+
  
/* styling for the menu items */
+
</style>
.menu_item {
+
width:100%;
+
margin:-2px 0px 0px -20px;
+
padding: 10px 10px; 
+
border-bottom: 1px solid #d3d3d3;
+
font-weight:bold;
+
color:#000000;
+
cursor: pointer;
+
}
+
  
/* when hovering on a menu item */
+
<!-- Declare that you are going to use html code instead of wiki code -->
.menu_item:hover {
+
<html>
color:#000000;
+
background-color: #72c9b6;
+
}
+
  
/* decoration icon for the menu buttons*/
+
<!-- Start of CSS-->
.icon {
+
<style type="text/css">
float:right; 
+
font-size:16px;
+
font-weight:bold;
+
}
+
+
/* this is the icon for when the content is collapsed */
+
.plus::before {
+
content: "+";
+
}
+
/* this is the icon for when the content is expanded */
+
.less::before {
+
content: "–";
+
}
+
  
/* styling for the ul that creates the buttons */
+
/* PAGE LAYOUT */
ul.menu_items {
+
width:100%;
+
margin-left:0px;
+
padding:0px;
+
list-style: none;
+
}
+
  
/* styling for the li that are the menu items */
 
.menu_items li {
 
width:90%;
 
margin-top:-2px;
 
padding: 15px 0px 15px 15px ;
 
display:block;
 
border-bottom: 1px solid #d3d3d3; 
 
text-align:left;
 
font-weight:bold;
 
text-decoration:none;
 
color:#000000;
 
list-style-type:none;
 
cursor:pointer;
 
-webkit-transition: all 0.4s ease;
 
-moz-transition: all 0.4s ease;
 
-ms-transition: all 0.4s ease;
 
-o-transition: all 0.4s ease; transition: all 0.4s ease; 
 
}
 
  
.menu_item a {
+
/* Change Background color*/
width: 100%;
+
body {
margin-left: -20px;
+
background-color: #1b1c3a;
padding: 11px 90px 12px 20px;
+
                }
text-decoration: none;
+
color:black;
+
}
+
  
/* When hovering on a menu item */
+
/* Creates a container that will wrap all of the content inside your wiki pages. */
.menu_items li:hover {  
+
#mainContainer {
background-color:#72c9b6;
+
width: 100%;
color: #000000;
+
float:left;
}
+
margin-left: 0px;
 +
                                margin-right: 0px;
 +
margin-bottom: 10px;
 +
background-color: #FFFFFF;  
 +
border-bottom: 0px solid #565656;
 +
border-right: 0px solid #565656;
 +
border-left: 0px solid #565656;
 +
border-top: 0px solid #565656;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
  
/* styling for the submenus */
+
}
.submenu {
+
width:100%;
+
display: none; 
+
font-weight:bold;
+
cursor:pointer;
+
  
}
+
/* Creates the container for the menu */
 +
#menuContainer  {
 +
float: left;
 +
width: 100%;
 +
margin:0;
 +
padding:0;
 +
background-color: #1b1c3a;
 +
margin-top: 0px;
 +
z-index:0;
 +
 +
            }
  
/* moving the margin for the submenu ul list */
+
ul.submenu {  
+
/* Creates the container for the content */
width: 100%;
+
#contentContainer {
margin: 10px 0px -11px 0px;
+
padding-top:20px;
list-style: none;
+
padding-bottom: 20px;
}
+
padding-right:20px;
 +
padding-left: 20px;
 +
margin-bottom: 10px;
 +
margin-left: 20px;
 +
margin-right: 20px;
 +
width: 92%;
 +
float: left;
 +
background-color: #FFFFFF;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
 +
}
  
/*styling for the submenu buttons */
+
/*Set up height place holder for the title*/
.submenu li {  
+
#titleContainer {
width: 100%;  
+
                        width: 100%;
margin-left: 10px;
+
height:auto;
margin-bottom: 0px;
+
overflow:hidden;
}
+
margin: 0px;
 +
                        background-color: #1b1c3a;
 +
text-align:center;
 +
                        text-shadow: 2px 2px #000000;
 +
}
  
 +
/*Set up height place holder for the banner*/
 +
#bannerContainer {
 +
                        width: 100%;
 +
                        height: 75%;
 +
/*overflow:hidden;*/
 +
margin: 0px;
 +
text-align:center;
 +
} */
  
/* hover state for the submenu buttons */
 
.submenu li a {
 
width: 100%;
 
padding: 5px 10px;
 
display: inline-block;
 
border-bottom: 1px solid #d3d3d3;
 
background-color:white;
 
text-decoration:none;
 
color:#000000;
 
}
 
  
  
 +
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
  
.submenu li a:hover  {
+
/*Change the styling of text for everything inside main container*/
background-color:#000000;  
+
#mainContainer p {  
color: #72c9b6;
+
font-size: 15px;
}
+
color: #000000;
 +
}
 +
 +
/*This changes the color and font family */
 +
#contentContainer h1, h2, h3, h4, h5, h6 {
 +
color: #565656;
 +
border-bottom: none;
 +
font-weight: bold;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
 +
margin-top:0px;
 +
}
  
 +
/*Style of the links - links are different inside the menu */
 +
#contentContainer a {
 +
font-weight: bold;
 +
color: #000000;
 +
                                font-size: 100%;
 +
}
  
/* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
+
  /* Styling links on hover- links are different inside the menu */
.collapsable_menu_control {
+
/* #contentContainer a:hover {
width:100%;
+
color: #59BF92;
padding: 15px 0px;
+
} */
display:none;
+
background-color:#000000;
+
text-align:center; 
+
font-weight:bold;
+
color:#72c9b6;
+
cursor:pointer;
+
-webkit-transition: all 0.4s ease;
+
-moz-transition: all 0.4s ease;
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease;
+
transition: all 0.4s ease;
+
}
+
  
/* when hovering on that button */
+
/*Change the styling of tables */
.collapsable_menu_control:hover {  
+
        #contentContainer table {
background-color: #72c9b6;
+
    border: 1px solid #565656;
color:#000000;
+
    border-collapse: collapse;
}
+
    width: 90%
 +
    margin: auto;
 +
    margin-bottom: 0px;
 +
    margin-top: 0px;
 +
    margin-right: 0px;
 +
    margin-left: 0px;
 +
    }
  
/********************************* CONTENT OF THE PAGE ********************************/
+
/*Change the styling of table cells*/
 +
    #contentContainer  td {
 +
    padding: 0px;
 +
    border: 1px solid #565656;
 +
    border-collapse: collapse;
 +
    vertical-align: text-top;
 +
                             
 +
    }
  
/* Wrapper for the content */
+
/*Change the styling of table headers */
.content_wrapper {
+
    #contentContainer th {
width: 85%;
+
    background-color: #FFFFFF;
margin-left:150px;
+
    padding: 0px;
padding:10px 0px;  
+
    border: 1px solid #565656;
float:left;  
+
    border-collapse: collapse;
background-color:white;  
+
    vertical-align: text-top;
}
+
    }
  
/*LAYOUT */
 
.column  {
 
padding: 10px 0px;
 
float:left;
 
background-color:white;
 
}
 
  
.full_size {
 
width:100%;
 
}
 
  
.full_size img {
+
/*MENU STYLING */
padding: 10px 15px;
+
width:96.5%;
+
}
+
  
.half_size {
+
#menuContainer {
width: 50%;  
+
text-align: center;
}
+
                                        padding-top: 10px;
.half_size img {
+
                                        padding-bottom: 20px;
padding: 10px 15px;
+
    }
width: 93%;  
+
}
+
  
 +
#menuContainer > ul a {
 +
color: #FFF;
 +
}
 +
 +
#menuContainer > ul {
 +
list-style: none;
 +
margin-left: 0;
 +
padding-top: 10px;
 +
text-align: center;
 +
                                        width: 100%
 +
}
 +
#menuContainer > ul ul {
 +
list-style: none;
 +
margin-left: 0%;
 +
padding-top: 0;
 +
text-align: center;
 +
                                        width: 100%
 +
}
 +
#menuContainer > ul li {
 +
position: relative;
 +
text-align: center;
 +
}
 +
#menuContainer > ul a {
 +
padding: 10px 8px;
 +
display: block;
 +
text-decoration: none;
 +
font-family: "Helvetica Neue", Helvetica, sans-serif;
 +
font-size: 155%;
 +
}
 +
#menuContainer > ul a:hover {
 +
background: #000;
 +
background-color: #3b3d63;
 +
}
  
.clear {
 
clear:both;
 
}
 
  
.highlight {  
+
/* Level 1 Drop Down Menu */
width: 90%;  
+
#menuContainer > ul > li {
margin: auto;  
+
display: inline-block;
padding: 15px 5px;
+
vertical-align: top;
background-color: #f2f2f2;  
+
margin-left: -4px; /* solve the 4 pixels spacing between list-items */
}
+
 +
}
 +
#menuContainer > ul > li:first-child {
 +
margin-left: 0;
 +
}
 +
#menuContainer > ul > li > a {}
 +
#menuContainer > ul > li > a:hover {}
 +
 +
 +
/* Level 2 */
 +
#menuContainer > ul > li > ul {
 +
text-align: left;
 +
width: auto; /* change auto value with 200px if you want a bigger menu */
 +
display: none;
 +
background-color: #1b1c3a;
 +
position: absolute;
 +
top: 100%;
 +
left: 0;
 +
                                        margin-top: 0px;
 +
z-index: 9999999; /* if you have YouTube iframes, is good to have a bigger z-index so the video can appear above the video */
 +
}
 +
#menuContainer > ul > li:hover > ul{
 +
display: block;
 +
 +
}
 +
#menuContainer > ul ul li a {}
 +
#menuContainer > ul ul li a:hover {}
 +
 +
/* Level 3 */
 +
#menuContainer > ul > li > ul > li > ul {
 +
text-align: left;
 +
display: none;
 +
background: #1b1c3a;
 +
position: absolute;
 +
left: 100%;
 +
top: -5px;
 +
z-index: 9999999;
 +
}
 +
#menuContainer > ul > li > ul > li:hover > ul {
 +
display: block;
 +
}
 +
#menuContainer > ul ul ul li {}
 +
#menuContainer > ul ul ul li a {}
 +
#menuContainer > ul ul ul li a:hover {}
 +
#menuContainer.navItem {
 +
                          pointer-events: auto;
 +
}
 +
                        #Directory { 
 +
width: 100%;
 +
overflow:hidden;
 +
float:left;
 +
margin-left:20px;
 +
                                margin-right: 20px;
 +
margin-bottom: 0px;
 +
background-color: #000000;  
 +
border-bottom: 0px solid #565656;
 +
border-right: 0px solid #565656;
 +
border-left: 0px solid #565656;
 +
border-top: 0px solid #565656;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
 +
}                
 +
                          /*Style the Directory*/     
 +
                          #Directory table {
 +
                                Background-color: #000000;
 +
                                color: #FFFFFF;
 +
                                margin-left: 0px;
 +
                                padding: 20px;
 +
                                line-height: 10px;
 +
                                height: 100px;
 +
                                width:100%;
 +
                                /*float:left;*/
 +
                          }
 +
               
  
.judges-will-not-evaluate {
+
                /*Style the Directory button*/     
border: 4px solid #72c9b6;
+
                        #Directory li a{
display: block;
+
                                color: #000000;
margin: 5px 15px;
+
                                padding: 0px;
width: 95%;
+
                        }    
font-weight:bold;
+
}
+
  
 +
img.button {
 +
    opacity: 1.0;
 +
    filter: alpha(opacity=100); /* For IE8 and earlier */
 +
}
  
/*STYLING */
+
img.button:hover {
 +
    opacity: 0.7;
 +
    filter: alpha(opacity=80); /* For IE8 and earlier */
 +
}
  
/* styling for the titles */
 
.content_wrapper h1, .content_wrapper h2 {
 
padding:5px 15px;
 
border-bottom:0px;
 
color:#72c9b6;
 
  
}
+
/*CLASSES */
.content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 {
+
padding:5px 15px;
+
border-bottom:0px;
+
color: #000000; 
+
}
+
  
 
+
/*Clear class for all the pages, adds spacing too*/
/* font and text */
+
.clear{
.content_wrapper p {
+
clear:both;
padding:0px 15px;
+
height: 10px;
font-size: 13px;
+
}
font-family:Tahoma, Geneva, sans-serif;
+
}
+
 
+
/* Links */
+
.content_wrapper a {
+
font-weight: bold;
+
text-decoration: underline;
+
text-decoration-color:#72c9b6;
+
color: #72c9b6;
+
-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 */
+
.content_wrapper a:hover {
+
text-decoration:none;
+
color:#000000;
+
}
+
 
+
/* non numbered lists */
+
.content_wrapper ul {
+
padding:0px 20px;
+
font-size: 13px;
+
font-family:Tahoma, Geneva, sans-serif;
+
}
+
 
+
/* numbered lists */
+
.content_wrapper ol {
+
padding:0px;  
+
font-size: 13px;
+
font-family:Tahoma, Geneva, sans-serif;
+
}
+
 
+
/* Table */
+
.content_wrapper table {
+
width: 97%;
+
margin:15px 10px;
+
border: 1px solid #d3d3d3;
+
border-collapse: collapse;
+
}
+
 
+
/* table cells */
+
.content_wrapper  td {
+
padding: 10px;
+
vertical-align: text-top;
+
border: 1px solid #d3d3d3;
+
border-collapse: collapse;
+
}
+
 
+
/* table headers */
+
.content_wrapper th {
+
padding: 10px;
+
vertical-align: text-top;
+
border: 1px solid #d3d3d3;
+
border-collapse: collapse;
+
background-color:#f2f2f2;
+
}
+
 
+
/* Button class */
+
.button_click {
+
margin: 10px auto;
+
padding: 15px; width:12%; 
+
text-align:center;
+
font-weight:bold;
+
background-color: #72c9b6;
+
cursor:pointer; 
+
-webkit-transition: all 0.4s ease;
+
-moz-transition: all 0.4s ease;
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease;
+
transition: all 0.4s ease;
+
}
+
 
+
/* button class on hover */
+
.button_click:hover { 
+
background-color:#000000;
+
color:#72c9b6;
+
}
+
 
+
/********************************* RESPONSIVE STYLING ********************************/
+
 
+
/* IF THE SCREEN IS LESS THAN 1000PX */
+
 
+
@media only screen and (max-width: 1000px) {
+
 
+
#content {width:100%; }
+
.menu_wrapper {width:15%;}
+
.content_wrapper {margin-left: 15%;}
+
.menu_item {display:block;}
+
.icon {display:none;}
+
.highlight {padding:10px 0px;}
+
}
+
  
  
/* IF THE SCREEN IS LESS THAN 680PX */
+
/* highlight box for special messages */
 +
    .highlightBox {
 +
        width:500px;
 +
                                margin:auto;
 +
        background-color: #E8E8E9;
 +
margin-bottom: 15px;
 +
margin-top: 15px;
 +
padding: 15px;
 +
padding-top: 10px;
 +
    }
  
@media only screen and (max-width: 680px) {
+
        h1 {
.collapsable_menu_control { display:block;}
+
            font-family: "Abadi MT Condensed Extra Bold", Helvetica, Arial;
.menu_item {display:none;}
+
            font-size: 30px;
.menu_wrapper { width:100%; height: 15%; position:relative;}
+
            font-style: normal;
.content_wrapper {width:100%; margin-left:0px;}
+
            font-variant: normal;
.column.half_size {width:100%; }
+
            font-weight: bold;
.column img { width: 100%; padding: 5px 0px;}
+
            line-height: 26.4px;
.icon {display:block;}
+
        }
.highlight {padding:15px 5px;}
+
        h3 {
}
+
            font-family: "DIN Alternate", Helvetica, Arial;
 +
            font-size: 18px;
 +
            font-style: normal;
 +
            font-variant: normal;
 +
            font-weight: bold;
 +
            line-height: 15.4px;
 +
        }
 +
        p {
 +
            font-family: Helvetica, Arial, sans-serif;
 +
            font-size: 14px;
 +
            font-style: normal;
 +
            font-variant: normal;
 +
            font-weight: light;
 +
            line-height: 20px;
 +
        }
  
 
</style>
 
</style>
Line 383: Line 349:
  
 
<head>  
 
<head>  
<meta name="viewport" content="width=device-width, initial-scale=1">
+
 
</head>
 
</head>
  
  
 
+
<div id="mainContainer">
<div class="menu_wrapper" >
+
  <!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
 
+
  <!-- Start of menu -->
 
+
  <div id="menuContainer">
 
+
    <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 
+
    <ul>
<div class="collapsable_menu_control"> MENU ▤ </div>
+
      <li style="padding:0 20px;">
 
+
        <a href="https://igem.org/Main_Page">
<ul id="accordion" class="accordion">
+
          <image class="button" src="https://static.igem.org/mediawiki/2015/5/52/HKUST-Rice15_iGEMofficiallogo.jpg" style="width: 82px; height: 72px;  margin: -20px;">
 
+
        </a>
<li class="menu_item"> <a href="https://2016.igem.org/Team:Rice">HOME </a> </li>
+
      </li>
 
+
      <li style="padding:0 20px;">
 
+
        <a>
<li class="menu_item"> <div class="icon plus"></div> TEAM
+
          <image src="https://static.igem.org/mediawiki/2016/d/d2/Rice_University_seal.svg.png" style="width: 72px; height: 72px;  margin: -20px;">
<ul class="submenu">
+
        </a>
<li> <a href=" https://2016.igem.org/Team:Rice/Team"> Team   </a> </li>
+
      </li>
                                <li> <a href=" https://2016.igem.org/Team:Rice/Members"> Members  </a> </li>  
+
      <li><a href="https://2016.igem.org/Team:Rice" style=" margin-top:10px;"><h1>HOME</h1></a></li>
                                <li> <a href=" https://2016.igem.org/Team:Rice/Advisers"> Advisers </a> </li>
+
      <li><a class="navItem" href="https://2016.igem.org/Team:Rice/Description" style=" margin-top:10px;"><h1>PROJECT</h1></a>
                    </ul>
+
        <ul>
                </li>
+
          <li><a href="https://2016.igem.org/Team:Rice/Description">OVERVIEW</a></li>
 
+
          <li><a href="https://2016.igem.org/Team:Rice/Sofware">SOFTWARE</a>
<li class="menu_item"> <div class="icon plus"></div> PROJECT 
+
            <ul>
<ul class="submenu">
+
              <li><a href="https://2016.igem.org/Team:Rice/Software">inspiration</a></li>
<li> <a href="https://2016.igem.org/Team:Rice/Description"> ★  Description </a></li>
+
              <li><a href="https://2016.igem.org/Team:Rice/Software">overview</a></li>
<li> <a href="https://2016.igem.org/Team:Rice/Design"> ★ Design </a></li>
+
              <li><a href="https://2016.igem.org/Team:Rice/Software">feedback</a></li>
<li> <a href="https://2016.igem.org/Team:Rice/Experiments"> Experiments </a></li>
+
            </ul>
<li> <a href="https://2016.igem.org/Team:Rice/Proof"> ★ Proof of Concept </a></li>
+
          </li>
<li> <a href="https://2016.igem.org/Team:Rice/Demonstrate"> ★ Demonstrate </a></li>
+
          <li><a href="https://2016.igem.org/Team:Rice/Modeling">MODELING</a>
<li> <a href="https://2016.igem.org/Team:Rice/Results"> Results </a></li>
+
            <ul>
<li> <a href="https://2016.igem.org/Team:Rice/Notebook"> Notebook </a></li>
+
              <li><a href="https://2016.igem.org/Team:Rice/Modeling">prediction</a></li>
                    </ul>
+
              <li><a href="https://2016.igem.org/Team:Rice/Modeling">assumption</a></li>
                </li>
+
              <li><a href="https://2016.igem.org/Team:Rice/Modeling">equations</a></li>
 
+
              <li><a href="https://2016.igem.org/Team:Rice/Modeling">references</a></li>
<li class="menu_item"> <div class="icon plus"></div> PARTS 
+
            </ul>
<ul class="submenu">
+
          </li>
<li> <a href="https://2016.igem.org/Team:Rice/Parts">Parts </a></li>
+
          <li><a href="https://2016.igem.org/Team:Rice/Expression">PARALLEL SENSORS</a>
<li> <a href="https://2016.igem.org/Team:Rice/Basic_Part"> ★ Basic Parts </a></li>
+
            <ul>
<li> <a href="https://2016.igem.org/Team:Rice/Composite_Part"> ★ Composite Parts </a></li>
+
              <li><a href="https://2016.igem.org/Team:Rice/Expression/ParaBAD"><i>P<sub>araBAD</sub></i> characterization</a></li>
<li> <a href="https://2016.igem.org/Team:Rice/Part_Collection"> ★ Part Collection </a></li>
+
            </ul>
                    </ul>
+
          </li>
                </li>
+
          <li><a href="https://2016.igem.org/Team:Rice/Application">APPLICATION</a></li>
 
+
        </ul>
 
+
        <li><a class="navItem" href="https://2016.igem.org/Team:Rice/Parts" style=" margin-top:10px;"><h1>ACHIEVEMENT</h1></a>
<li class="menu_item"> <a href="https://2016.igem.org/Team:Rice/Safety"> SAFETY </a> </li>
+
          <ul>
 
+
            <li><a href="https://2016.igem.org/Team:Rice/Parts">PARTS</a></li>
 
+
            <li><a href="https://2016.igem.org/Team:Rice/Medal">MEDAL REQUIREMENTS</a>
<li class="menu_item"> <a href="https://2016.igem.org/Team:Rice/Attributions">★  ATTRIBUTIONS </a></li>
+
              <ul>
 
+
                <li><a href="https://2016.igem.org/Team:Rice/Medal">bronze</a></li>
 
+
                <li><a href="https://2016.igem.org/Team:Rice/Medal">silver</a></li>
<li class="menu_item"> <div class="icon plus"></div> HUMAN PRACTICES  
+
                <li><a href="https://2016.igem.org/Team:Rice/Medal">gold</a></li>
<ul class="submenu">
+
              </ul>
<li> <a href="https://2016.igem.org/Team:Rice/Human_Practices"> Human Practices </a></li>
+
            </li>
<li> <a href="https://2016.igem.org/Team:Rice/HP/HumansofSynBio">Humans of Syn Bio </a></li>
+
          </ul>
<li> <a href="https://2016.igem.org/Team:Rice/HP/BuildingwithBiology">Building with Biology </a></li>
+
        </li>
                                <li> <a href="https://2016.igem.org/Team:Rice/IBBGirlsDebate">IBB Girls Debate </a></li>
+
        <li><a class="navItem" href="https://2016.igem.org/Team:Rice/Team" style=" margin-top:10px;"><h1>TEAM</h1></a>
                                <li> <a href="https://2016.igem.org/Team:Rice/Integrated_Practices"> ★ Integrated Practices </a></li>
+
          <ul>
+
            <li><a href="https://2016.igem.org/Team:Rice/Team">MEMBERS</a></li>
                    </ul>
+
            <li><a href="https://2016.igem.org/Team:Rice/Advisors">ADVISORS</a></li>
                </li>
+
            <li><a href="https://2016.igem.org/Team:Rice/Instructors">INSTRUCTORS</a></li>
 
+
            <li><a href="https://2016.igem.org/Team:Rice/Attributions">ATTRIBUTIONS</a></li>
 
+
          </ul>
<li class="menu_item"> <div class="icon plus"></div> AWARDS
+
        </li>
<ul class="submenu">
+
        <li><a class="navItem" href="https://2016.igem.org/Team:Rice/Practices" style=" margin-top:10px;"><h1>HUMAN PRACTICES</h1></a>
<li><a href="https://2016.igem.org/Team:Rice/Entrepreneurship"> ★ Entrepreneurship </a></li>
+
          <ul>
<li> <a href="https://2016.igem.org/Team:Rice/Hardware"> ★ Hardware </a></li>
+
            <li><a href="https://2016.igem.org/Team:Rice/Building_With_Biology">BUIDING WITH BIOLOGY</a></li>
<li> <a href="https://2016.igem.org/Team:Rice/Software">★ Software </a></li>
+
            <li><a href="https://2016.igem.org/Team:Rice/Practices_ExploratoryResearch">EXPLORATORY RESEARCH</a></li>
<li> <a href="https://2016.igem.org/Team:Rice/Measurement">★  Measurement </a></li>
+
            <li><a href="https://2016.igem.org/Team:Rice/Practices_Debate">BIOETHICAL DEBATE</a></li>
<li> <a href="https://2016.igem.org/Team:Rice/Model">★ Model </a></li>
+
            <li><a href="https://2016.igem.org/Team:Rice/Humans_Of_Syn_Bio">HUMANS OF SYN BIO</a></li>
 
+
          </ul>
                    </ul>
+
        </li>
                </li>
+
        <li><a class="navItem" href="https://2016.igem.org/Team:Rice/Notebook" style=" margin-top:10px;"><h1>WETLAB</h1></a>
</ul>
+
          <ul>
 
+
            <li><a href="https://2016.igem.org/Team:Rice/Notebook">NOTEBOOK</a></li>
</div>
+
            <li><a href="https://2016.igem.org/Team:Rice/Protocol">PROTOCOL</a>
 
+
              <ul>
 
+
                <li><a href="https://2016.igem.org/Team:Rice/Protocol">protocols</a></li>
 
+
                <li><a href="https://2016.igem.org/Team:Rice/Protocol">experiments</a></li>
 
+
              </ul>
 
+
            </li>
<div class="content_wrapper">
+
            <li><a href="https://2016.igem.org/Team:Rice/Safety">SAFETY</a>
 
+
              <ul>
 
+
                <li><a href="https://2016.igem.org/Team:Rice/Safety">organisms</a></li>
 
+
                <li><a href="https://2016.igem.org/Team:Rice/Safety">project design</a></li>
<h1 id="team_name"> </h1>
+
                <li><a href="https://2016.igem.org/Team:Rice/Protocol">biosafety</a></li>
<h4 id="page_name"> </h4>
+
                <li><a href="https://2016.igem.org/Team:Rice/Protocol">safety training</a></li>
 
+
              </ul>
 +
            </li>
 +
          </ul>
 +
        </li>
 +
        <li style="padding:10px 20px;">
 +
          <a href="http://www.rice.edu/">
 +
            <image class="button" id="Ricelogo" src="https://static.igem.org/mediawiki/2015/f/f6/HKUST-Rice15_ricelogo3.png" style="width: 106px; height: 40px;  margin: -20px;">
 +
          </a>
 +
        </li>
 +
        <li style="padding:10px 20px;">
 +
          <a href="https://2016.igem.org/Team:Rice/">
 +
            <image class="button" id="Ricelogo" src="https://static.igem.org/mediawiki/2016/thumb/a/a0/Igem_generic_logo.jpg/537px-Igem_generic_logo.jpg" style="width: 40px; height: 40px; margin:-20px;">
 +
          </a>
 +
        </li>
 +
    </ul>
 +
  </div>
  
  
Line 515: Line 496:
 
     </div>
 
     </div>
 
</footer>
 
</footer>
 
 
 
<script>
 
 
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
 
 
$(document).ready(function() {
 
 
$("#HQ_page").attr('id','');
 
 
 
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
 
$("#team_name").html( wgPageName );
 
}
 
 
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) {  // if it is the home page , just print the team's name
 
$("#team_name").html( wgPageName.substring( 5, wgPageName.length ) );
 
}
 
 
else {
 
// this adds the team's name as an h1
 
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/")  ) );
 
 
// this adds the page's title as an h4
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
}
 
 
 
 
 
$('#accordion').find('.menu_item').click(function(){
 
 
//Expand or collapse this panel
 
submenu = $(this).find('.submenu');
 
submenu.toggle();
 
 
icon = $(this).find('.icon');
 
 
if ( !$( submenu ).is(':visible') ) {
 
icon.removeClass("less").addClass("plus");
 
}
 
else {
 
icon.removeClass("plus").addClass("less");
 
}
 
 
//Hide the other panels
 
$(".submenu").not(submenu).hide();
 
$(".icon").not(icon).removeClass("less").addClass("plus");
 
});
 
 
 
$(".collapsable_menu_control").click(function() {
 
$(".menu_item").toggle();
 
});
 
 
$( window ).resize(function() {
 
$(".menu_item").show();
 
});
 
 
 
});
 
 
 
 
 
</script>
 
 
  
 
</html>
 
</html>

Revision as of 04:46, 21 July 2016