Difference between revisions of "Team:UChile OpenBio-CeBiB/Template/2"

 
(208 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<html>
+
<html lang="en">
 
<head>
 
<head>
 +
<meta charset="UTF-8">
 +
<title>Document</title>
 +
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
 +
<link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:UChile_OpenBio-CeBiB/CSS-bootstrap?action=raw&ctype=text/css">
 +
 +
 +
 +
<script src="https://2015.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 +
 +
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
 +
 +
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
 +
 +
    <script>
 +
        $(document).ready(function () {
 +
            current=null;
 +
            $('.item_actividad-titulo').click(function () {
 +
                current=$(this).siblings('.item_actividad-cuerpo');
 +
                if (current.css('display') == 'none') {
 +
                    $('.item_actividad-cuerpo').slideUp();
 +
                }
 +
                current.slideToggle();
 +
            });
 +
        });
 +
    </script>
 +
 +
 +
 +
<style>
 +
 +
/********************************* DEFAULT WIKI SETTINGS  ********************************/
 +
 +
html,body{
 +
min-height:100%;
 +
}
 +
 +
#container {
 +
  position: relative;
 +
}
 +
 +
@font-face {
 +
  font-family: "Hero";
 +
  src: url(https://static.igem.org/mediawiki/2017/1/14/T--UChile_OpenBio-CeBiB--FontHero.otf) format("truetype");
 +
}
 +
 +
 +
a, a:hover {
 +
color: #ffffff;
 +
text-decoration: none;
 +
-webkit-transition: all .4s ease;
 +
-moz-transition: all .4s ease;
 +
-o-transition: all .4s ease;
 +
transition: all .4s ease-in-out;
 +
}
 +
 +
#sideMenu,
 +
#top_title {
 +
  display: none;
 +
}
 +
 +
#content {
 +
  padding: 0px;
 +
  width: 100%;
 +
  background-color: transparent;
 +
}
 +
 +
 +
#bodyContent h1,
 +
#bodyContent h2,
 +
#bodyContent h3,
 +
#bodyContent h4,
 +
#bodyContent h5 {
 +
  margin-bottom: 0px;
 +
  font-family: Hero;
 +
}
 +
 +
#bodyContent {
 +
  padding-right: 0px;
 +
  background-color: transparent;
 +
}
 +
 +
#globalWrapper {
 +
  font-size: 100%;
 +
  padding: 0px;
 +
  margin: -10px -20px -20px -20px;
 +
}
 +
 +
 +
ul, li, h1, h2, h3, h4, h5 {
 +
  font-family: Hero;
 +
}
 +
 +
 +
h1 {
 +
  font-size: 40px;
 +
}
 +
 +
 +
h2 {
 +
  font-size: 36px;
 +
}
 +
 +
h3 {
 +
  font-size: 32px;
 +
}
 +
 +
h4 {
 +
  font-size: 28px;
 +
}
 +
 +
h5 {
 +
  font-size: 24px;
 +
}
 +
 +
 +
.navbar-collapse {
 +
  padding-left: 0px;
 +
}
 +
 +
#banner {
 +
  margin-top: 50px;
 +
}
 +
 +
#sideMenu {
 +
  margin-top: 10px;
 +
}
 +
 +
.dropdown-menu li:hover .sub-menu {
 +
  visibility: visible;
 +
}
 +
 +
.dropdown:hover .dropdown-menu {
 +
  display: block;
 +
}
 +
 +
.navbar-nav .dropdown-menu,
 +
.navbar .dropdown-menu {
 +
  margin-top: 0;
 +
  background-color: #48ba5b;
 +
  border-radius:10px;
 +
}
 +
 +
.nabar-nav .dropdown-menu li:hover,
 +
.navbar .dropdown-menu li:hover {
 +
  background-color: #2c3e50
 +
}
 +
 +
 +
}.color2{
 +
background: #2c3e50;
 +
}
 +
 +
.navbar-brand,
 +
.navbar-nav li a {
 +
    line-height: 80px;
 +
    height: 80px;
 +
    padding-top: 10;
 +
}
 +
 +
.nav-item{
 +
    font-family: 'Hero';
 +
    src="Hero.otf";
 +
    font-size: 20px;
 +
    }
 +
 +
.navbar-nav > li{
 +
  padding-left: 10px;
 +
  padding-right: 10px;
 +
}
 +
 +
.dropdown-toggle::after {
 +
    display:none;
 +
}
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
.header {
 +
background: transparent;
 +
color: #fff;
 +
        position:relative;
 +
        width:100%;
 +
}
 +
 +
.main {
 +
background: transparent;
 +
}
 +
 +
.color1 {
 +
background: transparent;
 +
color: #fff;
 +
}
 +
 +
aside{
 +
background: transparent;
 +
color: #fff;
 +
}
 +
 +
footer{
 +
background: transparent;
 +
color: #fff;
 +
}
 +
 +
 +
a.dropdown-item:hover{
 +
    background-color:#00590e;
 +
    color: #fff;
 +
}
 +
 +
a.dropdown-item{
 +
    color: #000000;
 +
}
 +
 +
 +
p {
 +
  font-family:Hero;
 +
  text-align:justify;
 +
  background-color:transparent;
 +
  font-size: 20px;
 +
}
 +
 +
 +
/********************************* CONTENT OF THE PAGE ********************************/
 +
 +
 +
/* Wrapper for the content */
 +
 +
.content_wrapper {
 +
  width: 85%;
 +
  margin-left: 0px;
 +
  padding: 0px;
 +
  float: left;
 +
  background-color: none;
 +
}
 +
 +
 +
/*LAYOUT */
 +
 +
.column {
 +
  padding: 10px 0px;
 +
  float: left;
 +
  background-color: none;
 +
}
 +
 +
.full_size {
 +
  width: 100%;
 +
}
 +
 +
.full_size img {
 +
  padding: 10px 15px;
 +
  width: 96.5%;
 +
}
 +
 +
.half_size {
 +
  width: 50%;
 +
}
 +
 +
.half_size img {
 +
  padding: 10px 15px;
 +
  width: 93%;
 +
}
 +
 +
.img:hover {
 +
  opacity: 1.0 !important;
 +
}
 +
 +
.clear {
 +
  clear: both;
 +
}
 +
 +
.highlight {
 +
  width: 90%;
 +
  margin: auto;
 +
  padding: 15px 5px;
 +
  background-color: #f2f2f2;
 +
}
 +
 +
.judges-will-not-evaluate {
 +
  border: 4px solid #72c9b6;
 +
  display: block;
 +
  margin: 5px 15px;
 +
  width: 95%;
 +
  font-weight: bold;
 +
}
 +
 +
 +
/*STYLING */
 +
 +
 +
/* styling for the titles */
 +
 +
.content_wrapper h1,
 +
.content_wrapper h2 {
 +
  padding: 5px 15px;
 +
  border-bottom: 0px;
 +
  color: #72c9b6;
 +
}
 +
 +
.content_wrapper h3,
 +
.content_wrapper h4,
 +
.content_wrapper h5,
 +
.content_wrapper h6 {
 +
  padding: 5px 15px;
 +
  border-bottom: 0px;
 +
  color: #000000;
 +
}
 +
 +
 +
/* font and text */
 +
 +
.content_wrapper p {
 +
  padding: 0px 15px;
 +
  font-size: 13px;
 +
  font-family: 'Roboto', sans-serif;
 +
}
 +
 +
 +
/* Links */
 +
 +
.content_wrapper a {
 +
  font-weight: bold;
 +
  text-decoration: underline;
 +
  text-decoration-color: #515e3d;
 +
  color: #515e3d;
 +
  -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: 'Quicksand', sans-serif;
 +
}
 +
 +
 +
/* numbered lists */
 +
 +
.content_wrapper ol {
 +
  padding: 0px;
 +
  font-size: 13px;
 +
  font-family: 'Quicksand', 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;
 +
 +
}
 +
 +
.top-pad {
 +
  padding: 35px;
 +
}
 +
 +
 +
/********************************* 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 */
 +
 +
@media only screen and (max-width: 680px) {
 +
  .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;
 +
  }
 +
}
 +
 +
</style>
 +
 +
<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>
 
</head>
 
</head>
<body>
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 
<style>
 
<style>
body {
+
.dropdown-submenu {
  background-image: url("https://static.igem.org/mediawiki/2017/2/20/T--UChile_OpenBio-CeBiB--Fondo1.jpg");
+
    position: relative;
  background-repeat: no-repeat;
+
}
  background-size: 100% 100%;
+
 
 +
.dropdown-submenu>.dropdown-menu {
 +
    top: 0;
 +
    left: 100%;
 +
    margin-top: -6px;
 +
    margin-left: -1px;
 +
    -webkit-border-radius: 0 6px 6px 6px;
 +
    -moz-border-radius: 0 6px 6px;
 +
    border-radius: 0 6px 6px 6px;
 +
}
 +
 
 +
.dropdown-submenu:hover>.dropdown-menu {
 +
    display: block;
 +
}
 +
 
 +
.dropdown-submenu>a:after {
 +
    display: block;
 +
    content: " ";
 +
    float: right;
 +
    width: 0;
 +
    height: 0;
 +
    border-color: transparent;
 +
    border-style: solid;
 +
    border-width: 5px 0 5px 5px;
 +
    border-left-color: #ccc;
 +
    margin-top: 5px;
 +
    margin-right: -10px;
 +
}
 +
 
 +
.dropdown-submenu:hover>a:after {
 +
    border-left-color: #fff;
 +
}
 +
 
 +
.dropdown-submenu.pull-left {
 +
    float: none;
 +
}
 +
 
 +
.dropdown-submenu.pull-left>.dropdown-menu {
 +
    left: -100%;
 +
    margin-left: 10px;
 +
    -webkit-border-radius: 6px 0 6px 6px;
 +
    -moz-border-radius: 6px 0 6px 6px;
 +
    border-radius: 6px 0 6px 6px;
 
}
 
}
 
</style>
 
</style>
 +
 +
<body>
 +
 +
 +
 +
<!--NAVBAR BEGIN-->
 +
<header>
 +
<nav class="navbar top fixed-top navbar-expand-lg navbar-light" style="background-color: #acd7a4" role="navigation">
 +
  <a class="navbar-brand" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB" style="padding-left:0px;">
 +
  <img src="https://static.igem.org/mediawiki/2017/9/9d/T--UChile_OpenBio-CeBiB--logo1.png" width="200" height="55" alt="">
 +
  </a>
 +
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
 +
    <span class="navbar-toggler-icon"></span>
 +
  </button>
 +
 +
  <div class="collapse navbar-collapse" id="navbarNavDropdown">
 +
    <ul class="navbar-nav ml-auto">
 +
      <li class="nav-item dropdown">
 +
        <a class="nav-link dropdown-toggle" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Description" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 +
          Project
 +
        </a>
 +
        <div class="dropdown-menu item2" aria-labelledby="navbarDropdownMenuLink">
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Description">Description</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Parts">Parts</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Experiments">Procedures</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Results">Results</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Attributions">Attributions</a>
 +
        </div>
 +
      </li>
 +
      <li class="nav-item dropdown">
 +
        <a class="nav-link dropdown-toggle" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/HP" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 +
          HP
 +
        </a>
 +
        <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/HP">HP Overview</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Collaborations">Collaborations</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/HP/Silver">Silver</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/HP/Gold_Integrated">Gold</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Engagement">Engagement</a>
 +
        </div>
 +
      </li>
 +
      <li class="nav-item dropdown">
 +
        <a class="nav-link dropdown-toggle" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 +
          Modelling
 +
        </a>
 +
        <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model">Modelling Overview</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model/Procedure">Procedure</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model/Results">Results</a>
 +
        </div>
 +
      </li>
 +
      <li class="nav-item dropdown">
 +
        <a class="nav-link dropdown-toggle" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Safety" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 +
          Safety
 +
        </a>
 +
        <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Safety/Biosafety">Biosafety</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Safety/LabProtocols">Lab Protocols</a>
 +
        </div>
 +
      </li>
 +
      <li class="nav-item">
 +
        <a class="nav-link" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Notebook">Notebook<span class="sr-only">(current)</span></a>
 +
      </li>
 +
      <li class="nav-item">
 +
        <a class="nav-link" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Team">Team<span class="sr-only">(current)</span></a>
 +
      </li>
 +
      <li class="nav-item dropdown">
 +
        <a class="nav-link dropdown-toggle" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Jamboree" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Giant Jamboree </a>
 +
        <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Jamboree/OurExperience">Our experience</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Jamboree/JudgingFeedback">Judging Feedback</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Jamboree/Photos">Photos</a>
 +
        </div>
 +
      </li>
 +
      <li class="nav-item">
 +
        <a class="nav-link" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB">Home<span class="sr-only">(current)</span></a>
 +
      </li>
 +
    </ul>
 +
  </div>
 +
<ng-view></ng-view>
 +
</nav>
 +
</header>
 +
 +
<!--NAVBAR END-->
 +
 +
 +
<script type="text/javascript" src="https://2017.igem.org/Template:UChile_OpenBio-CeBiB/JS-bootstrapmin?
 +
action=raw&ctype=text/javascript"></script>
 
</body>
 
</body>
 
</html>
 
</html>

Latest revision as of 22:59, 15 December 2017

Document