Difference between revisions of "Template:Aalto-Helsinki"

Line 1: Line 1:
 
<html>
 
<html>
 
<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);
 
}
 
}
 
 
 
});
 
 
 
</script>
 
 
 
 
 
 
 
<style>
 
<style>
 +
html {
 +
    position: relative;
 +
    height: 100%;
 +
    min-width: 950px;
 +
    text-align: center;
 +
    background-color: white;
 +
    background-size: cover;
 +
  -webkit-font-smoothing: antialiased; /* font smoothing */
 +
  -moz-osx-font-smoothing: grayscale;
 +
  font-family: 'Quicksand', Work Sans; font-size:16px;
 +
}
  
 +
header, body {
 +
    height: 100%;
 +
    margin: 0 0 35px;
 +
    padding: 0;
 +
}
  
 +
p {
 +
  text-align: justify;
 +
  font-family: Work Sans;
 +
}
  
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
+
a {
+
  text-decoration: none;
/* Clear the default wiki settings */
+
  color: #000000;
+
  font-weight: bold;
#home_logo, #sideMenu { display:none; }
+
}
#sideMenu, #top_title, .patrollink  {display:none;}
+
#content { width:100%; padding:0px;  margin-top:-7px; margin-left:0px;}
+
body {background-color:white; }
+
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
+
  
+
a:hover {
+
  color: #363638;
+
  font-weight: bolder;
/**************************************************************** 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 */
+
img {
.igem_2017_menu_wrappe::-webkit-scrollbar {
+
    padding: 0;
display: none;  
+
    display: block;
}
+
    margin: auto;
+
    max-height: 100%;
+
    max-width: 100%;
/* styling for links in the menu, removes the line under text */
+
}
.igem_2017_menu_wrapper a { 
+
text-decoration: none;  
+
}
+
  
 +
/* Site Map styles */
 +
.sitemap {
 +
  background-color: #339999;
 +
  color: #ffffff;
 +
}
  
/* styling for the images in the menu */
+
#map-column-styles {
.igem_2017_menu_wrapper img {  
+
  clear:left;
width: 100%;
+
  float:left;
}
+
  text-align: left;
 +
  width:100%;
 +
  overflow:hidden;
 +
  background:#339999;
 +
  font-size: 14px;
 +
}
 +
#map-column-1 {
 +
  float:left;
 +
  min-width:16%;
 +
  position:relative;
 +
  left:14%;
 +
  overflow:hidden;
 +
}
 +
#map-column-1 a {
 +
  list-style: none;
 +
  color: #ffffff;
 +
}
 +
#map-column-1 a:hover {
 +
  color: #066;
 +
}
 +
#map-column-2 {
 +
  float:left;
 +
  min-width:16%;
 +
  position:relative;
 +
  left:14%;
 +
  overflow:hidden;
 +
}
 +
#map-column-2 a {
 +
  list-style: none;
 +
  color: #ffffff;
 +
}
 +
#map-column-2 a:hover {
 +
  color: #066;
 +
}
 +
#map-column-3 {
 +
  float:left;
 +
  min-width:16%;
 +
  position:relative;
 +
  left:14%;
 +
  overflow:hidden;
 +
}
 +
#map-column-3 a {
 +
  list-style: none;
 +
  color: #ffffff;
 +
}
 +
#map-column-3 a:hover {
 +
  color: #066;
 +
}
 +
#map-column-4 {
 +
  float:left;
 +
  min-width:16%;
 +
  position:relative;
 +
  left:14%;
 +
  overflow:hidden;
 +
}
 +
#map-column-4 a {
 +
  list-style: none;
 +
  color: #ffffff;
 +
}
 +
#map-column-4 a:hover {
 +
  color: #066;
 +
}
 +
#map-column-5 {
 +
  float:left;
 +
  min-width:16%;
 +
  position:relative;
 +
  left:14%;
 +
  overflow:hidden;
 +
}
 +
#map-column-5 a {
 +
  list-style: none;
 +
  color: #ffffff;
 +
}
 +
#map-column-5 a:hover {
 +
  color: #066;
 +
}
  
/* styling for the menu buttons */
+
/* Normal page styles */
.igem_2017_menu_wrapper .menu_button {  
+
.container {
width: 100%;  
+
  padding-top: 1%;
padding: 10px 0px 10px 15px;
+
  padding-left: 13%;
float:left;
+
  padding-right: 13%;
border-bottom: 1px solid #d3d3d3;  
+
  font-family: Work Sans;
font-size: 12px;  
+
}
font-weight: bold;
+
color: #5e5f5f;
+
cursor: pointer;
+
}
+
  
 +
.basictext {
 +
  font-weight: lighter;
 +
  line-height: 32px;
 +
  font-family: Work Sans;
 +
}
  
.igem_2017_menu_wrapper .menu_bottom_padding {  
+
.introtext {
width: 100%;  
+
  font-weight: lighter;
height: 30px;
+
  line-height: 32px;
float:left;
+
}
}
+
  
.menu_button.direct_to_page {
+
/* Team page styles */
padding-left: 36px;
+
}
+
  
 +
.person-wrap {
 +
  width: 100%;
 +
  padding-top: 1%;
 +
  padding-bottom: 5%;
 +
  padding-left: 2%;
 +
  padding-right: 0.5%;
 +
  font-family: Work Sans;
 +
}
 +
.person-photo {
 +
  padding: 2% 0 2% 0;
 +
  float: left;
 +
  width: 25%;
 +
}
 +
.person-texts {
 +
  float: right;
 +
  width: 68%;
 +
  font-weight: lighter;
 +
  line-height: 28px;
 +
  font-family: Work Sans;
 +
  text-align: justify;
 +
  margin-right: 2%;
 +
}
  
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon {
+
/* Icons and porifi styles */
width:10%;
+
.some {
float:left;
+
  display: inline-block;
}
+
  width: 30px;
 +
  vertical-align: middle;
 +
}
  
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon::before {
+
.some:hover {
content: "+"; 
+
  content: url('https://igem-qsf.github.io/Aalto-Helsinki-wiki-17/logos-icons/home_icon_hover.png');
}
+
}
+
.open::before {
+
content: "-" !important; 
+
}
+
+
+
+
/* 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 */
+
p.porify {
.current_page {  
+
  padding-top: 6%;
background-color:#7fc1f7  !important;
+
  text-align: center;
color:#5e5f5f !important;
+
  width: 30%;
}
+
  margin: auto;
 +
}
  
 +
#roll-o {
 +
    position: absolute; /* Sit on top of the page content */
 +
    display: block; /* none: Hidden by default */
 +
    width: 6%;
 +
    top: 5%;
 +
    left: 9%;
 +
    right: 0;
 +
    bottom: 0;
 +
    background-color: rgba(0,0,0,0);
 +
    z-index: 2000; /* Specify a stack order in case you're using a different order for other elements */
 +
    cursor: default;
 +
}
  
/* styling for the submenu buttons */
+
.o {
.igem_2017_menu_wrapper .submenu_button {  
+
  position: relative;
width: 100%;  
+
  top: 0 !important;
padding: 10px 0px 10px 34px;  
+
  left: 0 !important;
float:left;
+
}
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*/
+
#quote-block {
.igem_2017_menu_wrapper .submenu_wrapper {  
+
  width: 100%;
display:none;
+
  top: 2%;
}
+
  padding: 30px 0px;
 +
  text-align: left;
 +
  background-color: #339999;
 +
  overflow: hidden;
 +
  font-family: Work Sans;
 +
}
 +
#quote-block-mod {
 +
  width: 100%;
 +
  top: 2%;
 +
  padding: 30px 0px;
 +
  text-align: left;
 +
  background-color: #CC9933;
 +
  overflow: hidden;
 +
  font-family: Work Sans;
 +
}
 +
#quote-block-hp {
 +
  width: 100%;
 +
  top: 2%;
 +
  padding: 30px 0px;
 +
  text-align: left;
 +
  background-color: #c63;
 +
  overflow: hidden;
 +
  font-family: Work Sans;
 +
}
 +
#quote-block-com {
 +
  width: 100%;
 +
  top: 2%;
 +
  padding: 30px 0px;
 +
  text-align: left;
 +
  background-color: #006699;
 +
  overflow: hidden;
 +
  font-family: Work Sans;
 +
}
 +
#quote-block-peo {
 +
  width: 100%;
 +
  top: 2%;
 +
  padding: 30px 0px;
 +
  text-align: left;
 +
  background-color: #336633;
 +
  overflow: hidden;
 +
  font-family: Work Sans;
 +
}
  
/* when the page size is bigger than 800px, this show/hide control is hidden by default */
+
q {
.igem_2017_menu_wrapper #display_menu_control {
+
  quotes: "“" "”" "‘" "’";
display:none;
+
}
text-align:center;
+
}
+
+
  
/***************************************************** CONTENT OF THE PAGE ****************************************************/
+
q:before {
 +
  content: open-quote;
 +
  font-size: 150px;
 +
}
  
/* Wrapper for the content */
+
q:after {
.igem_2017_content_wrapper {
+
  content: no-close-quote;
width: 81%;
+
}
margin: 2%;
+
display:block;
+
float:left;
+
background-color:white;
+
font-family:Tahoma, Geneva, sans-serif;  
+
}
+
  
 +
.quote-mark {
 +
  width: 0%;
 +
  float: left;
 +
  text-align: left;
 +
  font-weight: bolder;
 +
  font-size: 0px;
 +
  padding: 0 8%;
 +
  color: #000000;
 +
  margin-bottom:-100px;
 +
  margin-top:-40px;
 +
}
  
/********************************* HTML STYLING  *********************************/
+
.quote-text {
 +
  width: 70%;
 +
  text-align: left;
 +
  font-weight: bolder;
 +
  font-size: 30px;
 +
  padding: 0 18%;
 +
  color: #000000;
 +
}
  
/* styling for the titles h1 h2 */
+
.quote-person {
.igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
+
  width: 69%;
padding:5px 15px;  
+
  text-align: right;
border-bottom: 0px;  
+
  font-weight: lighter;
color: #3399ff;
+
  font-size: 25px;
}
+
  padding: 0 18%;
 +
  color: #000000;
 +
}
  
 +
#color-block {
 +
  width: 100%;
 +
  top: 2%;
 +
  padding: 30px 0px;
 +
  text-align: left;
 +
  background-color: #339999;
 +
  overflow: hidden;
 +
}
  
/* styling for the titles  h3 h4 h5 h6*/
+
#color-block-mod {
.igem_2017_content_wrapper h3, .igem_2017_content_wrapper h4, .igem_2017_content_wrapper h5, .igem_2017_content_wrapper h6 {  
+
  width: 100%;
padding:5px 15px;  
+
  top: 2%;
border-bottom:0px;  
+
  padding: 30px 0px;
color: #000000;
+
  text-align: left;
}
+
  background-color: #CC9933;
 +
  overflow: hidden;
 +
}
  
 +
#color-block-com {
 +
  width: 100%;
 +
  top: 2%;
 +
  padding: 30px 0px;
 +
  text-align: left;
 +
  background-color: #006699;
 +
  overflow: hidden;
 +
}
 +
#parts-text {
 +
  padding: 1% 0% 1% 13%;
 +
  color: #ffffff;
 +
  width: 46%;
 +
  float: left;
 +
  text-align: justify;
 +
  font-weight: bold;
 +
  overflow: hidden;
 +
}
 +
#parts-photo {
 +
  padding: 1% 13% 1% 5%;
 +
  float: right;
 +
  width: 23%;
 +
}
  
/* font and text */
+
.color-block-container {
.igem_2017_content_wrapper p {  
+
  min-height: 68%; /*fills the remaining space of the page*/
padding: 0px 15px;  
+
  display: flex;
font-size: 13px;
+
  flex-direction: column;
}
+
  /*position: relative;
 +
  width: 100%;*/
 +
  background-color: #f36;
 +
}
 +
.color-block-container > div {
 +
  flex: 1 1 auto;
 +
  display: flex;
 +
}
 +
.color-block-container > div > div {
 +
  flex: 1 1 auto;
 +
}
 +
.color-block-hp > div {
 +
  padding: 1rem;
 +
}
 +
.color-block-hp > div:nth-child(1) {
 +
  background-color: #c63;
 +
}
 +
.color-block-hp > div:nth-child(2) {
 +
  background-color: #c63;
 +
}
 +
.color-block-hp > div:nth-child(3) {
 +
  background-color: #c63;
 +
}
 +
.color-block-hp > div:hover {
 +
  padding: 1rem;
 +
}
 +
.color-block-hp > div:hover:nth-child(1) {
 +
  background-color: #b85c2e;
 +
  /*on hover darker shade of same color*/
 +
}
 +
.color-block-hp > div:hover:nth-child(2) {
 +
  background-color: #b85c2e;
 +
  /*on hover darker shade of same color*/
 +
}
 +
.color-block-hp > div:hover:nth-child(3) {
 +
  background-color: #b85c2e;
 +
  /*on hover darker shade of same color*/
 +
}
 +
#color-block-hp {
 +
  /*height: 200px;*/
 +
  /*min-height: 100px;*/
 +
  /*width: 100%;
 +
  top: 0%;
 +
  height: 80%;
 +
  padding: 3% 0px;*/
 +
  text-align: left;
 +
  background-color: #c63;
 +
  /*overflow: hidden;*/
 +
}
 +
#color-block-team {
 +
  /*scroll effect: background: url("./img/1group crop+.jpg") no-repeat center center fixed;*/
 +
  background: url("./img/1group crop+.jpg") no-repeat center center; /* attention, no dash */
 +
  /*background-size: 100%;*/
 +
  background-size: cover;
 +
  height: 55%;
 +
  /*width: 100%;
 +
  top: 2%;
 +
  padding: 30px 0px;
 +
  text-align: left;
 +
  background-color: #c63;
 +
  overflow: hidden;*/
 +
}
 +
#color-block:hover {
 +
  background-color: #066;
 +
  /*on hover darker shade of same color*/
 +
}
 +
#color-block-mod:hover {
 +
  background-color: #b88a2e;
 +
  /*on hover darker shade of same color*/
 +
}
 +
#color-block-hp:hover {
 +
  background-color: #b85c2e;
 +
  /*on hover darker shade of same color*/
 +
}
 +
#color-block-com:hover {
 +
  background-color: #036;
 +
  /*on hover darker shade of same color*/
 +
}
 +
.text1 {
 +
  width: 60%;
 +
  /*text closer to center*/
 +
  float: left;
 +
  padding: 2% 0;
 +
  text-align: center;
 +
  font-weight: bolder;
 +
  font-size: 30px;
 +
  color: #fff;
 +
}
 +
.text2 {
 +
  left: 50%;
 +
  width: 40%;
 +
  /*so the text doesn't start immediately from 50% of page*/
 +
  float: right;
 +
  font-size: 16px;
 +
  color: #fff;
 +
  text-decoration: none;
 +
}
 +
.text2-hp {
 +
  /*left: 50%;*/
 +
  /*padding: 2% 0;*/
 +
  width: 40%;
 +
  text-align: left;
 +
  /*so the text doesn't start immediately from 50% of page*/
 +
  /*float: right;
 +
  font-size: 16px;
 +
  color: #ffffff;*/
 +
  text-decoration: none;
 +
  display: flex;
 +
  /*The links will flex in the vertical direction*/
 +
  flex-direction: column;
 +
  justify-content: center;
 +
}
  
/* Links */
+
.text2 a {
.igem_2017_content_wrapper a {  
+
  font-weight: bold;
font-weight: bold;  
+
  color: #ffffff;
text-decoration: underline;
+
  text-decoration: none;
text-decoration-color: #3399ff;
+
  display: block;
color: #3399ff;
+
}
-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 */
+
.text2-hp a {
.igem_2017_content_wrapper a:hover {  
+
  font-weight: bold;
text-decoration:none;
+
  color: #ffffff;
color:#000000;
+
  line-height: 6px;
}
+
  text-decoration: none;
 +
  display: block;
 +
}
  
/* non numbered lists */
+
.text2 a:hover {
.igem_2017_content_wrapper ul {
+
  color: #eeeeee;
padding:0px 20px;
+
  text-decoration: none;
font-size: 13px;
+
}
font-family:Tahoma, Geneva, sans-serif;  
+
}
+
  
/* numbered lists */
+
.text2-hp a:hover {
.igem_2017_content_wrapper ol {
+
  color: #eeeeee;
padding:0px;  
+
  text-decoration: none;
font-size: 13px;
+
}
font-family:Tahoma, Geneva, sans-serif;  
+
}
+
  
/* Table */
+
@font-face {
.igem_2017_content_wrapper table {  
+
  font-family: Quicksand;
width: 97%;  
+
  src: url(Adam.otf);
margin:15px 10px;
+
}
border: 1px solid #d3d3d3;
+
border-collapse: collapse;  
+
}
+
  
/* table cells */
+
h1 {
.igem_2017_content_wrapper  td {  
+
  color: #000000;
padding: 10px;
+
  padding: 10px;
vertical-align: text-top;  
+
  font-size: 250%;
border: 1px solid #d3d3d3;  
+
  text-align: center;
border-collapse: collapse;  
+
  font-weight: normal;
}
+
}
  
/* table headers */
+
h2 {
.igem_2017_content_wrapper th {  
+
  color: #000000;
padding: 10px;
+
  padding: 10px;
vertical-align: text-top;
+
  font-size: 80px;
border: 1px solid #d3d3d3;  
+
}
border-collapse: collapse;  
+
background-color:#f2f2f2;  
+
}
+
  
 +
h3 {
 +
  color: #000000;
 +
  font-size: 200%;
 +
  text-align: left;
 +
}
  
/**********************************LAYOUT CLASSES **********************************/
+
h4 {
 +
  color: #000000;
 +
  font-size: 130%;
 +
  text-align: left;
 +
}
  
/* general class for column divs */
+
h5 {
.igem_2017_content_wrapper .column  {  
+
  color: #ffffff;
padding: 10px 0px;
+
  font-size: 130%;
float:left;  
+
  text-align: left;
}
+
}
  
/* class for a full width column */
+
#dropdown {
.column .full_size {
+
  position: relative;
width:100%;  
+
  height: 24px;
}
+
  background: #ffffff;
 +
  width: auto;
 +
}
 +
#dropdown ul {
 +
  list-style: none;
 +
  padding: 0;
 +
  margin: auto; /*this was 0*/
 +
  /*text-align: center; this was added*/
 +
  line-height: 1;
 +
}
 +
#dropdown > ul {
 +
  position: relative;
 +
  display: block;
 +
  text-align: center; /*test, this was added*/
 +
  background: #ffffff; /*This is the heading1 background*/
 +
  width: 100%;
 +
  z-index: 500;
 +
}
 +
#dropdown:after,
 +
#dropdown > ul:after {
 +
  content: ".";
 +
  display: block;
 +
  clear: both;
 +
  visibility: hidden;
 +
  line-height: 0;
 +
  height: 0;
 +
}
 +
#dropdown.align-right > ul > li {
 +
  float: right;
 +
}
 +
#dropdown.align-center ul {
 +
  text-align: center;
 +
}
 +
#dropdown.align-center ul ul {
 +
  text-align: center; /*this was left*/
 +
}
 +
#dropdown > ul > li {
 +
  display: inline-block;
 +
  position: relative;
 +
  margin: 0;
 +
  padding: 0;
 +
}
 +
#dropdown > ul > #menu-button {
 +
  display: none;
 +
}
 +
#dropdown ul li a {
 +
  display: block;
 +
  font-family: 'Quicksand', Work Sans;
 +
  src: url(Adam.otf);
 +
  font-weight: bold;
 +
  text-decoration: none;
 +
}
 +
#dropdown > ul > li > a {
 +
  font-size: 18px;
 +
  font-weight: bold;
 +
  text-align: center; /* this was added */
 +
  padding: 5px 45px; /* heading sizes */
 +
  color: #363638; /*previous color #7a8189;*/
 +
  -webkit-transition: color 0.25s ease-out;
 +
  -moz-transition: color 0.25s ease-out;
 +
  -ms-transition: color 0.25s ease-out;
 +
  -o-transition: color 0.25s ease-out;
 +
  transition: color 0.25s ease-out;
 +
}
 +
#dropdown > ul > li.has-sub > a {
 +
  padding-right: 40px;
 +
}
 +
/*Dropdown parent links give different colours when hovered*/
 +
#dropdown > ul > li:hover > a.lab {
 +
  color: #339999;
 +
  border-bottom: 3px solid currentColor;
 +
}
 +
#dropdown > ul > li:hover > a.mod {
 +
  color: #CC9933;
 +
  border-bottom: 3px solid currentColor;
 +
}
 +
#dropdown > ul > li:hover > a.hp {
 +
  color: #CC6633;
 +
  border-bottom: 3px solid currentColor;
 +
}
 +
#dropdown > ul > li:hover > a.com {
 +
  color: #336699;
 +
  border-bottom: 3px solid currentColor;
 +
}
 +
#dropdown > ul > li:hover > a.peo {
 +
  color: #336633;
 +
  border-bottom: 3px solid currentColor;
 +
}
 +
#dropdown li.has-sub::after {
 +
  display: block;
 +
  content: "";
 +
  position: absolute;
 +
  width: 0;
 +
  height: 0;
 +
}
  
/* styling for images in a full width column*/
+
#dropdown ul ul {
.column.full_size img {  
+
  position: absolute;
width:97%;  
+
  left: -9999px;
padding: 10px 15px;
+
  top: 70px;
}
+
  opacity: 0;
 +
  -webkit-transition: opacity .3s ease, top .25s ease;
 +
  -moz-transition: opacity .3s ease, top .25s ease;
 +
  -ms-transition: opacity .3s ease, top .25s ease;
 +
  -o-transition: opacity .3s ease, top .25s ease;
 +
  transition: opacity .3s ease, top .25s ease;
 +
  z-index: 1000;
 +
}
 +
#dropdown ul ul ul {
 +
  top: 37px;
 +
  padding-left: 5px;
 +
}
 +
#dropdown ul ul li {
 +
  position: relative;
 +
}
 +
/* This defines how much space between heading and drop down menu */
 +
#dropdown > ul > li:hover > ul {
 +
  width: 95%; /* this makes the dropdown menus widths 100% */
 +
  left: auto;
 +
  right: auto;
 +
  top: 31px; /*this was 44px -> too far away, 31px is right under */
 +
  opacity: 1;
 +
}
 +
#dropdown.align-right > ul > li:hover > ul {
 +
  left: auto;
 +
  right: 0;
 +
  opacity: 1;
 +
}
 +
/*Specifies how the link opened by hovering dropdown looks*/
 +
#dropdown ul ul li:hover > ul {
 +
  left: 175px; /* how far from the dropdown menu the submenu opens */
 +
  top: 0;
 +
  opacity: 1;
 +
}
 +
#dropdown.align-right ul ul li:hover > ul {
 +
  left: auto;
 +
  /*right: 170px;*/
 +
  width: 100%; /*added*/
 +
  top: 0;
 +
  opacity: 1;
 +
  padding-right: 5px;
 +
}
 +
#dropdown ul ul li a {
 +
  /*width: 170px;*/
 +
  width: 100%; /*the width of the subelement of subheadings */
 +
  border-bottom: 1px solid #eeeeee; /* horiz. line colour */
 +
  padding: 4px 2.6%;
 +
  font-size: 13px;
 +
  font-weight: bold;
 +
  color: #363638; /* colour of the drop down menu subheadings */
 +
  background: #ffffff;
 +
  -webkit-transition: all .5s ease;
 +
  -moz-transition: all .5s ease;
 +
  -ms-transition: all .5s ease;
 +
  -o-transition: all .5s ease;
 +
  transition: all .5s ease;
 +
}
 +
#dropdown.align-right ul ul li a {
 +
  text-align: center; /* this was right prev. */
 +
}
  
/* class for a half width column */
+
#dropdown ul ul li:hover > a {
.column.half_size {
+
  background: #f2f2f2; /* colour of dropdown menu links when hovered - light grey */
width: 50%;  
+
  color: #363638;
}
+
}
/* styling for images in a half width column*/
+
.column.half_size img {
+
width: 94.5%;
+
padding: 10px 15px;
+
}
+
  
 +
#dropdown ul ul li:last-child > a,
 +
#dropdown ul ul li.last > a {
 +
  border-bottom: 0;
 +
}
  
 +
footer .footer-social {
 +
  position: static;
 +
  width: 100%;
 +
  text-align: center;
 +
  padding: 5px 0;
 +
  bottom: 0;
 +
  background-color: #339999;
 +
  overflow: hidden;
 +
}
 +
footer .footer-social ul {
 +
  list-style: none;
 +
  margin: 0;
 +
  padding: 0;
 +
}
 +
footer .footer-social ul li {
 +
  display: inline-block;
 +
}
 +
footer .footer-social ul li a {
 +
  display: block;
 +
  font-size: 16px;
 +
  color: #ffffff;
 +
  -webkit-transition: background-color 0.3s;
 +
          transition: background-color 0.3s;
 +
}
 +
footer .footer-social ul li a:hover {
 +
  color: #363638 !important;
 +
  font-weight: bold;
 +
}
  
 +
footer .footer-social a:hover {
 +
  color: #363638 !important;
 +
  font-weight: bold;
 +
}
  
/********************************* SUPPORT CLASSES ********************************/
+
/*Footer for main page*/
  
/* class that clears content below*/
+
footer .footer-mainpage {
.igem_2017_content_wrapper .clear {
+
  position: absolute;
clear:both;
+
  width: 100%;
}
+
  text-align: center;
+
  padding: 5px 0;
+
  bottom: 0;
/* adds extra spacing when clearing content */
+
  background-color: #339999;
.igem_2017_content_wrapper  .clear.extra_space {
+
  overflow: hidden;
height: 30px;
+
}
}
+
  
 +
footer .footer-mainpage ul {
 +
  list-style: none;
 +
  margin: 0;
 +
  padding: 0;
 +
}
 +
footer .footer-mainpage ul li {
 +
  display: inline-block;
 +
}
 +
footer .footer-mainpage ul li a {
 +
  display: block;
 +
  font-size: 16px;
 +
  color: #ffffff;
 +
  -webkit-transition: background-color 0.3s;
 +
          transition: background-color 0.3s;
 +
}
 +
footer .footer-mainpage ul li a:hover {
 +
  color: #363638 !important;
 +
  font-weight: bold;
 +
}
  
/* highlight class, makes content slightly smaller */
+
footer .footer-mainpage a:hover {
.igem_2017_content_wrapper .highlight {  
+
  color: #363638 !important;
margin: 0px 15px;
+
  font-weight: bold;
padding: 15px 0px;
+
}
}
+
  
 +
footer .texts ul a {
 +
  font-weight: bold;
 +
  text-decoration: none;
 +
  color: #ffffff;
 +
  padding: 15px 30px;
 +
}
  
/* highlight class, adds a gray background */
 
.igem_2017_content_wrapper .highlight.gray {
 
background-color: #f2f2f2;
 
}
 
  
/* highlight with decoration blue line on top */
+
@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
.igem_2017_content_wrapper .highlight.blue_top {
+
  #dropdown {
    border-top: 4px solid #3399ff;
+
    width: auto;
}
+
  }
 
+
  #dropdown.align-center ul {
/* highlight with a full blue border decoration */
+
    text-align: center; /* this was left */
.igem_2017_content_wrapper .highlight.blue_border {
+
  }
    border: 4px solid  #3399ff;
+
  #dropdown.align-right > ul > li {
}
+
    float: none;
 
+
  }
 
+
  #dropdown ul {
/* button class */
+
    width: auto;
.igem_2017_content_wrapper .button{
+
  }
max-width: 35%;
+
  #dropdown .submenuArrow,
margin: 30px auto;
+
  #dropdown #indicatorContainer {
padding: 12px 10px;
+
    display: none;
    background-color: #3399ff;
+
  }
    text-align: center;
+
  #dropdown > ul {
  color: #ffffff;
+
    height: auto;
-webkit-transition: all 0.4s ease;  
+
    display: block;
-moz-transition: all 0.4s ease;
+
  }
-ms-transition: all 0.4s ease;
+
  #dropdown > ul > li {
-o-transition: all 0.4s ease; transition: all 0.4s ease; 
+
    float: none;
}
+
  }
 
+
  #dropdown li,
/* styling for button on hover */
+
  #dropdown > ul > li {
.igem_2017_content_wrapper .button:hover{
+
    display: none;
background-color: #3399ff;
+
  }
    color: #000000;
+
  #dropdown ul ul,
}
+
  #dropdown ul ul ul,
 
+
  #dropdown ul > li:hover > ul,
 
+
  #dropdown ul ul > li:hover > ul,
 
+
  #dropdown.align-right ul ul,
 
+
  #dropdown.align-right ul ul ul,
/***************************************************** RESPONSIVE STYLING ****************************************************/
+
  #dropdown.align-right ul > li:hover > ul,
 
+
  #dropdown.align-right ul ul > li:hover > ul {
/* IF THE SCREEN IS LESS THAN 1200PX */
+
    position: relative;
@media only screen and (max-width: 1200px) {
+
    width: 100%; /*added*/
 
+
    left: auto;
#content {width:100%; }
+
    top: auto;
.igem_2017_menu_wrapper {width:15%; right:0;}
+
    opacity: 1;
.highlight {padding:10px 0px;}
+
    padding-left: 0;
.igem_2017_menu_wrapper #display_menu_control { display:none; }
+
    padding-right: 0;
#menu_content { display:block;}
+
    right: auto;
.menu_button.direct_to_page {padding-left: 17px;}
+
  }
+
  #dropdown ul .has-sub::after {
}
+
    display: none;
 
+
  }
/* IF THE SCREEN IS LESS THAN 800PX */
+
  #dropdown ul li a {
@media only screen and (max-width: 800px) {
+
    padding: 12px 20px;
 
+
  }
.igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;}
+
  #dropdown ul ul li a {
.igem_2017_content_wrapper {width:100%; margin-left:0px;}
+
    border: 0;
.column.half_size  {width:100%; }
+
    background: none;
.column.full_size img, .column.half_size img { width: 100%; padding: 10px 0px;}  
+
    width: auto;
.highlight {padding:15px 5px;}
+
    padding: 28px 35px;
.igem_2017_menu_wrapper #display_menu_control { display:block; }
+
  }
#menu_content { display:none;}
+
  #dropdown.align-right ul ul li a {
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; }
+
    text-align: center; /*this was left*/
.menu_bottom_padding {display:none;}
+
  }
.menu_button.direct_to_page { padding-left: 36px; }
+
  #dropdown ul ul li:hover > a.lab > a.mod {
}
+
    background: none;
 
+
    color: #363638;
 
+
  }
+
  #dropdown ul ul ul a {
+
    padding: 8px 50px;
/* special class that the system uses to make sure the team wants a page to be evaluated */
+
  }
.judges-will-not-evaluate {
+
  #dropdown ul ul ul ul a {
    width: 96.6%;
+
    padding: 8px 65px;
  margin: 5px 15px;
+
  }
  display: block;
+
  #dropdown ul ul ul ul ul a {
border: 4px solid #3399ff;
+
    padding: 8px 80px;
    font-weight: bold;
+
  }
}
+
  #dropdown ul ul ul ul ul ul a {
+
    padding: 8px 95px;
 +
  }
 +
  #dropdown > ul > #menu-button {
 +
    display: block;
 +
    cursor: pointer;
 +
  }
 +
  #dropdown #menu-button > a {
 +
    padding: 14px 20px;
 +
  }
 +
  #dropdown ul.open li,
 +
  #dropdown > ul.open > li {
 +
    display: block;
 +
  }
 +
  #dropdown > ul.open > li#menu-button > a {
 +
    color: #fff;
 +
    border-bottom: 1px solid rgba(150, 150, 150, 0.1);
 +
  }
 +
  #dropdown ul ul::after {
 +
    display: none;
 +
  }
 +
  #dropdown #menu-button::after {
 +
    display: block;
 +
    content: '';
 +
    position: absolute;
 +
    height: 3px;
 +
    width: 22px;
 +
    border-top: 2px solid #7a8189;
 +
    border-bottom: 2px solid #7a8189;
 +
    right: 20px;
 +
    top: 0px; /* this was 15px */
 +
  }
 +
  #dropdown #menu-button::before {
 +
    display: block;
 +
    content: '';
 +
    position: absolute;
 +
    height: 3px;
 +
    width: 22px;
 +
    border-top: 2px solid #7a8189;
 +
    right: 20px;
 +
    top: 0px; /*this was 25px*/
 +
  }
 +
  #dropdown ul.open #menu-button::after,
 +
  #dropdown ul.open #menu-button::before {
 +
    border-color: #fff;
 +
  }
 +
}
 
</style>
 
</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>
 
 
 
 
<div class="igem_2017_menu_wrapper" >
 
 
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki">
 
<img src="https://static.igem.org/mediawiki/2017/7/7b/T--Aalto-Helsinki--Homesmall.jpg">
 
</a>
 
 
 
<!-- 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">
 
 
 
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki">
 
<div class="menu_button direct_to_page">
 
HOME
 
</div>
 
</a>
 
 
 
 
<div class="menu_button">
 
<div class="expand_collapse_icon">  </div> TEAM
 
</div>
 
 
<div class="submenu_wrapper" id="team_submenu">
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Team">
 
<div class="submenu_button" id="Team_page">
 
Team
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Collaborations">
 
<div class="submenu_button"  id="Collaborations_page">
 
Collaborations
 
</div>
 
</a>
 
 
 
</div>
 
 
 
 
 
 
<div class="menu_button">
 
<div class="expand_collapse_icon">  </div> PROJECT
 
</div>
 
 
<!-- project submenu -->
 
<div class="submenu_wrapper">
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Description">
 
<div class="submenu_button"  id="Description_page">
 
Description
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Design">
 
<div class="submenu_button"  id="Design_page">
 
Design
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Experiments">
 
<div class="submenu_button"  id="Experiments_page">
 
Experiments
 
</div>
 
</a>
 
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Notebook">
 
<div class="submenu_button"  id="Notebook_page">
 
Notebook
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/InterLab">
 
<div class="submenu_button"  id="InterLab_page">
 
InterLab
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Contribution">
 
<div class="submenu_button"  id="Contribution_page">
 
Contribution
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Model">
 
<div class="submenu_button"  id="Model_page">
 
Model
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Results">
 
<div class="submenu_button"  id="Results_page">
 
Results
 
</div>
 
</a>
 
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Demonstrate">
 
<div class="submenu_button"  id="Demonstrate_page">
 
Demonstrate
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Improve">
 
<div class="submenu_button"  id="Improve_page">
 
Improve
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Attributions">
 
<div class="submenu_button"  id="Attributions_page">
 
Attributions
 
</div>
 
</a>
 
 
</div>
 
 
 
 
 
 
 
<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:Aalto-Helsinki/Parts">
 
<div class="submenu_button"  id="Parts_page">
 
Parts
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Basic_Part">
 
<div class="submenu_button"  id="Basic_Part_page">
 
Basic Parts
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Composite_Part">
 
<div class="submenu_button"  id="Composite_Part_page">
 
Composite Parts
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Part_Collection">
 
<div class="submenu_button"  id="Part_Collection_page">
 
Part Collection
 
</div>
 
</a>
 
</div>
 
 
 
 
 
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/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:Aalto-Helsinki/HP/Silver">
 
<div class="submenu_button"  id="Silver_page">
 
Silver HP
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/HP/Gold_Integrated">
 
<div class="submenu_button" id="Gold_Integrated_page">
 
Integrated and Gold
 
</div>
 
</a>
 
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/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:Aalto-Helsinki/Applied_Design">
 
<div class="submenu_button"  id="Applied_Design_page">
 
Applied Design
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Entrepreneurship">
 
<div class="submenu_button"  id="Entrepreneurship_page">
 
Entrepreneurship
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Hardware">
 
<div class="submenu_button"  id="Hardware_page">
 
Hardware
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Measurement">
 
<div class="submenu_button"  id="Measurement_page">
 
Measurement
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Model">
 
<div class="submenu_button"  id="Model_page">
 
Model
 
</div>
 
</a>
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Plant">
 
<div class="submenu_button"  id="Plant_page">
 
Plant
 
</div>
 
</a>
 
 
 
<a href="https://2017.igem.org/Team:Aalto-Helsinki/Software">
 
<div class="submenu_button"  id="Software_page">
 
Software
 
</div>
 
</a>
 
 
</div>
 
 
<a href="https://igem.org/2017_Judging_Form?team=Aalto-Helsinki">
 
<div class="menu_button direct_to_page">
 
JUDGING FORM
 
</div>
 
</a>
 
 
 
 
<div class="menu_bottom_padding" >
 
</div>
 
 
</div>
 
 
 
 
 
</div>
 
 
 
 
<!-- start of content -->
 
<div class="igem_2017_content_wrapper">
 
<h1>Aalto-Helsinki</h1>
 

Revision as of 14:04, 18 September 2017