Difference between revisions of "Template:Virginia"

(Blanked the page)
 
(175 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
<html>
  
 +
<link href="http://fonts.googleapis.com/css?family=Lato:300|Grand+Hotel" rel="stylesheet" type="text/css">
 +
 +
<head>
 +
 +
<!-- This tells the browser that your page is responsive -->
 +
<meta name="viewport" content="width=device-width, initial-scale=1">
 +
 +
<link href="https://2017.igem.org/wiki/index.php?title=Team:Virginia/css/bootstrap.css&action=raw&ctype=text/css" type="text/css" rel="stylesheet">
 +
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
 +
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
 +
        <script type="text/javascript" src="https://2017.igem.org/wiki/index.php?title=Team:Virginia/js/bootstrap.min.js&action=raw&ctype=text/javascript"></script>
 +
 +
 +
</head>
 +
 +
<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);
 +
}
 +
}
 +
 +
 +
});
 +
 +
 +
/*********CHRISTIA'S SCRIPT**********/
 +
 +
var acc = document.getElementsByClassName("accordion");
 +
var i;
 +
 +
for (i = 0; i < acc.length; i++) {
 +
    acc[i].onclick = function(){
 +
        /* Toggle between adding and removing the "active" class,
 +
        to highlight the button that controls the panel */
 +
        this.classList.toggle("active");
 +
 +
        /* Toggle between hiding and showing the active panel */
 +
        var panel = this.nextElementSibling;
 +
        if (panel.style.display === "block") {
 +
            panel.style.display = "none";
 +
        } else {
 +
            panel.style.display = "block";
 +
        }
 +
    }
 +
}
 +
 +
 +
</script>
 +
 +
 +
 +
 +
 +
 +
<style>
 +
div.panel {
 +
    padding: 0 18px;
 +
    background-color: white;
 +
    max-height: 0;
 +
    overflow: hidden;
 +
    transition: max-height 0.2s ease-out;
 +
}
 +
</style>
 +
 +
<script>
 +
var acc = document.getElementsByClassName("accordion");
 +
var i;
 +
 +
for (i = 0; i < acc.length; i++) {
 +
  acc[i].onclick = function() {
 +
    this.classList.toggle("active");
 +
    var panel = this.nextElementSibling;
 +
    if (panel.style.maxHeight){
 +
      panel.style.maxHeight = null;
 +
    } else {
 +
      panel.style.maxHeight = panel.scrollHeight + "px";
 +
    }
 +
  }
 +
}
 +
</script>
 +
 +
<style>
 +
 +
 +
/***************************************************** CHRISTIA'S THINGS!!! :) :)  ****************************************************/
 +
 +
@font-face {
 +
font-family: "Montserrat";
 +
src: url('Montserrat.regular.ttf');
 +
}
 +
 +
@font-face {
 +
font-family: "Opensans";
 +
src: url('VirginiaOpenSansLight.ttf');
 +
}
 +
 +
@font-face {
 +
font-family: "Montserrat-Medium";
 +
src: url('Montserrat-Medium.ttf');
 +
}
 +
 +
@font-face {
 +
font-family: "Montserrat-Light";
 +
src: url('Montserrat-Light.ttf');
 +
}
 +
 +
@font-face {
 +
font-family: "Montserrat-ExtraLight";
 +
src: url('Montserrat-ExtraLight.ttf');
 +
}
 +
 +
/* Style the buttons that are used to open and close the accordion panel */
 +
button.accordion {
 +
    background-color: #eee;
 +
    color: #444;
 +
    cursor: pointer;
 +
    padding: 18px;
 +
    width: 100%;
 +
    text-align: left;
 +
    border: none;
 +
    outline: none;
 +
    transition: 0.4s;
 +
}
 +
 +
 +
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
 +
 +
/* Clear the default wiki settings */
 +
 +
#home_logo, #sideMenu { display:none; }
 +
#sideMenu, #top_title, .patrollink  {display:none;}
 +
#content {width:100%; padding:0px; margin-left:0px; padding-top:30px;}
 +
body {background-color:white;}
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 +
#toggleID1{display:block; transition-duration: 0.4s;} #toggleID2{display:block; transition-duration: 0.4s;} #toggleID3{display:block; transition-duration: 0.4s;} #toggleID4{display:block; transition-duration: 0.4s;}
 +
 +
 +
 +
/***************************************************** SOCIAL MEDIA ICONS  ****************************************************/
 +
 +
.fa {
 +
font-size: 30px;
 +
width: 100px;
 +
padding: 35px 0px;
 +
text-align: center;
 +
text-decoration: none;
 +
margin: 5px 2px;
 +
transition-duration: 0.4s;
 +
}
 +
 +
.fa:hover {
 +
background: black;
 +
color: #9DCDC3;
 +
}
 +
 +
.fa-facebook {
 +
background: #9DCDC3;
 +
color: black;
 +
}
 +
.fa-envelope {
 +
background: #9DCDC3;
 +
color: black;
 +
}
 +
 +
 +
/***************************************************** CONTENT OF THE PAGE ****************************************************/
 +
 +
/* Wrapper for the content */
 +
.igem_2017_content_wrapper {
 +
width: 100%;
 +
padding: 30px 100px 20px 100x
 +
display:block;
 +
float:left;
 +
background-color: #FFFFFF; /* TAG::BKGD */
 +
font-family:Tahoma, Geneva, sans-serif;
 +
}
 +
 +
 +
/********************************* HTML STYLING  *********************************/
 +
 +
/* styling for the titles h1 */
 +
.igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
 +
padding:5px 15px;
 +
border-bottom: 0px;
 +
                font-size:50px;
 +
                font-family: 'Montserrat', sans-serif;
 +
color:#9BC2C9; /* TAG::LETTERS */
 +
}
 +
 +
/* styling for the titles h2 */
 +
.igem_2017_content_wrapper h2 {
 +
padding:20px 15px;
 +
border-bottom: 0px;
 +
                font-size:27px
 +
                font-family: 'Montserrat', sans-serif;
 +
color: #9DCDC3; /* TAG::LETTERS */
 +
}
 +
 +
 +
/* 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-family: Helvetica, Geneva, sans-serif; */
 +
                font-family: 'Montserrat-Medium', sans-serif;
 +
color: #36454F;  /* TAG::LETTERS */
 +
}
 +
 +
/*Christia's Title Heading*/
 +
.igem_2017_content_wrapper h2017{
 +
padding:100px 100px; }
 +
 +
 +
/* font and text */
 +
.igem_2017_content_wrapper p {
 +
padding: 0px 25px;
 +
font-size: 18px;
 +
                font-family: 'Lato', sans-serif;
 +
                color: #36454F; /* TAG::LETTERS */
 +
}
 +
 +
.igem_2017_content_wrapper pt {
 +
font-weight: bold;
 +
font-size: 24px;
 +
                font-family: 'Lato', sans-serif;
 +
                color: #36454F; /* TAG::LETTERS */
 +
}
 +
 +
/* Links */
 +
.igem_2017_content_wrapper a {
 +
font-weight: bold;
 +
                font-size: 16px;
 +
                font-family: 'Lato', sans-serif;
 +
color: #9DCDC3;
 +
                text-decoration: none;
 +
-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;
 +
}
 +
 +
.igem_2017_content_wrapper a:visited {
 +
                color: #9DCDC3;
 +
}
 +
 +
/* 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: 18px;
 +
                font-family:'Lato', sans-serif;
 +
color: #36454F; /* TAG::LETTERS */
 +
}
 +
 +
/* numbered lists */
 +
.igem_2017_content_wrapper ol {
 +
padding:0px;
 +
font-size: 18px;
 +
                font-family:'Lato', sans-serif;
 +
color: #36454F; /* TAG::LETTERS */
 +
}
 +
 +
/* Table */
 +
.igem_2017_content_wrapper table {
 +
width: 97%;
 +
margin:15px 10px;
 +
border: 1px solid #36454F;
 +
border-collapse: collapse;
 +
}
 +
 +
/* table cells */
 +
.igem_2017_content_wrapper  td {
 +
padding: 10px;
 +
vertical-align: text-top;
 +
border: 1px solid #36454F;
 +
border-collapse: collapse;
 +
}
 +
 +
/* table headers */
 +
.igem_2017_content_wrapper th {
 +
padding: 10px;
 +
vertical-align: text-top;
 +
border: 1px solid #36454F;
 +
border-collapse: collapse;
 +
background-color:#c9ede5;
 +
}
 +
 +
 +
/**********************************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:100%;
 +
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: 100%;
 +
padding: 10px 15px;
 +
}
 +
 +
        /* class for a third width column */
 +
.column.third_size {
 +
width: 33%;
 +
}
 +
 +
}
 +
/* styling for images in a third width column*/
 +
.column.third_size img {
 +
width: 94.5%;
 +
padding: 10px 15px;
 +
}
 +
 +
  /* class for a fifth width column */
 +
.column.fifth_size {
 +
width: 20%;
 +
}
 +
     
 +
 +
/********************************* 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; 
 +
}
 +
 +
/* toggle button class */
 +
.igem_2017_content_wrapper .toggle{
 +
max-width: 35%;
 +
margin: 20px auto;
 +
padding: 12px 10px;
 +
      background-color: #9DCDC3;
 +
      cursor: pointer;
 +
      text-align: center;
 +
 +
font-weight: bold;
 +
font-size: 24px;
 +
                font-family: 'Lato', sans-serif;
 +
                color: #36454F; /* TAG::LETTERS */
 +
-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;
 +
}
 +
 +
/* styling for toggle button on hover */
 +
.igem_2017_content_wrapper .toggle:hover{
 +
background: black;
 +
color: #9DCDC3;
 +
}
 +
 +
/* 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>
 +
 +
<script>
 +
function toggleDiv(strArg) {
 +
    var x = document.getElementById(strArg);
 +
    if (x.style.display === 'none') {
 +
        x.style.display = 'block';
 +
    } else {
 +
        x.style.display = 'none';
 +
    }
 +
}
 +
</script>
 +
 +
</script>
 +
 +
<!--- THIS IS WHERE THE HTML BEGINS --->
 +
 +
 +
 +
 +
<body>
 +
<nav class="navbar navbar-default navbar-fixed-top navbar-inverse" style="top:15px;">
 +
  <div class="container-fluid">
 +
    <div class="navbar-header">
 +
      <a class="navbar-brand" href="#"></a>
 +
        <img src="https://static.igem.org/mediawiki/2017/a/a4/T--Virginia--vGEMlogo_150_a.png" alt="Brand" height="50px">
 +
    </div>
 +
    <ul class="nav navbar-nav navbar-right">
 +
      <li class="active"><a href="https://2017.igem.org/Team:Virginia">Home</a></li>
 +
 +
      <li class="dropdown">
 +
        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Team
 +
        <span class="caret"></span></a>
 +
        <ul class="dropdown-menu">
 +
                    <li><a href="/Team:Virginia/Team">Team</a></li>
 +
                    <li><a href="/Team:Virginia/Collaborations">Collaborations</a></li>
 +
                    <li><a href="/Team:Virginia/Attributions">Attributions</a></li>
 +
        </ul>
 +
      </li>
 +
 +
      <li class="dropdown">
 +
        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Project
 +
        <span class="caret"></span></a>
 +
        <ul class="dropdown-menu">
 +
                    <li><a href="/Team:Virginia/Description">Description</a></li>
 +
                    <li><a href="/Team:Virginia/Design">Design</a></li>
 +
                    <li><a href="/Team:Virginia/Model">Model</a></li>
 +
                    <li><a href="/Team:Virginia/Part_Collection">Parts</a></li>
 +
                    <li><a href="/Team:Virginia/Improve">Improve</a></li>
 +
                    <li><a href="/Team:Virginia/Results">Results</a></li>
 +
 +
        </ul>
 +
      </li>
 +
 +
 +
 +
<li class="dropdown">
 +
        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Documentation
 +
        <span class="caret"></span></a>
 +
        <ul class="dropdown-menu">
 +
                    <li><a href="/Team:Virginia/Notebook">Notebook</a></li>
 +
            <li><a href="/Team:Virginia/InterLab">InterLab</a></li>
 +
                    <li><a href="/Team:Virginia/Safety">Safety</a></li>
 +
                    <li><a href="/Team:Virginia/Experiments">Protocols</a></li>
 +
                    <li><a href="/Team:Virginia/MedalCriteria">Medal Criteria</a></li>
 +
        </ul>
 +
      </li>
 +
 +
      <li class="dropdown">
 +
        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Human Practices
 +
        <span class="caret"></span></a>
 +
        <ul class="dropdown-menu">
 +
                    <li><a href="/Team:Virginia/Engagement">Public Engagement</a></li>
 +
                    <li><a href="/Team:Virginia/HP/SilverGold">Integrated Human Practices</a></li>
 +
        </ul>
 +
      </li>
 +
 +
<li><a href="https://igem.org/2017_Judging_Form?team=Virginia">Judging</a></li>
 +
 +
        </ul>
 +
      </li>
 +
 +
   
 +
 +
    </ul>
 +
  </div>
 +
</nav>
 +
 +
</body>
 +
 +
 +
 +
<!-- start of content -->
 +
<div class="igem_2017_content_wrapper">
 +
<br>

Latest revision as of 06:18, 1 November 2017