Difference between revisions of "Template:Austin UTexas"

(Undo revision 58652 by Martinez.zacharya (talk))
Line 1: Line 1:
 
<html>
 
<html>
 +
<style>
  
<script>
+
/********************************* DEFAULT WIKI SETTINGS  ********************************/
  
// This is the jquery part of your template. 
+
#sideMenu, #top_title {display:none;}
// Try not modify any of this code too much since it makes your menu work.
+
#content { padding:0px; width:100%; margin-top: 0px; margin-left:0px;}
 +
body {background-color:white; }
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; margin-top: 0px}
  
$(document).ready(function() {
+
/********************************* MENU ********************************/
  
$("#HQ_page").attr('id','');
+
/*********************new menu formatting*******************/
  
// call the functions that control the menu  
+
.menu-wrap {
menu_functionality();  
+
    width:100%;
hide_show_menu();
+
    background:#FFF;
 +
    position:relative;
 +
}
 +
 +
.menu {
 +
    margin-top:-6px;
 +
    padding:0;
 +
    position: fixed;
 +
    z-index:1;
 +
    left: 0px;
 +
    width:100%;
 +
    background:#FFF;
 +
}
 +
 +
.menu li {
 +
    margin:0px;
 +
    list-style:none;
 +
}
 +
 +
.menu a {
 +
    transition:all linear 0.15s;
 +
    padding:10px;
 +
    color:#BDBDBD;
 +
}
 +
 +
.menu li:hover > a, .menu .current-item > a {
 +
    text-decoration:none;
 +
    color:#000000;
 +
}
 +
 +
.menu .arrow {
 +
    font-size:11px;
 +
    line-height:0%;
 +
}
 +
 +
/*----- Top Level -----*/
 +
menu > ul {
 +
    white-space: nowrap;
 +
}
  
  
 +
.menu > ul > li {
 +
    margin-top:-5px;
 +
    float:left;
 +
    display:inline-block;
 +
    position:relative;
 +
    font-size:12px;
 +
}
 +
 +
.menu > ul > li > a {
 +
      display: inline-block;
 +
      float: none;
 +
}
 +
 +
.menu > ul > li:hover > a, .menu > ul > .current-item > a {
 +
    background:#DF7F3E;
 +
}
 +
 +
/*----- Bottom Level -----*/
 +
.menu li:hover ul {
 +
    display:block;
 +
}
 +
 +
.sub-menu {
 +
    width:200%;
 +
    padding:0px 0px;
 +
    position:absolute;
 +
    top:90%;
 +
    left:0px;
 +
    transition:opacity linear 0.15s;
 +
    box-shadow:0px 2px 3px rgba(0,0,0,0.2);
 +
    background:#2e2728;
 +
    display:none;
 +
    z-index:1;
 +
}
 +
 +
.sub-menu li {
 +
    display:block;
 +
    font-size:13px;
 +
}
 +
 +
.sub-menu li a {
 +
    padding:10px 10px;
 +
    display:block;
 +
}
 +
 +
.sub-menu li a:hover, .sub-menu .current-item a {
 +
    text-color:#000000;
 +
    background:#DF7F3E;
 +
}
  
//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
+
/* Wrapper for the menu */
$("#display_menu_control").click(function(){
+
.menu_wrapper {  
$('#menu_content').fadeToggle(400);
+
width:100%;
});
+
                margin-top:-10px;
 +
                margin-left:-20px;
 +
height:0px;
 +
position:fixed;
 +
padding:0px;
 +
display:inline;
 +
                list-style: none;
 +
              box-shadow:0px 1px 3px rgba(0,0,0,0.2);
 +
}
  
// call the current page highlight function
 
highlight_current_page();
 
}
 
  
 +
/* styling for the menu items */
 +
.menu_item {
 +
                background-color:#f2f2f2;
 +
width:11%;
 +
                float:left;
 +
margin:0px 0px 0px 0px;
 +
                padding-top: 10px;
 +
                padding-bottom: 10px;
 +
border-bottom: 1px solid #d3d3d3;
 +
font-weight:bold;
 +
                text-align: center;
 +
color:#000000;
 +
cursor: pointer;
 +
                list-style: none;
 +
}
  
// call the highlight current page function to show it on the menu with a different background color
+
/* when hovering on a menu item */
function highlight_current_page() {
+
.menu_item:hover {
 +
color:#000000;
 +
background-color: #DF7F3E;
 +
}
  
// 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
+
/* decoration icon for the menu buttons*/
$("#"+  wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page");
+
.icon {
 
+
float:left;
// now that the current_page class has been added to a menu item, make the submenu fade in
+
font-size:12px;  
$(".current_page").parents(".submenu_wrapper").fadeIn(400);
+
font-weight:bold;  
// 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
+
/* this is the icon for when the content is collapsed */
if (window.location.href.indexOf("submit") >= 0) {
+
.plus::before {
$(".igem_2017_menu_wrapper").hide();
+
content:"";
}
+
                color:#CF5300;
 +
}
 +
/* this is the icon for when the content is expanded */
 +
.less::before {
 +
content: "";
 +
                color:#CF5300;
 +
}
  
// if the black menu bar has been loaded
+
/* styling for the ul that creates the buttons */
  if (document.getElementById('bars_item')) {
+
ul.menu_items {
 +
width:100%;
 +
margin-left:0px;
 +
padding:0px;
 +
list-style: none;
 +
}
  
// when the "bars_item" has been clicked
+
/* styling for the li that are the menu items */
$("#bars_item").click(function() {
+
.menu_items li {  
$("#sideMenu").hide();
+
width:100%;
 +
margin-top: 0px;
 +
padding: 0px 0px 0px 0px ;
 +
display:block;
 +
border-bottom: 1px solid #d3d3d3
 +
font-weight:bold;
 +
text-decoration:none;
 +
color:#000000;
 +
                text-align:left;
 +
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; 
 +
}
  
// show/hide the menu wrapper
+
.menu_item a {
$(".igem_2017_menu_wrapper").fadeToggle("100");
+
width: 100%;
});
+
margin-left: -20px;
  }  
+
padding: 11px 90px 12px 20px;
 +
text-decoration: none;
 +
color:black;
 +
}
  
// 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
+
/* When hovering on a menu item */
else {
+
.menu_items li:hover {  
    setTimeout(hide_show_menu, 15);
+
background-color:#ff9900;
}
+
color: #000000;
}
+
}
  
 +
/* styling for the submenus */
 +
.submenu {
 +
width:100%;
 +
display: none; 
 +
font-weight:bold;
 +
cursor:pointer;
  
});
+
}
  
 +
/* moving the margin for the submenu ul list */
 +
ul.submenu {
 +
width: 100%;
 +
margin: 10px 0px -11px 0px;
 +
list-style: none;
 +
}
  
</script>
+
/*styling for the submenu buttons */
 +
.submenu li {
 +
width: 100%;
 +
margin-left: 10px;
 +
margin-bottom: 0px;
 +
                list-style-type: none;
 +
}
  
  
 +
/* 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;
 +
}
  
 +
.submenu li a:hover  {
 +
background-color:#000000;
 +
color: #CF5300;
 +
}
  
  
<style>
+
/* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
 
+
.collapsable_menu_control {  
 
+
width:100%;  
 
+
padding: 15px 0px;
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
+
display:none;  
+
background-color:#000000;  
/* Clear the default wiki settings */
+
text-align:center;
+
font-weight:bold;  
#home_logo, #sideMenu { display:none; }
+
color:#CF5300;
#sideMenu, #top_title, .patrollink  {display:none;}
+
cursor:pointer;  
#content { width:100%; padding:0px; margin-top:-7px; margin-left:0px;}
+
-webkit-transition: all 0.4s ease;  
body {background-color:white; }
+
-moz-transition: all 0.4s ease;  
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
+
-ms-transition: all 0.4s ease;  
 
+
-o-transition: all 0.4s ease;  
+
transition: all 0.4s ease;  
+
+
/**************************************************************** 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 */
+
/* when hovering on that button */
.igem_2017_menu_wrappe::-webkit-scrollbar {  
+
.collapsable_menu_control:hover {  
display: none;  
+
background-color: #CF5300;
}
+
color:#000000;
+
+
/* styling for links in the menu, removes the line under text */
+
.igem_2017_menu_wrapper a { 
+
text-decoration: none;  
+
 
}
 
}
  
 +
/********************************* CONTENT OF THE PAGE ********************************/
  
/* styling for the images in the menu */
+
/* Wrapper for the content */
.igem_2017_menu_wrapper img {  
+
.content_wrapper {
 
width: 100%;
 
width: 100%;
 +
margin-left: 0px;
 +
                margin-right: 0px;
 +
                margin-top: 25px;
 +
padding: 0px 0px;
 +
float: left;
 
}
 
}
  
/* styling for the menu buttons */
+
/*LAYOUT */
.igem_2017_menu_wrapper .menu_button {  
+
.column  {  
width: 100%;  
+
width: 100%;
padding: 10px 0px 10px 15px;
+
  margin-left: auto ;
float:left;
+
                margin-right: auto ;
border-bottom: 1px solid #d3d3d3;  
+
                margin-top: 20px;
font-size: 12px;  
+
font-weight: bold;
+
color: #5e5f5f;
+
cursor: pointer;
+
 
}
 
}
  
 +
        .full_size{
 +
width:80%;
 +
}
  
.igem_2017_menu_wrapper .menu_bottom_padding {  
+
.full_size_outer{
width: 100%;  
+
width:80%;  
height: 30px;
+
              background: rgba(255, 255, 255, .70);
float:left;
+
 
}
 
}
  
.menu_button.direct_to_page {  
+
      /* only use inside .full_size_outer */
padding-left: 36px;
+
        .full_size_inner{
 +
width:100%;  
 
}
 
}
  
 
+
.full_size img {  
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon {
+
padding: 10px 0px;
width:10%;
+
                width: 100%;
float:left;
+
 
}
 
}
 +
       
 +
        .seventh_size {
 +
                width: 14.28%;
 +
                text-align: center;
 +
                float:left;
 +
        }
  
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon::before {
+
        .sixth_size{
content: "+";
+
                width: 16.66%;
 +
                text-align: center;
 +
                float:left;
 +
        }
 +
 
 +
        .fifth_size {
 +
                width: 20%;
 +
                text-align:center;
 +
                float:left;
 +
        }
 +
.half_size {
 +
width: 50%;
 +
                float:left;
 
}
 
}
+
.half_size img {  
.open::before {
+
padding: 0px 15px;
content: "-" !important; 
+
width: 93%;  
}
+
+
+
+
/* 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 */
+
 
.current_page {  
+
.clear {
background-color:#7fc1f7  !important;
+
clear:both;
color:#5e5f5f !important;
+
 
}
 
}
  
 
+
.highlight {  
/* styling for the submenu buttons */
+
.igem_2017_menu_wrapper .submenu_button {  
+
 
width: 100%;  
 
width: 100%;  
padding: 10px 0px 10px 34px;  
+
margin: auto;  
float:left;
+
padding: 0px 5px;
background-color:#f2f2f2;
+
background-color: #f2f2f2;  
border-bottom: 1px solid #d3d3d3;
+
font-size: 12px;
+
color: #5e5f5f;
+
cursor: pointer;
+
 
}
 
}
  
/* wrapper for the submenu items, they are hidden by default*/
+
.judges-will-not-evaluate {
.igem_2017_menu_wrapper .submenu_wrapper {  
+
border: 4px solid #CF5300;
display:none;
+
display: block;
 +
margin: 5px 15px;
 +
width: 95%;
 +
font-weight:bold;
 
}
 
}
  
/* when the page size is bigger than 800px, this show/hide control is hidden by default */
+
.igem_2017_menu_wrapper #display_menu_control {
+
display:none;
+
text-align:center;
+
}
+
+
  
/***************************************************** CONTENT OF THE PAGE ****************************************************/
+
/*STYLING */
 +
 
 +
/* styling for the titles */
 +
.content_wrapper h1 {
 +
                padding: 0px 15px;
 +
border-bottom:0px;
 +
color:#FFFFFF;
 +
                font-family: 'Calisto MT', serif;
  
/* 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;
 
 
}
 
}
 +
        .content_wrapper h2 {
 +
padding: 15px 15px;
 +
border-bottom:0px;
 +
color:#CF5300;
 +
                font-family: 'Calisto MT', serif;
 +
                font-size: 40px;
  
 
/********************************* HTML STYLING  *********************************/
 
 
/* styling for the titles h1 h2 */
 
.igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
 
padding:5px 15px;
 
border-bottom: 0px;
 
color: #3399ff;
 
 
}
 
}
 
+
.content_wrapper h3 {
 
+
padding: 7px 15px;
/* styling for the titles h3 h4 h5 h6*/
+
border-bottom:0px;
.igem_2017_content_wrapper h3, .igem_2017_content_wrapper h4, .igem_2017_content_wrapper h5, .igem_2017_content_wrapper h6 {  
+
color: #CF5300;
padding:5px 15px;  
+
                font-family: 'Calisto MT', serif;
 +
                font-size: 30px;  
 +
}
 +
        .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 {  
 +
padding: 1px 15px;  
 
border-bottom:0px;  
 
border-bottom:0px;  
color: #000000;   
+
color: #CF5300;
 +
                font-family: 'Calisto MT', serif;
 +
                font-size: 20px;   
 
}
 
}
  
  
 
/* font and text */
 
/* font and text */
.igem_2017_content_wrapper p {  
+
.content_wrapper p {  
padding: 0px 15px;  
+
padding:1px 15px;  
font-size: 13px;
+
font-size: 17px;
 +
font-family:'Calisto MT', serif;  
 
}
 
}
  
 
/* Links */
 
/* Links */
.igem_2017_content_wrapper a {  
+
.content_wrapper a {  
font-weight: bold;  
+
font-weight: bold;
 +
                font-family:'Calisto MT', serif; 
 
text-decoration: underline;
 
text-decoration: underline;
text-decoration-color: #3399ff;
+
text-decoration-color:#CF5300;
color: #3399ff;
+
color: #CF5300;
 
-webkit-transition: all 0.4s ease;
 
-webkit-transition: all 0.4s ease;
 
-moz-transition: all 0.4s ease;  
 
-moz-transition: all 0.4s ease;  
Line 268: Line 412:
  
 
/* hover for the links */
 
/* hover for the links */
.igem_2017_content_wrapper a:hover {  
+
.content_wrapper a:hover {  
 
text-decoration:none;
 
text-decoration:none;
 
color:#000000;
 
color:#000000;
Line 274: Line 418:
  
 
/* non numbered lists */
 
/* non numbered lists */
.igem_2017_content_wrapper ul {
+
.content_wrapper ul {
padding:0px 20px;
+
padding:1px 15px;  
font-size: 13px;
+
font-size: 17px;
font-family:Tahoma, Geneva, sans-serif;  
+
font-family:'Calisto MT', serif;  
 
}
 
}
  
 
/* numbered lists */
 
/* numbered lists */
.igem_2017_content_wrapper ol {
+
.content_wrapper ol {
padding:0px;  
+
padding:1px 15px;  
font-size: 13px;
+
font-size: 17px;
font-family:Tahoma, Geneva, sans-serif;  
+
font-family:'Calisto MT', serif;
 
}
 
}
  
 
/* Table */
 
/* Table */
.igem_2017_content_wrapper table {  
+
.content_wrapper table {  
width: 97%;  
+
width: 100%;  
margin:15px 10px;  
+
margin: 0px 0px;  
 
border: 1px solid #d3d3d3;  
 
border: 1px solid #d3d3d3;  
 
border-collapse: collapse;  
 
border-collapse: collapse;  
Line 296: Line 440:
  
 
/* table cells */
 
/* table cells */
.igem_2017_content_wrapper td {  
+
.content_wrapper td {  
padding: 10px;
+
padding: 0px;
 
vertical-align: text-top;  
 
vertical-align: text-top;  
 
border: 1px solid #d3d3d3;  
 
border: 1px solid #d3d3d3;  
Line 304: Line 448:
  
 
/* table headers */
 
/* table headers */
.igem_2017_content_wrapper th {  
+
.content_wrapper th {  
padding: 10px;  
+
padding: 0px;  
 
vertical-align: text-top;  
 
vertical-align: text-top;  
 
border: 1px solid #d3d3d3;  
 
border: 1px solid #d3d3d3;  
Line 312: Line 456:
 
}
 
}
  
 
+
/* Button class */
/**********************************LAYOUT CLASSES **********************************/
+
.button_click {  
 
+
margin: 10px auto;
/* general class for column divs */
+
padding: 15px; width:12%;   
.igem_2017_content_wrapper .column  {  
+
text-align:center;  
padding: 10px 0px;
+
font-weight:bold;
float:left;
+
                font-family:'Calisto MT', serif;   
}
+
background-color: #CF5300;
 
+
cursor:pointer;
/* class for a full width column */
+
-webkit-transition: all 0.4s ease;
.column .full_size {
+
-moz-transition: all 0.4s ease;  
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;  
 
-ms-transition: all 0.4s ease;  
-o-transition: all 0.4s ease; transition: all 0.4s ease;
+
-o-transition: all 0.4s ease;  
 +
transition: all 0.4s ease;  
 
}
 
}
  
/* styling for button on hover */
+
/* button class on hover */
.igem_2017_content_wrapper .button:hover{
+
.button_click:hover {
background-color: #3399ff;
+
background-color:#000000;  
    color: #000000;
+
color:#CF5300;
 
}
 
}
  
  
 +
/********************************* RESPONSIVE STYLING ********************************/
  
 +
/* IF THE SCREEN IS LESS THAN 1000PX */
  
/***************************************************** RESPONSIVE STYLING ****************************************************/
+
@media only screen and (max-width: 1000px) {
 
+
/* IF THE SCREEN IS LESS THAN 1200PX */
+
@media only screen and (max-width: 1200px) {
+
  
 
#content {width:100%; }
 
#content {width:100%; }
.igem_2017_menu_wrapper {width:15%; right:0;}
+
.menu_wrapper {width:15%;}
 +
.content_wrapper {margin-left: 15%;}
 +
.menu_item {display:block;}
 +
.icon {display:none;}
 
.highlight {padding:10px 0px;}
 
.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%;}
+
/* IF THE SCREEN IS LESS THAN 680PX */
.igem_2017_content_wrapper {width:100%; margin-left:0px;}
+
 
.column.half_size {width:100%; }
+
@media only screen and (max-width: 680px) {
.column.full_size img, .column.half_size img { width: 100%; padding: 10px 0px;}  
+
.collapsable_menu_control { display:block;}
 +
.menu_item {display:none;}
 +
.menu_wrapper { width:100%; height: 15%; position:relative;}
 +
.content_wrapper {width:100%; margin-left:0px;}
 +
.column.half_size {width:100%; }
 +
.column img { width: 100%; padding: 5px 0px;}
 +
.icon {display:block;}
 
.highlight {padding:15px 5px;}
 
.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>
 
</style>
  
  
<!--- THIS IS WHERE THE HTML BEGINS --->
 
  
  
 +
<!--- THIS IS WHERE THE HTML BEGINS --->
  
<head>
 
  
<!-- This tells the browser that your page is responsive -->
+
<!-- This tells the browser that your page is responsive -->
<meta name="viewport" content="width=device-width, initial-scale=1">  
+
  
</head>
+
<div class="menu_wrap" >
 +
        <nav class="menu">
 +
                <ul class="clearfix">
  
 +
<li> <a href="https://2016.igem.org/Team:Austin_UTexas">HOME </a> </li>
  
  
<div class="igem_2017_menu_wrapper" >
+
<li> <a href="">TEAM <span class="arrow">&#9660;</span></a>
 +
<ul class="sub-menu">
 +
<li> <a href=" https://2016.igem.org/Team:Austin_UTexas/Team"> Team  </a> </li>
 +
<li> <a href="https://2016.igem.org/Team:Austin_UTexas/Collaborations">★  Collaborations </a> </li>
 +
                    </ul>
 +
                </li>
  
 +
<li>
 +
                    <a href="">PROJECT  <span class="arrow">&#9660;</span></a>
 +
<ul class="sub-menu">
 +
<li> <a href="https://2016.igem.org/Team:Austin_UTexas/Description"> ★  Description </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Austin_UTexas/Demonstrate"> ★ Demonstrate </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Austin_UTexas/Results"> Results </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Austin_UTexas/Protocols"> Protocols </a></li>
 +
                    </ul>
 +
                </li>
  
 +
<li > <a href="https://2016.igem.org/Team:Austin_UTexas/Parts">PARTS </a></li>
  
<a href="https://2017.igem.org/Team:Austin_UTexas">
 
<img src="https://static.igem.org/mediawiki/2017/1/18/T--Austin_UTexas--YoGABAGABA.jpg">
 
</a>
 
  
 +
<li> <a href="https://2016.igem.org/Team:Austin_UTexas/Safety"> SAFETY </a> </li>
  
<!-- this div is hidden by default and will only be displayed if the screen size is too small -->
 
<div class="menu_button" id="display_menu_control">
 
MENU 
 
</div>
 
  
<div id="menu_content">
+
<li> <a href="https://2016.igem.org/Team:Austin_UTexas/Attributions">★  ATTRIBUTIONS </a></li>
+
  
  
 +
<li> <a href=""> HUMAN PRACTICES<span class="arrow">&#9660;</span></a>
 +
<ul class="sub-menu">
 +
<li> <a href="https://2016.igem.org/Team:Austin_UTexas/Human_Practices"> Human Practices        </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Austin_UTexas/HP/Silver">★ Silver </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Austin_UTexas/HP/Gold">★ Gold </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Austin_UTexas/Integrated_Practices"> ★ Integrated Practices </a></li>
 +
                    </ul>
 +
                </li>
  
<a href="https://2017.igem.org/Team:Austin_UTexas">
+
              <li> <a href="https://2016.igem.org/Team:Austin_UTexas/Interlab Study">INTERLAB STUDY </a> </li>
<div class="menu_button direct_to_page">
+
HOME
+
</div>  
+
</a>
+
  
 +
</ul>
 +
  </nav>
 +
</div>
 +
<div class="content_wrapper">
  
  
<div class="menu_button">
+
<script>
<div class="expand_collapse_icon">  </div> TEAM
+
</div>  
+
  
<div class="submenu_wrapper" id="team_submenu">
+
// This is the jquery part of your template. Try not modify any of this code since it makes your menu work.
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Team">
+
<div class="submenu_button" id="Team_page">
+
Team
+
</div>
+
</a>
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Collaborations">
+
<div class="submenu_button"  id="Collaborations_page">
+
Collaborations
+
</div>
+
</a>
+
+
+
</div>
+
  
 +
$(document).ready(function() {
  
+
$("#HQ_page").attr('id','');
 
 
  
<div class="menu_button">
+
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
<div class="expand_collapse_icon">  </div> PROJECT
+
$("#team_name").html( wgPageName );
</div>
+
}
  
<!-- project submenu -->
+
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) { // if it is the home page , just print the team's name
<div class="submenu_wrapper">
+
}
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Description">
+
<div class="submenu_button" id="Description_page">
+
Description
+
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Design">
+
else {
<div class="submenu_buttonid="Design_page">
+
// this adds the team's name as an h1
Design
+
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/") ) );
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Experiments">
+
// this adds the page's title as an h4
<div class="submenu_buttonid="Experiments_page">
+
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ") );
Experiments
+
}
</div>
+
</a>
+
  
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Notebook">
 
<div class="submenu_button"  id="Notebook_page">
 
Notebook
 
</div>
 
</a>
 
  
<a href="https://2017.igem.org/Team:Austin_UTexas/InterLab">
 
<div class="submenu_button"  id="InterLab_page">
 
InterLab
 
</div>
 
</a>
 
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Contribution">
+
$('#accordion').find('.menu_item').click(function(){
<div class="submenu_button"  id="Contribution_page">
+
Contribution
+
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Model">
+
//Expand or collapse this panel
<div class="submenu_button"  id="Model_page">
+
submenu = $(this).find('.submenu');
Model
+
submenu.toggle();
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Results">
+
icon = $(this).find('.icon');
<div class="submenu_button"  id="Results_page">
+
Results
+
</div>
+
</a>
+
  
 +
if ( !$( submenu ).is(':visible') ) {
 +
icon.removeClass("less").addClass("plus");
 +
}
 +
else {
 +
icon.removeClass("plus").addClass("less");
 +
}
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Demonstrate">
+
//Hide the other panels
<div class="submenu_button" id="Demonstrate_page">
+
$(".submenu").not(submenu).hide();
Demonstrate
+
$(".icon").not(icon).removeClass("less").addClass("plus");
</div>
+
});
</a>
+
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Improve">
 
<div class="submenu_button"  id="Improve_page">
 
Improve
 
</div>
 
</a>
 
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Attributions">
+
$(".collapsable_menu_control").click(function() {
<div class="submenu_button" id="Attributions_page">
+
$(".menu_item").toggle();
Attributions
+
});
</div>
+
</a>
+
  
</div>
+
$( window ).resize(function() {
 +
$(".menu_item").show();
 +
});
  
 
 
 
 
  
<div class="menu_button">
+
});
<div class="expand_collapse_icon">  </div> PARTS
+
</div>
+
+
<!-- parts submenu -->
+
<div class="submenu_wrapper">
+
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Parts">
+
<div class="submenu_button"  id="Parts_page">
+
Parts
+
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Basic_Part">
 
<div class="submenu_button"  id="Basic_Part_page">
 
Basic Parts
 
</div>
 
</a>
 
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Composite_Part">
 
<div class="submenu_button"  id="Composite_Part_page">
 
Composite Parts
 
</div>
 
</a>
 
  
<a href="https://2017.igem.org/Team:Austin_UTexas/Part_Collection">
 
<div class="submenu_button"  id="Part_Collection_page">
 
Part Collection
 
</div>
 
</a>
 
</div>
 
  
+
</script>
+
</html>
+
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Safety">
+
<div class="menu_button direct_to_page">
+
SAFETY
+
</div>
+
</a>
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
<div class="menu_button" >
+
<div class="expand_collapse_icon">  </div> HUMAN PRACTICES
+
</div>
+
 
+
<!-- human practices submenu -->
+
<div class="submenu_wrapper">
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/HP/Silver">
+
<div class="submenu_button"  id="Silver_page">
+
Silver HP
+
</div>
+
</a>
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/HP/Gold_Integrated">
+
<div class="submenu_button" id="Gold_Integrated_page">
+
Integrated and Gold
+
</div>
+
</a>
+
 
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Engagement">
+
<div class="submenu_button"  id="Engagement_page">
+
Public Engagement
+
</div>
+
</a>
+
 
+
</div>
+
 
+
 
+
<div class="menu_button">
+
<div class="expand_collapse_icon">  </div> AWARDS
+
</div>
+
 
+
<!-- awards submenu -->
+
<div class="submenu_wrapper">
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Applied_Design">
+
<div class="submenu_button"  id="Applied_Design_page">
+
Applied Design
+
</div>
+
</a>
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Entrepreneurship">
+
<div class="submenu_button"  id="Entrepreneurship_page">
+
Entrepreneurship
+
</div>
+
</a>
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Hardware">
+
<div class="submenu_button"  id="Hardware_page">
+
Hardware
+
</div>
+
</a>
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Measurement">
+
<div class="submenu_button"  id="Measurement_page">
+
Measurement
+
</div>
+
</a>
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Model">
+
<div class="submenu_button"  id="Model_page">
+
Model
+
</div>
+
</a>
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Plant">
+
<div class="submenu_button"  id="Plant_page">
+
Plant
+
</div>
+
</a>
+
 
+
 
+
<a href="https://2017.igem.org/Team:Austin_UTexas/Software">
+
<div class="submenu_button"  id="Software_page">
+
Software
+
</div>
+
</a>
+
 
+
</div>
+
 
+
<a href="https://igem.org/2017_Judging_Form?team=Austin_UTexas">
+
<div class="menu_button direct_to_page">
+
JUDGING FORM
+
</div>
+
</a>
+
 
+
                <a href="https://2017.igem.org/Team:Austin_UTexas/Sandbox_Page">
+
                        <div class="menu_button direct_to_page">
+
                                SANDBOX PAGE
+
                        </div>
+
                </a>
+
 
+
 
+
+
<div class="menu_bottom_padding" >
+
</div>
+
+
</div>
+
 
+
 
+
 
+
 
+
</div>
+
 
+
<!-- start of content -->
+
<div class="igem_2017_content_wrapper">
+

Revision as of 21:21, 19 July 2017