Difference between revisions of "Template:Frontpage"

 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<html>
+
<html lang="en">
  
<script>
+
    <meta charset="utf-8">
 +
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 +
    <meta name="viewport" content="width=device-width, initial-scale=1">
 +
    <meta name="description" content="UCPH - iGEM">
 +
    <meta name="author" content="InCell">
  
// This is the jquery part of your template.
+
    <!-- Bootstrap Core CSS -->
// Try not modify any of this code too much since it makes your menu work.
+
    <link href="https://2017.igem.org/wiki/index.php?title=Template:BOKU-Vienna-bootstrap.css&action=raw&ctype=text/css" rel="stylesheet"/>
  
$(document).ready(function() {
+
    <!-- Theme CSS -->
 +
    <style>
 +
a:link {
 +
    color: #1d9b6c;
 +
    background-color: transparent;
 +
    text-decoration: none;
 +
}
  
$("#HQ_page").attr('id','');
+
a:visited {
 +
    color: #1d9b6c;
 +
    background-color: transparent;
 +
    text-decoration: none;
 +
}
 +
    #bars_item {display: none; }
 +
    #home_logo, #sideMenu { display:none; }
 +
    #sideMenu, #top_title, .patrollink  {display:none;}
 +
    #HQ_page p {
 +
      text-align: center;
 +
      font-family: Tahoma, Geneva, sans-serif;
 +
      font-size: 17px;
 +
    }
 +
    #page-top { height: 100% ; }
 +
    .mw-content-ltr { height: 100%; }
 +
    #bodyContent { height: 100%; }
 +
    #HQ_page {
 +
      height: 100%;
 +
    }
 +
    #HQ_page h1 {
 +
      font-size: 100px;
 +
      font-family: Tahoma, Geneva, sans-serif;
 +
    }
 +
    #content {
 +
      width:100%;
 +
      height: 100%;
 +
      padding: 0px; 
 +
      margin-top:-30px;
 +
      margin-left:0px;
 +
      background-color: black;
 +
      color: white;
 +
      font-family: Tahoma, Geneva, sans-serif;
 +
    }
 +
    #globalWrapper{ height: 100%; }
 +
    body { background-color: black; height: 100%; }
 +
    #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
  
// call the functions that control the menu
+
    #top_menu_14 {
menu_functionality();  
+
      height: 12px;
hide_show_menu();
+
      color: white;
 +
      background: black;
 +
    }
 +
    #top_menu_under {
 +
      height: 12px;
 +
      background: black;
 +
    }
  
 +
    #top_menu_inside {
 +
      border-left: 0px;
 +
      border-right: 0px;
 +
      width: 100%;
 +
    }
  
 +
  li.has_submenu a {
 +
    color: grey;
 +
  }
 +
    html {
 +
      width: 100%;
 +
      height: 100%;
 +
    }
 +
    h1,
 +
    h2,
 +
    h3,
 +
    h4,
 +
    h5,
 +
    h6 {
 +
      margin: 0 0 35px;
 +
      text-transform: uppercase;
 +
      font-family: Tahoma, Geneva, sans-serif;
 +
      font-weight: 700;
 +
      letter-spacing: 1px;
 +
    }
 +
    p {
 +
      margin: 0 0 25px;
 +
      font-size: 18px;
 +
      line-height: 1.5;
 +
    }
 +
    @media (min-width: 768px) {
 +
      p {
 +
        margin: 0 0 35px;
 +
        font-size: 20px;
 +
        line-height: 1.6;
 +
      }
 +
    }
 +
    a {
 +
      color: #42DCA3;
 +
      -webkit-transition: all 0.2s ease-in-out;
 +
      -moz-transition: all 0.2s ease-in-out;
 +
      transition: all 0.2s ease-in-out;
 +
    }
 +
    a:hover,
 +
    a:focus {
 +
      text-decoration: none;
 +
      color: #1d9b6c;
 +
    }
 +
    .light {
 +
      font-weight: 400;
 +
    }
 +
    .navbar-custom {
 +
      margin-top:12px;
 +
      margin-bottom: 0;
 +
      border-bottom: 0px solid rgba(255, 255, 255, 0.3);
 +
      text-transform: uppercase;
 +
      font-family: Tahoma, Geneva, sans-serif;
 +
      background-color: black;
 +
    }
 +
    .navbar-custom .navbar-toggle {
 +
      color: white;
 +
      background-color: rgba(255, 255, 255, 0.2);
 +
      font-size: 12px;
 +
    }
 +
    .navbar-custom .navbar-toggle:focus,
 +
    .navbar-custom .navbar-toggle:active {
 +
      outline: none;
 +
    }
 +
    .navbar-custom .navbar-brand {
 +
      font-weight: 700;
 +
    }
 +
    .navbar-custom .navbar-brand img {
 +
      height: 40px;
 +
    }
 +
    .navbar-custom .navbar-brand:focus {
 +
      outline: none;
 +
    }
 +
    .navbar-custom a {
 +
      color: black;
 +
    }
 +
    .navbar-custom .nav li a {
 +
      -webkit-transition: background 0.3s ease-in-out;
 +
      -moz-transition: background 0.3s ease-in-out;
 +
      transition: background 0.3s ease-in-out;
 +
    }
 +
    .navbar-custom .nav li a:hover {
 +
      color: rgba(255, 255, 255, 0.8);
 +
      outline: none;
 +
      background-color: transparent;
 +
    }
 +
    .navbar-custom .nav li a:focus,
 +
    .navbar-custom .nav li a:active {
 +
      outline: none;
 +
      background-color: transparent;
 +
    }
 +
    .navbar-custom .nav li.active {
 +
      outline: none;
 +
    }
 +
    .navbar-custom .nav li.active a {
 +
      background-color: rgba(255, 255, 255, 0.3);
 +
    }
 +
    .navbar-custom .nav li.active a:hover {
 +
      color: white;
 +
    }
 +
    @media (min-width: 768px) {
 +
      .navbar-custom {
 +
        padding: 20px 0;
 +
        border-bottom: none;
 +
        letter-spacing: 1px;
 +
        background: transparent;
 +
        -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
 +
        -moz-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
 +
        transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
 +
      }
 +
      .navbar-custom.top-nav-collapse {
 +
        padding: 0;
 +
        background: black;
 +
        border-bottom: 0px solid rgba(255, 255, 255, 0.3);
 +
      }
 +
    }
 +
    @media (min-width: 768px) {
 +
      .myintro {
 +
        height: 100%;
 +
        padding: 0;
 +
      }
 +
      .myintro .myintro-body .brand-heading {
 +
        font-size: 100px;
 +
      }
 +
      .myintro .myintro-body .myintro-text {
 +
        font-size: 26px;
 +
      }
 +
    }
 +
    .btn-circle {
 +
      width: 70px;
 +
      height: 70px;
 +
      margin-top: 15px;
 +
      padding: 7px 16px;
 +
      border: 2px solid black;
 +
      border-radius: 100% !important;
 +
      font-size: 40px;
 +
      color: black;
 +
      background: transparent;
 +
      -webkit-transition: background 0.3s ease-in-out;
 +
      -moz-transition: background 0.3s ease-in-out;
 +
      transition: background 0.3s ease-in-out;
 +
    }
 +
    #downarrow img {
 +
      border: 2px solid black;
 +
      padding: 10px 10px;
 +
      border-radius: 100% !important;
 +
      height: 55px;
 +
      display: block;
 +
      margin: auto;
 +
    }
 +
    .btn-circle:hover,
 +
    .btn-circle:focus {
 +
      outline: none;
 +
      color: white;
 +
      background: rgba(255, 255, 255, 0.1);
 +
    }
 +
    .btn-circle i.animated {
 +
      -webkit-transition-property: -webkit-transform;
 +
      -webkit-transition-duration: 1s;
 +
      -moz-transition-property: -moz-transform;
 +
      -moz-transition-duration: 1s;
 +
    }
 +
    .btn-circle:hover i.animated {
 +
      -webkit-animation-name: pulse;
 +
      -moz-animation-name: pulse;
 +
      -webkit-animation-duration: 1.5s;
 +
      -moz-animation-duration: 1.5s;
 +
      -webkit-animation-iteration-count: infinite;
 +
      -moz-animation-iteration-count: infinite;
 +
      -webkit-animation-timing-function: linear;
 +
      -moz-animation-timing-function: linear;
 +
    }
 +
    @-webkit-keyframes pulse {
 +
      0% {
 +
        -webkit-transform: scale(1);
 +
        transform: scale(1);
 +
      }
 +
      50% {
 +
        -webkit-transform: scale(1.2);
 +
        transform: scale(1.2);
 +
      }
 +
      100% {
 +
        -webkit-transform: scale(1);
 +
        transform: scale(1);
 +
      }
 +
    }
 +
    @-moz-keyframes pulse {
 +
      0% {
 +
        -moz-transform: scale(1);
 +
        transform: scale(1);
 +
      }
 +
      50% {
 +
        -moz-transform: scale(1.2);
 +
        transform: scale(1.2);
 +
      }
 +
      100% {
 +
        -moz-transform: scale(1);
 +
        transform: scale(1);
 +
      }
 +
    }
 +
    .content-section {
 +
      padding-top: 250px;
 +
      padding-bottom: 250px;
 +
      height: auto;
 +
      min-height: 100% !important;
 +
    }
  
//this function controls the expand and collapse buttons of the menu and changes the +/- symbols
+
    #map {
function menu_functionality() {
+
      width: 100%;
 +
      height: 200px;
 +
      margin-top: 100px;
 +
    }
 +
    @media (min-width: 767px) {
 +
      .content-section {
 +
        height: auto;
 +
        padding-top: 250px;
 +
        padding-bottom: 250px;
 +
        min-height: 100% !mportant;
 +
      }
 +
    }
 +
    .btn {
 +
      text-transform: uppercase;
 +
      font-family: Tahoma, Geneva, sans-serif;
 +
      font-weight: 400;
 +
      -webkit-transition: all 0.3s ease-in-out;
 +
      -moz-transition: all 0.3s ease-in-out;
 +
      transition: all 0.3s ease-in-out;
 +
      border-radius: 0;
 +
    }
 +
    .btn-default {
 +
      border: 1px solid #42DCA3;
 +
      color: #42DCA3;
 +
      background-color: transparent;
 +
    }
 +
    .btn-default:hover,
 +
    .btn-default:focus {
 +
      border: 1px solid #42DCA3;
 +
      outline: none;
 +
      color: black;
 +
      background-color: #42DCA3;
 +
    }
 +
    ul.banner-social-buttons {
 +
      margin-top: 0;
 +
    }
 +
    @media (max-width: 1199px) {
 +
      ul.banner-social-buttons {
 +
        margin-top: 15px;
 +
      }
 +
    }
 +
    @media (max-width: 767px) {
 +
      ul.banner-social-buttons li {
 +
        display: block;
 +
        margin-bottom: 20px;
 +
        padding: 0;
 +
      }
 +
      ul.banner-social-buttons li:last-child {
 +
        margin-bottom: 0;
 +
      }
 +
    }
 +
    footer {
 +
      padding: 50px 0;
 +
    }
 +
    footer p {
 +
      margin: 0;
 +
    }
 +
    ::-moz-selection {
 +
      text-shadow: none;
 +
      background: #fcfcfc;
 +
      background: rgba(255, 255, 255, 0.2);
 +
    }
 +
    ::selection {
 +
      text-shadow: none;
 +
      background: #fcfcfc;
 +
      background: rgba(255, 255, 255, 0.2);
 +
    }
 +
    img::selection {
 +
      background: transparent;
 +
    }
 +
    img::-moz-selection {
 +
      background: transparent;
 +
    }
 +
    body {
 +
      webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
 +
    }
  
//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");
 
 
}
 
  
  
 +
    .scrollnav-custom {
 +
      margin-bottom: 0;
 +
      border-bottom: 0px solid rgba(255, 255, 255, 0.3);
 +
      font-family: Tahoma, Geneva, sans-serif
 +
      background-color: black;
 +
    }
 +
    .scrollnav-custom .scrollnav-toggle {
 +
      color: white;
 +
      background-color: rgba(255, 255, 255, 0.2);
 +
      font-size: 12px;
 +
    }
 +
    .scrollnav-custom .scrollnav-toggle:focus,
 +
    .scrollnav-custom .scrollnav-toggle:active {
 +
      outline: none;
 +
    }
 +
    .scrollnav-custom .scrollnav-brand {
 +
      font-weight: 700;
 +
    }
 +
    .scrollnav-custom .scrollnav-brand img {
 +
      height: 40px;
 +
    }
 +
    .scrollnav-custom .scrollnav-brand:focus {
 +
      outline: none;
 +
    }
 +
    .scrollnav-custom a {
 +
      color: white;
 +
    }
 +
    .scrollnav-custom .nav li a {
 +
      -webkit-transition: background 0.3s ease-in-out;
 +
      -moz-transition: background 0.3s ease-in-out;
 +
      transition: background 0.3s ease-in-out;
 +
    }
 +
    .scrollnav-custom .nav li a:hover {
 +
      color: rgba(255, 255, 255, 0.8);
 +
      outline: none;
 +
      background-color: transparent;
 +
    }
 +
    .scrollnav-custom .nav li a:focus,
 +
    .scrollnav-custom .nav li a:active {
 +
      outline: none;
 +
      background-color: transparent;
 +
    }
 +
    .scrollnav-custom .nav li.active {
 +
      outline: none;
 +
    }
 +
    .scrollnav-custom .nav li.active a {
 +
      background-color: rgba(255, 255, 255, 0.3);
 +
    }
 +
    .scrollnav-custom .nav li.active a:hover {
 +
      color: white;
 +
    }
 +
    @media (min-width: 768px) {
 +
      .scrollnav-custom {
 +
        padding: 0;
 +
        letter-spacing: 1px;
 +
        background: black;
 +
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
 +
      }
 +
    }
 +
    .navbar-brand img {
 +
      height: 100%;
 +
    }
 +
    .sponsor-section {
 +
      background-color: white;
 +
      color: black;
 +
    }
  
// 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
+
    .dropdown-li {
else {
+
    padding-top: 11px;
    setTimeout(hide_show_menu, 15);
+
    padding-bottom: 15px;
}
+
            margin-left: 10px;
}
+
            margin-right: 10px;
 +
    }
  
 +
    .navbar-custom .nav li a:hover{
 +
      cursor: pointer;
 +
    }
  
});
+
    .navbar-right .dropdown-menu {
 +
      right: auto;
 +
      position-left: 0px;
 +
      position-right: 0px;
 +
      margin-left: 0px;
 +
    }
  
 +
    .dropdown-menu {
 +
      background-color: black;
 +
      border-radius: 0px;
 +
    }
  
</script>
+
    .dropdown-a {
 +
      color: white !important;
 +
    }
  
 +
    .nav .open > a {
 +
      background: transparent;
 +
    }
 +
    </style>
  
  
  
 +
<!-- Navigation -->
 +
<nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
 +
    <div class="container">
 +
        <div class="navbar-header">
 +
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
 +
                Menu <i class="fa fa-bars"></i>
 +
            </button>
 +
            <a class="navbar-brand page-scroll" href="https://2017.igem.org/Team:UCopenhagen">
 +
                InCell
 +
            </a>
 +
        </div>
  
<style>
+
        <!-- Collect the nav links, forms, and other content for toggling -->
 
+
        <div class="collapse navbar-collapse navbar-right navbar-main-collapse">
 
+
            <ul class="nav navbar-nav">
 
+
                <!-- Hidden li included to remove active class from about link when scrolled up past about section -->
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
+
                <li class="hidden">
+
                    <a href="#page-top"></a>
/* Clear the default wiki settings */
+
                </li>
+
                <li class="dropdown-li">
#home_logo, #sideMenu { display:none; }
+
                    <div class="dropdown">
#sideMenu, #top_title, .patrollink  {display:none;}
+
                      <a class="dropdown-toggle" type="button" id="dropdown2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
#content { width:100%; padding:0px;  margin-top:-7px; margin-left:0px;}
+
                        Team
body {background-color:white; }
+
                      </a>
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
+
                      <ul class="dropdown-menu" aria-labelledby="dropdown2">
 
+
                        <li>
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Team" class="dropdown-a">Team</a>
+
                        </li>
+
                        <li>
 
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Collaborations" class="dropdown-a">Collaborations</a>
/***************************************************** CONTENT OF THE PAGE ****************************************************/
+
                        </li>
 
+
                      </ul>
/* Wrapper for the content */
+
                    </div>
.igem_2017_content_wrapper {
+
                </li>
width: 81%;
+
                <li class="dropdown-li">
margin: 2%;
+
                    <div class="dropdown">
display:block;
+
                      <a class="dropdown-toggle" type="button" id="dropdown3" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
float:left;
+
                        Project
background-color:white;
+
                      </a>
font-family:Tahoma, Geneva, sans-serif;
+
                      <ul class="dropdown-menu" aria-labelledby="dropdown3">
}
+
                        <li>
 
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Description" class="dropdown-a">Overview</a>
 
+
                        </li>
/********************************* HTML STYLING  *********************************/
+
                        <li>
 
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Notebook" class="dropdown-a">Notebook</a>
/* styling for the titles h1 h2 */
+
                        </li>
.igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
+
                        <li>
padding:5px 15px;
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Protocol" class="dropdown-a">Protocol</a>
border-bottom: 0px;
+
                        </li>
color: #3399ff;
+
                        <li>
}
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/InterLab" class="dropdown-a">Interlab</a>
 
+
                        </li>
 
+
                        <li>
/* styling for the titles  h3 h4 h5 h6*/
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Contribution" class="dropdown-a">Contribution</a>
.igem_2017_content_wrapper h3, .igem_2017_content_wrapper h4, .igem_2017_content_wrapper h5, .igem_2017_content_wrapper h6 {
+
                        </li>
padding:5px 15px;
+
                        <li>
border-bottom:0px;
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Model" class="dropdown-a">Model</a>
color: #000000; 
+
                        </li>
}
+
                        <li>
 
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Demonstrate" class="dropdown-a">Demonstrate</a>
 
+
                        </li>
/* font and text */
+
                        <li>
.igem_2017_content_wrapper p {
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Improve" class="dropdown-a">Improve</a>
padding: 0px 15px;
+
                        </li>
font-size: 13px;
+
                        <li>
}
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Attributions" class="dropdown-a">Attributions</a>
 
+
                        </li>
/* Links */
+
                      </ul>
.igem_2017_content_wrapper a {
+
                    </div>
font-weight: bold;
+
                </li>
text-decoration: underline;
+
                <li class="dropdown-li">
text-decoration-color: #3399ff;
+
                    <div class="dropdown">
color:  #3399ff;
+
                      <a class="dropdown-toggle" type="button" id="dropdown4" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
-webkit-transition: all 0.4s ease;
+
                        Parts
-moz-transition: all 0.4s ease;
+
                      </a>
-ms-transition: all 0.4s ease;
+
                      <ul class="dropdown-menu" aria-labelledby="dropdown4">
-o-transition: all 0.4s ease;
+
                        <li>
transition: all 0.4s ease;
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Parts" class="dropdown-a">Overview</a>
}
+
                        </li>
 
+
                        <li>
/* hover for the links */
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Basic_Part" class="dropdown-a">Basic Parts</a>
.igem_2017_content_wrapper a:hover {
+
                        </li>
text-decoration:none;
+
                        <li>
color:#000000;
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Composite_Part" class="dropdown-a">Composite Parts</a>
}
+
                        </li>
 
+
                        <li>
/* non numbered lists */
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Part_Collection" class="dropdown-a">Part Collection</a>
.igem_2017_content_wrapper ul {
+
                        </li>
padding:0px 20px;
+
                      </ul>
font-size: 13px;
+
                    </div>
font-family:Tahoma, Geneva, sans-serif;
+
                </li>
}
+
                <li class="dropdown-li">
 
+
                    <div class="dropdown">
/* numbered lists */
+
                      <a class="dropdown-toggle" type="button" id="dropdown1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
.igem_2017_content_wrapper ol {
+
                        Human Practices
padding:0px;
+
                      </a>
font-size: 13px;
+
                      <ul class="dropdown-menu" aria-labelledby="dropdown1">
font-family:Tahoma, Geneva, sans-serif;
+
                        <li>
}
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/HP/Silver" class="dropdown-a">Silver HP</a>
 
+
                        </li>
/* Table */
+
                        <li>
.igem_2017_content_wrapper table {
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/HP/Gold_Integrated" class="dropdown-a">Integrated and Gold</a>
width: 97%;
+
                        </li>
margin:15px 10px;
+
                        <li>
border: 1px solid #d3d3d3;
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Engagement" class="dropdown-a">Public Engagement</a>
border-collapse: collapse;
+
                        </li>
}
+
<li>
 
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/HP/Newsletters" class="dropdown-a">Newsletters</a>
/* table cells */
+
                        </li>
.igem_2017_content_wrapper  td {
+
                      </ul>
padding: 10px;
+
                    </div>
vertical-align: text-top;
+
                </li>
border: 1px solid #d3d3d3;
+
                <li class="dropdown-li">
border-collapse: collapse;
+
                    <div class="dropdown">
}
+
                      <a onclick="window.location.href='https://2017.igem.org/Team:UCopenhagen/Safety'" class="dropdown-toggle" type="button" id="dropdown1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
 
+
                        Safety
/* table headers */
+
                      </a>
.igem_2017_content_wrapper th {
+
                    </div>
padding: 10px;
+
                </li>
vertical-align: text-top;
+
                <li class="dropdown-li">
border: 1px solid #d3d3d3;
+
                    <div class="dropdown">
border-collapse: collapse;
+
                      <a class="dropdown-toggle" type="button" id="dropdown6" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
background-color:#f2f2f2;
+
                        Awards
}
+
                      </a>
 
+
                      <ul class="dropdown-menu" aria-labelledby="dropdown6">
 
+
                        <li>
/**********************************LAYOUT CLASSES **********************************/
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Applied_Design" class="dropdown-a">Applied Design</a>
 
+
                        </li>
/* general class for column divs */
+
                        <li>
.igem_2017_content_wrapper .column  {
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Hardware" class="dropdown-a">Hardware</a>
padding: 10px 0px;
+
                        </li>
float:left;
+
                        <li>
}
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Measurement" class="dropdown-a">Measurement</a>
 
+
                        </li>
/* class for a full width column */
+
                        <li>
.column .full_size {
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Model" class="dropdown-a">Model</a>
width:100%;
+
                        </li>
}
+
                        <li>
 
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Plant" class="dropdown-a">Plant</a>
/* styling for images in a full width column*/
+
                        </li>
.column.full_size img {
+
                        <li>
width:97%;
+
                          <a href="https://2017.igem.org/Team:UCopenhagen/Software" class="dropdown-a">Software</a>
padding: 10px 15px;
+
                        </li>
}
+
                      </ul>
 
+
                    </div>
/* class for a half width column */
+
                </li>
.column.half_size {
+
                <li class="dropdown-li">
width: 50%;
+
                    <div class="dropdown">
}
+
                      <a onclick="window.location.href='https://2017.igem.org/Team:UCopenhagen/Sponsors'" class="dropdown-toggle" type="button" id="dropdown7" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
/* styling for images in a half width column*/
+
                        Sponsors
.column.half_size img {
+
                      </a>
width: 94.5%;
+
                    </div>
padding: 10px 15px;
+
                </li>
}
+
            </ul>
 
+
        </div>
 
+
        <!-- /.navbar-collapse -->
 
+
    </div>
 
+
    <!-- /.container -->
/********************************* SUPPORT CLASSES ********************************/
+
</nav>
 
+
</html>
/* 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; 
+
}
+
 
+
/* styling for button on hover */
+
.igem_2017_content_wrapper .button:hover{
+
background-color: #3399ff;
+
    color: #000000;
+
}
+
 
+
 
+
 
+
 
+
/***************************************************** RESPONSIVE STYLING ****************************************************/
+
 
+
/* IF THE SCREEN IS LESS THAN 1200PX */
+
@media only screen and (max-width: 1200px) {
+
 
+
#content {width:100%; }
+
.igem_2017_menu_wrapper {width:15%; right:0;}
+
.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%;}
+
.igem_2017_content_wrapper {width:100%; margin-left:0px;}
+
.column.half_size  {width:100%; }
+
.column.full_size img, .column.half_size img {  width: 100%; padding: 10px 0px;}
+
.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>
+
 
+
 
+
<!--- THIS IS WHERE THE HTML BEGINS --->
+
 
+
 
+
 
+
<head>  
+
 
+
<!-- This tells the browser that your page is responsive -->
+
<meta name="viewport" content="width=device-width, initial-scale=1">  
+
 
+
</head>
+
 
+
 
+
 
+
<!-- start of content -->
+
<div class="igem_2017_content_wrapper">
+
 
+
<img src="https://static.igem.org/mediawiki/2017/6/68/T--UCopenhagen--InCellLogo.jpg" align="right">
+
</div>
+

Latest revision as of 10:06, 26 July 2017