Difference between revisions of "Template:East Chapel Hill"

(Blanked the page)
 
(140 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
<html>
 +
<head>
 +
<meta charset="utf-8">
 +
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  
 +
<meta name="viewport" content="width=device-width, initial-scale=1.0">
 +
 +
<!-- icons -->
 +
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
 +
 +
<!--Fonts-->
 +
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet">
 +
 +
 +
<!--W3 School Stylesheet -->
 +
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
 +
 +
<!--Bootstrap-->
 +
<!-- Latest compiled and minified CSS -->
 +
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
 +
 +
<!-- Optional theme -->
 +
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
 +
 +
<!-- Latest compiled and minified JavaScript -->
 +
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
 +
 +
<!--Mathjax-->
 +
<script type="text/javascript" async
 +
  src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML">
 +
</script>
 +
 +
<!--jquery-->
 +
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
 +
 +
<style>
 +
/***************************************************** 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-top:50px; margin-left:0px;}
 +
body {background-color:#ffffff; }
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 +
 +
 +
/********************************* DEFAULT WIKI SETTINGS  ********************************/
 +
body {
 +
  background-color: #ffffff;
 +
  width: 100%;
 +
}
 +
 +
#bodyContent h1,
 +
#bodyContent h2,
 +
#bodyContent h3,
 +
#bodyContent h4,
 +
#bodyContent h5 {
 +
  margin-bottom: 0px;
 +
}
 +
</style>
 +
 +
<style>
 +
.description{
 +
color: #7C7D7D !important;
 +
font-family: 'Josefin Sans', sans-serif;
 +
padding-left: 10%;
 +
padding-right: 10%;
 +
margin: 0 auto;
 +
position: relative;
 +
max-width: 100em;
 +
}
 +
 +
</style>
 +
<style>
 +
img {
 +
    max-width: 100%;
 +
    height: auto;
 +
    width: auto\9; /* ie8 */
 +
}
 +
</style>
 +
<style>
 +
@charset "UTF-8";
 +
.navigation {
 +
  height: 61px;
 +
  margin-top:10px;
 +
  padding:0;
 +
  font-size: 80%;
 +
background:white;
 +
 +
}
 +
 +
.brand {
 +
  position: absolute;
 +
  float: left;
 +
  padding-left:2%;
 +
  line-height: 70px;
 +
  text-transform: uppercase;
 +
  font-size: 1.4em;
 +
}
 +
 +
.brand a,
 +
.brand a:visited{
 +
  color: #8B8D8E;
 +
  text-decoration: none;
 +
  font-family: 'Josefin Sans', sans-serif;
 +
  font-size: 100%;
 +
}
 +
 +
.nav-container {
 +
  max-width: 1500px;
 +
  margin: 0 auto;
 +
}
 +
 +
nav {
 +
  float: right;
 +
  background: none;
 +
}
 +
 +
/* spacing between box in small window */
 +
nav ul {
 +
  list-style: none;
 +
  margin: 0;
 +
  padding: 0;
 +
  background: #FFFFFF;
 +
 
 +
}
 +
nav ul li {
 +
  float: left;
 +
  position: relative;
 +
 
 +
}
 +
 +
/* text inside navbar before */
 +
nav ul li a,
 +
nav ul li a:visited {
 +
  display: block;
 +
  height: 56px;
 +
  padding: 0 20px;
 +
  background: #FFFFFF;
 +
  line-height: 60px;
 +
  color: #8B8D8E;
 +
  text-decoration: none;
 +
  font-family: 'Josefin Sans', sans-serif;
 +
  font-size: 120%;
 +
}
 +
nav ul li a:hover,
 +
nav ul li a:visited:hover {
 +
  background: #B3D8F5;
 +
  color: #FFFFFF;
 +
  text-decoration: none;
 +
}
 +
nav ul li a:not(:only-child):after,
 +
nav ul li a:visited:not(:only-child):after {
 +
  padding-left: 4px;
 +
  content: '▾';
 +
  text-decoration: none;
 +
}
 +
 +
nav ul li ul {
 +
  height: 5px;
 +
}
 +
 +
 +
nav ul li ul li {
 +
  min-width: 150px;
 +
  height: 40px;
 +
  width: 100%;
 +
  //text-align: center;
 +
 
 +
 +
  /* make dropdown stick to top */
 +
  top: -13px;
 +
}
 +
nav ul li ul li a {
 +
  padding: 15px;
 +
  line-height: 50%;
 +
  margin: 0px;
 +
  text-decoration: none;
 +
 
 +
}
 +
 +
.nav-dropdown {
 +
  position: absolute;
 +
  display: none;
 +
  left: -23px;
 +
  top: 65px;
 +
  z-index: 1;
 +
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
 +
  height: 100%;
 +
}
 +
 +
/* Mobile navigation */
 +
.nav-mobile {
 +
  float:right;
 +
  display: none;
 +
  position: absolute;
 +
  top: 0;
 +
  right: 0;
 +
  height: 20px;
 +
  width: 70px;
 +
  background: #FFFFFF;
 +
 +
}
 +
 +
@media only screen and (max-width: 950px) {
 +
  .nav-mobile {
 +
    display: block;
 +
  }
 +
 +
  nav {
 +
    width: 100%;
 +
    padding: 0 0 0;
 +
  }
 +
 +
  /* background of mobile dropdown */
 +
  nav ul {
 +
    display: none;
 +
 +
    /* width of dropdown */
 +
    position: fixed;
 +
    width: 180px;
 +
    height: auto;
 +
   
 +
    top: 65px;
 +
    right: 0px;
 +
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
 +
 +
  }
 +
  nav ul li {
 +
    float: none;
 +
    text-align: center;
 +
  }
 +
  nav ul li a {
 +
    padding: 15px;
 +
    line-height: 20px;
 +
   
 +
  }
 +
  nav ul li ul{
 +
    float: right;
 +
 
 +
  }
 +
 +
  /* second toggle dropdown */
 +
  .nav-dropdown {
 +
  position:absolute;
 +
 
 +
  top: 9px;
 +
  left: -212px;
 +
  width: 190px;
 +
  height: auto;
 +
 
 +
  }
 +
 +
 +
  .brand{
 +
    padding-left: 15px;
 +
    font-size: 120%;
 +
  }
 +
}
 +
 +
 +
/* background of toggle (mobile) */
 +
#nav-toggle {
 +
  position: absolute;
 +
  left: 5px;
 +
  top: 22px;
 +
  cursor: pointer;
 +
  padding: 10px 35px 16px 0px;
 +
  background: #FFFFFF;
 +
}
 +
 +
/* toggle button (mobile) */
 +
#nav-toggle span,
 +
#nav-toggle span:before,
 +
#nav-toggle span:after {
 +
  cursor: pointer;
 +
  border-radius: 1px;
 +
  height: 5px;
 +
  width: 35px;
 +
  background: #8B8D8E;
 +
  position: absolute;
 +
  display: block;
 +
  content: '';
 +
  transition: all 300ms ease-in-out;
 +
}
 +
#nav-toggle span:before {
 +
  top: -10px;
 +
}
 +
#nav-toggle span:after {
 +
  bottom: -10px;
 +
}
 +
#nav-toggle.active span {
 +
  background-color: transparent;
 +
}
 +
#nav-toggle.active span:before, #nav-toggle.active span:after {
 +
  top: 0;
 +
}
 +
#nav-toggle.active span:before {
 +
  transform: rotate(45deg);
 +
}
 +
#nav-toggle.active span:after {
 +
  transform: rotate(-45deg);
 +
}
 +
 +
h1 {
 +
text-align: center;
 +
font-family: 'Josefin Sans', sans-serif !important;
 +
color: #7C7D7D;
 +
}
 +
 +
.panel-body {
 +
font-family: 'Arial';
 +
font-size: small;
 +
}
 +
 +
ul {
 +
    list-style-type: disc;
 +
}
 +
 +
.centerImage
 +
{
 +
text-align:center;
 +
display:block;
 +
margin: auto;
 +
width: 80%;
 +
}
 +
 +
</style>
 +
<style>
 +
.gallery {
 +
    margin: 5px;
 +
    border: 1px solid #ccc;
 +
    float: left;
 +
    width: 180px;
 +
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 +
}
 +
 +
.gallery:hover {
 +
    border: 1px solid #777;
 +
}
 +
 +
.gallery img {
 +
    width: 100%;
 +
    height: auto;
 +
 +
}
 +
 +
.imagegallery{
 +
overflow: hidden
 +
}
 +
 +
.desc {
 +
    padding: 15px;
 +
    text-align: center;
 +
}
 +
 +
#HomeImage1{
 +
  max-width: 100%;
 +
  margin-bottom: 0px;
 +
        margin-left: 0px;
 +
  z-index: 0;
 +
 +
#HomeImage{
 +
  max-width: 100%;
 +
  margin-bottom: 0px;
 +
        margin-left: 0px;
 +
  z-index: 0;
 +
position: fixed;
 +
    bottom: 0;
 +
}
 +
 +
</style>
 +
<style>
 +
 +
div.polaroid {
 +
  width: 80%;
 +
  background-color: #d7dfed;
 +
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 +
  margin-bottom: 25px;
 +
  display: inline-block;
 +
}
 +
 +
div.pocontainer {
 +
  text-align: center;
 +
  padding: 10px 20px;
 +
}
 +
</style>
 +
 +
<section class="navigation navbar-fixed-top">
 +
  <div class="nav-container">
 +
    <div class="brand">
 +
      <a rel="nofollow" rel="noreferrer" href="https://2018.igem.org/Team:East_Chapel_Hill">East Chapel Hill</a>
 +
    </div>
 +
    <nav>
 +
      <div class="nav-mobile"><a rel="nofollow" rel="noreferrer"id="nav-toggle" href="#!"><span></span></a></div>
 +
      <ul class="nav-list">
 +
 
 +
        <li>
 +
          <a rel="nofollow" rel="noreferrer"href="#!">Team</a>
 +
          <ul class="nav-dropdown">
 +
            <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Team">Team</a></li>
 +
            <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Collaborations">Collaborations</a></li>
 +
            <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Attributions">Attributions</a></li>
 +
       
 +
          </ul>
 +
        </li>
 +
        <li>
 +
          <a rel="nofollow" rel="noreferrer"href="#!">Project</a>
 +
          <ul class="nav-dropdown">
 +
            <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Description">Description</a></li>
 +
            <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Results">Results</a></li>
 +
      <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Measurement">Measurement</a></li>
 +
          </ul>
 +
        </li>
 +
        <li>
 +
          <a rel="nofollow" rel="noreferrer"href="#!">Lab</a>
 +
          <ul class="nav-dropdown">
 +
<li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Experiments">Experiments</a></li>
 +
            <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Safety">Safety</a></li>
 +
            <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Notebook">Notebook</a></li>
 +
 
 +
          </ul>
 +
        </li>
 +
        <li>
 +
          <a rel="nofollow" rel="noreferrer"href="https://2018.igem.org/Team:East_Chapel_Hill/Parts">Parts</a>
 +
        <!-- <ul class="nav-dropdown">
 +
            <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Parts">Parts</a></li>
 +
          </ul>-->
 +
        </li>
 +
        <li>
 +
          <a rel="nofollow" rel="noreferrer"href="#!">Human Practices</a>
 +
          <ul class="nav-dropdown">
 +
            <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Human_Practices">Human Practices</a></li>
 +
   
 +
            <li><a href="https://2018.igem.org/Team:East_Chapel_Hill/Public_Engagement">Public Engagement</a></li>
 +
          </ul>
 +
        </li>
 +
 +
 +
      </ul>
 +
    </nav>
 +
  </div>
 +
</section>
 +
 +
 +
<script>
 +
(function($) { // Begin jQuery
 +
  $(function() { // DOM ready
 +
    // If a link has a dropdown, add sub menu toggle.
 +
    $('nav ul li a:not(:only-child)').click(function(e) {
 +
      $(this).siblings('.nav-dropdown').toggle();
 +
      // Close one dropdown when selecting another
 +
      $('.nav-dropdown').not($(this).siblings()).hide();
 +
      e.stopPropagation();
 +
    });
 +
    // Clicking away from dropdown will remove the dropdown class
 +
    $('html').click(function() {
 +
      $('.nav-dropdown').hide();
 +
    });
 +
    // Toggle open and close nav styles on click
 +
    $('#nav-toggle').click(function() {
 +
      $('nav ul').slideToggle();
 +
    });
 +
    // Hamburger to X toggle
 +
    $('#nav-toggle').on('click', function() {
 +
      this.classList.toggle('active');
 +
    });
 +
  }); // end DOM ready
 +
})(jQuery); // end jQuery
 +
</script>
 +
</head>
 +
</html>

Latest revision as of 23:51, 16 October 2018