Difference between revisions of "Template:Waterloo/style.css"

 
(241 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
<style>
 
<style>
 +
/********************************* DEFAULT WIKI SETTINGS  ********************************/
 +
 +
  #sideMenu, #top_title {display:none;}
 +
  
#sideMenu, #top_title {display:none;}
 
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
 
body {background-color:white; }
 
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
 
/*---Properties-----------------------------------------------------------------------------------*/
 
/*---Properties-----------------------------------------------------------------------------------*/
 
html, body {
 
html, body {
Line 13: Line 13:
 
   width: 100%;
 
   width: 100%;
 
   height: 100%;
 
   height: 100%;
  background-color: #F0EAD6;
 
 
   font-family: 'Ubuntu', sans-serif;
 
   font-family: 'Ubuntu', sans-serif;
 
}
 
}
Line 26: Line 25:
 
}
 
}
 
body{
 
body{
 +
  background-image: url(https://static.igem.org/mediawiki/2016/5/51/T--Waterloo--Yeast.jpg);
 +
  /* background-repeat: repeat-y; */
 +
  background-size: cover;
 +
}
 +
body::after{
 +
  content: "";
 +
  position:fixed;
 +
  background-color: #F0EAD6;
 +
  background-repeat: repeat-y;
 +
  height: 100vh;
 +
  opacity: 0.7;
 +
  top: 0;
 +
  left: 0;
 +
  bottom: 0;
 +
  right: 0;
 +
  z-index: -1; 
 
}
 
}
 
/*---General Colour Classes----------------------------------------------------------------------*/
 
/*---General Colour Classes----------------------------------------------------------------------*/
Line 85: Line 100:
 
     padding-bottom: 2px;
 
     padding-bottom: 2px;
 
     background-color: #373B40;
 
     background-color: #373B40;
}
 
 
div#top_menu_inside {
 
    margin: 0 auto;
 
 
}
 
}
  
Line 94: Line 105:
 
     padding-right: 0;
 
     padding-right: 0;
 
}
 
}
 +
  
  
Line 199: Line 211:
 
     text-align: center;
 
     text-align: center;
 
}
 
}
img {
+
 
    width: 90%;
+
    margin: auto;
+
    padding: 0.2em;
+
    display: inline-block;
+
}
+
 
figcaption {
 
figcaption {
 
     font-size: 0.9em;
 
     font-size: 0.9em;
Line 217: Line 224:
  
 
/*---Requirements Page----------------------------------------------------------------------------*/
 
/*---Requirements Page----------------------------------------------------------------------------*/
 
<!-- For adjusting paragraph font size because it gets automatically set to 13px. -->
 
  
 
.requirements-text {
 
.requirements-text {
 
   font-size: 18px;
 
   font-size: 18px;
 +
}
 +
 +
.elaboration-text {
 +
  font-size: 14px;
 +
  color: #0E3A5A
 
}
 
}
  
Line 237: Line 247:
  
 
/*---Header & Footer------------------------------------------------------------------------------*/
 
/*---Header & Footer------------------------------------------------------------------------------*/
header {
 
  position: absolute;
 
  left: 0;
 
  right: 0;
 
  top: 16px; /*-- this matches the height of the top_menu_14 bar --*/
 
  -webkit-box-shadow: 0 0 10px 0 rgba(66,66,66,1);
 
    -moz-box-shadow: 0 0 10px 0 rgba(66,66,66,1);
 
      -ms-box-shadow: 0 0 10px 0 rgba(66,66,66,1);
 
      -o-box-shadow: 0 0 10px 0 rgba(66,66,66,1);
 
          box-shadow: 0 0 10px 0 rgba(66,66,66,1);
 
}
 
  
header > .navbar-nav {
 
  text-align: center;
 
}
 
 
/* Styling for upper nav */
 
nav {
 
    margin-top: 16px !important;
 
    -webkit-transition: all 1s !important;
 
      -moz-transition: all 1s !important;
 
        -ms-transition: all 1s !important;
 
        -o-transition: all 1s !important;
 
            transition: all 1s !important;
 
}
 
 
nav a {
 
    font-size: 1.2em;
 
    padding-right: 1em;
 
}
 
nav img {
 
    -webkit-transition: all 1s !important;
 
      -moz-transition: all 1s !important;
 
        -ms-transition: all 1s !important;
 
        -o-transition: all 1s !important;
 
            transition: all 1s !important;
 
    height: 100%;
 
}
 
 
nav.main-nav {
 
    z-index: 2000;
 
}
 
nav.shrink a.navbar-brand {
 
    height: 60px !important;
 
}
 
nav.shrink {
 
    min-height: 40px;
 
}
 
nav.shrink li a {
 
  padding-top: 20px !important;
 
  padding-bottom: 20px !important;
 
  min-height: 100% !important;
 
}
 
nav.shrink li li a {
 
  padding-top: 0px !important;
 
  padding-bottom: 0px !important;
 
  min-height: 100% !important;
 
}
 
 
/* Styling for lower nav */
 
nav.navbar-lower {
 
    margin-top: 76px !important;
 
    padding-left: 0px;
 
    padding-right: 0px;
 
    height: 1em;
 
    font-size: 0.8em;
 
    text-align: center;
 
    opacity: 0.9;
 
}
 
nav.navbar-lower li {
 
  float: none;
 
  display: inline-block;
 
}
 
nav.hide-lower {
 
  opacity: 0;
 
  display: none;
 
}
 
ul.inner-page-links {
 
  width: 100% !important;
 
  display: inline-block;
 
  margin-left: 0;
 
}
 
ul.inner-page-links a.scroll-link {
 
    padding: 0.5em 1em !important;
 
}
 
  
 
footer {
 
footer {
 
   bottom: 0;
 
   bottom: 0;
 +
  clear: both;
 +
  position: relative;
 +
  /*z-index: 10;*/
 
   width: 100%;
 
   width: 100%;
 
   padding: 0;
 
   padding: 0;
Line 731: Line 660:
 
         -o-box-shadow: 0 0 20px 0 rgba(66,66,66,1);
 
         -o-box-shadow: 0 0 20px 0 rgba(66,66,66,1);
 
             box-shadow: 0 0 20px 0 rgba(66,66,66,1);
 
             box-shadow: 0 0 20px 0 rgba(66,66,66,1);
 +
}
 +
/*New Navbar settings*/
 +
.cd-auto-hide-header {
 +
  position: fixed;
 +
  z-index: 2;
 +
  top: 15px;
 +
  left: 0;
 +
  width: 100%;
 +
  height: 60px;
 +
  background-color:rgb(39, 40, 34);
 +
  box-shadow: 0px 2px 3px #888888;
 +
  /* Force Hardware Acceleration */
 +
  -webkit-transform: translateZ(0);
 +
          transform: translateZ(0);
 +
  will-change: transform;
 +
  -webkit-transition: -webkit-transform .5s;
 +
  transition: -webkit-transform .5s;
 +
  transition: transform .5s;
 +
  transition: transform .5s, -webkit-transform .5s;
 +
  border-bottom-style: solid;
 +
  border-bottom-width: 6px;
 +
  border-bottom-color: #F5636D
 +
}
 +
.cd-auto-hide-header::after {
 +
  clear: both;
 +
  content: "";
 +
  display: block;
 +
}
 +
.cd-auto-hide-header.is-hidden {
 +
  -webkit-transform: translateY(-100%);
 +
      -ms-transform: translateY(-100%);
 +
          transform: translateY(-100%);
 +
}
 +
@media only screen and (min-width: 1024px) {
 +
  .cd-auto-hide-header {
 +
    height: 84px;
 +
  }
 +
}
 +
 +
.cd-auto-hide-header .logo,
 +
.cd-auto-hide-header .nav-trigger {
 +
  position: absolute;
 +
  top: 50%;
 +
  bottom: auto;
 +
  -webkit-transform: translateY(-50%);
 +
      -ms-transform: translateY(-50%);
 +
          transform: translateY(-50%);
 +
}
 +
 +
.cd-auto-hide-header .logo {
 +
  left: 5%;
 +
}
 +
.cd-auto-hide-header .logo a, .cd-auto-hide-header .logo img {
 +
  display: block;
 +
}
 +
 +
.cd-auto-hide-header .nav-trigger {
 +
  /* vertically align its content */
 +
  display: table;
 +
  height: 100%;
 +
  padding: 0 1em;
 +
  font-size: 1.2rem;
 +
  text-transform: uppercase;
 +
  color: #25283D;
 +
  font-weight: bold;
 +
  right: 0;
 +
  border-left: 1px solid #f2f2f2;
 +
}
 +
.cd-auto-hide-header .nav-trigger span {
 +
  /* vertically align inside parent element */
 +
  display: table-cell;
 +
  vertical-align: middle;
 +
}
 +
.cd-auto-hide-header .nav-trigger em, .cd-auto-hide-header .nav-trigger em::after, .cd-auto-hide-header .nav-trigger em::before {
 +
  /* this is the menu icon */
 +
  display: block;
 +
  position: relative;
 +
  height: 2px;
 +
  width: 22px;
 +
  background-color: #25283D;
 +
  -webkit-backface-visibility: hidden;
 +
          backface-visibility: hidden;
 +
}
 +
.cd-auto-hide-header .nav-trigger em {
 +
  /* this is the menu central line */
 +
  margin: 6px auto 14px;
 +
  -webkit-transition: background-color .2s;
 +
  transition: background-color .2s;
 +
}
 +
.cd-auto-hide-header .nav-trigger em::before, .cd-auto-hide-header .nav-trigger em::after {
 +
  position: absolute;
 +
  content: '';
 +
  left: 0;
 +
  -webkit-transition: -webkit-transform .2s;
 +
  transition: -webkit-transform .2s;
 +
  transition: transform .2s;
 +
  transition: transform .2s, -webkit-transform .2s;
 +
}
 +
.cd-auto-hide-header .nav-trigger em::before {
 +
  /* this is the menu icon top line */
 +
  -webkit-transform: translateY(-6px);
 +
      -ms-transform: translateY(-6px);
 +
          transform: translateY(-6px);
 +
}
 +
.cd-auto-hide-header .nav-trigger em::after {
 +
  /* this is the menu icon bottom line */
 +
  -webkit-transform: translateY(6px);
 +
      -ms-transform: translateY(6px);
 +
          transform: translateY(6px);
 +
}
 +
@media only screen and (min-width: 1024px) {
 +
  .cd-auto-hide-header .nav-trigger {
 +
    display: none;
 +
  }
 +
}
 +
 +
.cd-auto-hide-header.nav-open .nav-trigger em {
 +
  /* transform menu icon into a 'X' icon */
 +
  background-color: rgba(255, 255, 255, 0);
 +
}
 +
.cd-auto-hide-header.nav-open .nav-trigger em::before {
 +
  /* rotate top line */
 +
  -webkit-transform: rotate(-45deg);
 +
      -ms-transform: rotate(-45deg);
 +
          transform: rotate(-45deg);
 +
}
 +
.cd-auto-hide-header.nav-open .nav-trigger em::after {
 +
  /* rotate bottom line */
 +
  -webkit-transform: rotate(45deg);
 +
      -ms-transform: rotate(45deg);
 +
          transform: rotate(45deg);
 +
}
 +
 +
.cd-primary-nav {
 +
  display: inline-block;
 +
  float: right;
 +
  height: 100%;
 +
  padding-right: 5%;
 +
 +
}
 +
.cd-primary-nav > ul {
 +
  position: absolute;
 +
  z-index: 2;
 +
  top: 60px;
 +
  left: 0;
 +
  width: 100%;
 +
  background-color: #ffffff;
 +
  display: none;
 +
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.2);
 +
}
 +
.cd-primary-nav > ul a {
 +
  /* target primary-nav links */
 +
  display: block;
 +
  font-weight: bold;
 +
  height: 50px;
 +
  line-height: 50px;
 +
  padding-left: 5%;
 +
  color: white;
 +
  font-size: 1.8rem;
 +
  border-top: 1px solid #f2f2f2;
 +
}
 +
.cd-primary-nav > ul a:hover, .cd-primary-nav > ul a:active, .cd-primary-nav > ul a:focus  {
 +
  color: #F5636D;
 +
  font-weight: bold;
 +
  border-top-style: solid;
 +
  border-top-width: 3px;
 +
  border-top-color: #F5636D;
 +
  text-decoration: none;
 +
}
 +
@media only screen and (min-width: 1024px) {
 +
  .cd-primary-nav {
 +
    /* vertically align its content */
 +
    display: table;
 +
  }
 +
  .cd-primary-nav > ul {
 +
    /* vertically align inside parent element */
 +
    display: table-cell;
 +
    vertical-align: middle;
 +
    /* reset mobile style */
 +
    position: relative;
 +
    width: auto;
 +
    top: 0;
 +
    padding: 0;
 +
    background-color: transparent;
 +
    box-shadow: none;
 +
  }
 +
  .cd-primary-nav > ul::after {
 +
    clear: both;
 +
    content: "";
 +
    display: block;
 +
  }
 +
  .cd-primary-nav > ul li {
 +
    display: inline-block;
 +
    float: left;
 +
    margin-right: 1.5em;
 +
  }
 +
  .cd-primary-nav > ul li:last-of-type {
 +
    margin-right: 0;
 +
  }
 +
  .cd-primary-nav > ul a {
 +
    /* reset mobile style */
 +
    height: auto;
 +
    line-height: normal;
 +
    padding: 0;
 +
    border: none;
 +
  }
 +
}
 +
 +
.nav-open .cd-primary-nav ul,
 +
.cd-primary-nav ul:target {
 +
  /*
 +
    show primary nav - mobile only
 +
    :target is used to show navigation on no-js devices
 +
  */
 +
  display: block;
 +
}
 +
@media only screen and (min-width: 1024px) {
 +
  .nav-open .cd-primary-nav ul,
 +
  .cd-primary-nav ul:target {
 +
    display: table-cell;
 +
  }
 +
}
 +
 +
/* --------------------------------
 +
 +
2. Auto-Hiding Navigation - with Sub Nav
 +
 +
-------------------------------- */
 +
.cd-secondary-nav {
 +
  overflow: hidden;
 +
  position: relative;
 +
  z-index: 1;
 +
  clear: both;
 +
  width: 100%;
 +
  height: 1.95vw;
 +
  background-color: white;
 +
  /* Force Hardware Acceleration */
 +
  -webkit-transform: translateZ(0);
 +
          transform: translateZ(0);
 +
  will-change: transform;
 +
  -webkit-transition: -webkit-transform .5s;
 +
  transition: -webkit-transform .5s;
 +
  transition: transform .5s;
 +
  transition: transform .5s, -webkit-transform .5s;
 +
}
 +
.cd-secondary-nav::after {
 +
  /* gradient on the right - to indicate it's possible to scroll */
 +
  content: '';
 +
  position: absolute;
 +
  z-index: 1;
 +
  top: 0;
 +
  right: 0;
 +
  height: 100%;
 +
  width: 1.365vw;
 +
  background: transparent;
 +
  background: -webkit-linear-gradient(right, #25283D, rgba(37, 40, 61, 0));
 +
  background: linear-gradient(to left, #25283D, rgba(37, 40, 61, 0));
 +
  pointer-events: none;
 +
  -webkit-transition: opacity .2s;
 +
  transition: opacity .2s;
 +
}
 +
.cd-secondary-nav.nav-end::after {
 +
  opacity: 0;
 +
}
 +
.cd-secondary-nav ul, .cd-secondary-nav li, .cd-secondary-nav a {
 +
  height: 100%;
 +
}
 +
.cd-secondary-nav ul {
 +
  /* enables a flex context for all its direct children */
 +
  display: -webkit-box;
 +
  display: -webkit-flex;
 +
  display: -ms-flexbox;
 +
  display: flex;
 +
  padding: 0 5%;
 +
  /*overflow-x: auto;
 +
  overflow-y: hidden;*/
 +
  -webkit-overflow-scrolling: touch;
 +
}
 +
.cd-secondary-nav ul::after {
 +
  clear: both;
 +
  content: "";
 +
  display: block;
 +
}
 +
.cd-secondary-nav li {
 +
  display: inline-block;
 +
  float: left;
 +
  /* do not shrink - elements float on the right of the element */
 +
  -webkit-flex-shrink: 0;
 +
      -ms-flex-negative: 0;
 +
          flex-shrink: 0;
 +
}
 +
.cd-secondary-nav li:last-of-type {
 +
  padding-right: 20px;
 +
}
 +
.cd-secondary-nav a {
 +
  display: block;
 +
  color: slategray;
 +
  opacity: .6;
 +
  line-height: 50px;
 +
  padding: 0 1em;
 +
}
 +
.cd-secondary-nav a:hover, .cd-secondary-nav a.active {
 +
  opacity: 1;
 +
}
 +
@media only screen and (min-width: 1024px) {
 +
  .cd-secondary-nav {
 +
    height: auto;
 +
    overflow: visible;
 +
  }
 +
  .cd-secondary-nav ul {
 +
    /* reset mobile style */
 +
    display: block;
 +
    text-align: center;
 +
  }
 +
  .cd-secondary-nav li {
 +
    /* reset mobile style */
 +
    float: none;
 +
    -webkit-flex-shrink: 1;
 +
        -ms-flex-negative: 1;
 +
            flex-shrink: 1;
 +
  }
 +
  .cd-secondary-nav a {
 +
    line-height: 70px;
 +
  }
 +
  .cd-secondary-nav a.active {
 +
    box-shadow: inset 0 -3px #8F3985;
 +
  }
 +
}
 +
 +
/* --------------------------------
 +
 +
3. Auto-Hiding Navigation - with Sub Nav + Hero Image
 +
 +
-------------------------------- */
 +
.cd-secondary-nav.fixed {
 +
  position: fixed;
 +
  top: 60px;
 +
}
 +
.cd-secondary-nav.slide-up {
 +
  -webkit-transform: translateY(-60px);
 +
      -ms-transform: translateY(-60px);
 +
          transform: translateY(-60px);
 +
}
 +
@media only screen and (min-width: 1024px) {
 +
  .cd-secondary-nav.fixed {
 +
    top: 80px;
 +
    /* fixes a bug where nav and subnab move with a slight delay */
 +
    box-shadow: 0 -6px 0 #25283D;
 +
  }
 +
  .cd-secondary-nav.slide-up {
 +
    -webkit-transform: translateY(-80px);
 +
        -ms-transform: translateY(-80px);
 +
            transform: translateY(-80px);
 +
  }
 +
}
 +
 +
/* --------------------------------
 +
 +
Main content
 +
 +
-------------------------------- */
 +
.cd-main-content {
 +
  padding: 60px 5% 2em;
 +
  overflow: hidden;
 +
}
 +
.cd-main-content.sub-nav {
 +
  /* to be used if there is sub nav */
 +
  padding-top: 110px;
 +
}
 +
.cd-main-content.sub-nav-hero {
 +
  /* to be used if there is hero image + subnav */
 +
  padding-top: 0;
 +
}
 +
.cd-main-content.sub-nav-hero.secondary-nav-fixed {
 +
  margin-top: 50px;
 +
}
 +
.cd-main-content p {
 +
  max-width: 1024px;
 +
  line-height: 1.6;
 +
  margin: 2em auto;
 +
  font-family: "David Libre", serif;
 +
  color: #a5a8a9;
 +
}
 +
@media only screen and (min-width: 1024px) {
 +
  .cd-main-content {
 +
    padding-top: 80px;
 +
  }
 +
  .cd-main-content.sub-nav {
 +
    padding-top: 150px;
 +
  }
 +
  .cd-main-content.sub-nav-hero.secondary-nav-fixed {
 +
    margin-top: 70px;
 +
  }
 +
  .cd-main-content p {
 +
    font-size: 2.4rem;
 +
  }
 +
}
 +
 +
/*
 +
  adjust the positioning of in-page links
 +
  http://nicolasgallagher.com/jump-links-and-viewport-positioning/
 +
*/
 +
.cd-main-content.sub-nav :target::before,
 +
.cd-main-content.sub-nav-hero :target::before {
 +
  display: block;
 +
  content: "";
 +
  margin-top: -50px;
 +
  height: 50px;
 +
  visibility: hidden;
 +
}
 +
@media only screen and (min-width: 1024px) {
 +
  .cd-main-content.sub-nav :target::before,
 +
  .cd-main-content.sub-nav-hero :target::before {
 +
    margin-top: -70px;
 +
    height: 70px;
 +
  }
 +
}
 +
 +
/* --------------------------------
 +
 +
Intro Section
 +
 +
-------------------------------- */
 +
.cd-hero {
 +
  /* vertically align its content */
 +
  display: table;
 +
  width: 100%;
 +
  margin-top: 60px;
 +
  height: 300px;
 +
  background: url(../img/cd-hero-background.jpg) no-repeat center center;
 +
  background-size: cover;
 +
}
 +
.cd-hero .cd-hero-content {
 +
  /* vertically align inside parent element */
 +
  display: table-cell;
 +
  vertical-align: middle;
 +
  text-align: center;
 +
}
 +
@media only screen and (min-width: 768px) {
 +
  .cd-hero {
 +
    height: 400px;
 +
  }
 +
}
 +
@media only screen and (min-width: 1024px) {
 +
  .cd-hero {
 +
    height: 600px;
 +
    margin-top: 80px;
 +
  }
 
}
 
}
  
Line 746: Line 1,123:
 
}
 
}
 
.landing{
 
.landing{
   font-family: 'Baloo Bhaina', cursive;
+
  position: relative;
 +
   font-family: 'Ubuntu', sans-serif;
 
   background-color: #404855;
 
   background-color: #404855;
   height: 80vh;
+
   padding: 15vh;
   padding-top: 5vh;
+
   margin-bottom: -2vh;
 +
  overflow: hidden;
 +
}
 +
.changingcircles{
 +
  display: flex;
 +
  flex-flow: column;
 +
  align-items: center;
 
}
 
}
 
  #circle1 {
 
  #circle1 {
 
   position: relative;
 
   position: relative;
  right: 400px;
+
    right: 3vw;
     width: 50px;
+
     width: 4vw;
     height: 50px;
+
     height: 4vw;
     -webkit-border-radius: 23px;
+
     -webkit-border-radius: 50%;
     -moz-border-radius: 23px;
+
     -moz-border-radius: 50%;
     border-radius: 23px;
+
     border-radius: 50%;
 
     background: #F9EC69;
 
     background: #F9EC69;
 
   }
 
   }
 
   #circle2 {
 
   #circle2 {
 
     position: relative;
 
     position: relative;
     right: 450px;
+
     right: 11vw;
     width: 50px;
+
     width: 4vw;
     height: 49px;
+
     height: 4vw;
     -webkit-border-radius: 30px;
+
     -webkit-border-radius: 50%;
     -moz-border-radius: 30px;
+
     -moz-border-radius: 50%;
     border-radius: 30px;
+
     border-radius: 50%;
 
     background: #F9EC69;
 
     background: #F9EC69;
 
   }
 
   }
 
   #circle3 {
 
   #circle3 {
 
   position: relative;
 
   position: relative;
   right: 290px;
+
   left: 3vw;
     width: 51px;
+
     width: 4vw;
     height: 50px;
+
     height: 4vw;
     -webkit-border-radius: 26px;
+
     -webkit-border-radius: 50%;
     -moz-border-radius: 26px;
+
     -moz-border-radius: 50%;
     border-radius: 26px;
+
     border-radius: 50%;
 
     background: #F9EC69;
 
     background: #F9EC69;
 
   }   
 
   }   
 
   #circle4 {
 
   #circle4 {
 
   position: relative;
 
   position: relative;
   left: 519px;
+
   left: 7vw;
     width: 51px;
+
     width: 4vw;
     height: 50px;
+
     height: 4vw;
     -webkit-border-radius: 26px;
+
     -webkit-border-radius: 50%;
     -moz-border-radius: 26px;
+
     -moz-border-radius: 50%;
     border-radius: 26px;
+
     border-radius: 50%;
 
     background: #F9EC69;
 
     background: #F9EC69;
 
   }
 
   }
 
   #circle5 {
 
   #circle5 {
 
   position: relative;
 
   position: relative;
  left: 300px;
+
     width: 4vw;
     width: 51px;
+
     height: 4vw;
     height: 50px;
+
     -webkit-border-radius: 50%;
     -webkit-border-radius: 26px;
+
     -moz-border-radius: 50%;
     -moz-border-radius: 26px;
+
     border-radius: 50%;
     border-radius: 26px;
+
 
     background: #F9EC69;
 
     background: #F9EC69;
 
   }
 
   }
 
   #circle6 {
 
   #circle6 {
 
   position: relative;
 
   position: relative;
  left: 400px;
+
    left: 14vw;
     width: 51px;
+
     width: 4vw;
     height: 50px;
+
     height: 4vw;
     -webkit-border-radius: 26px;
+
     -webkit-border-radius: 50%;
     -moz-border-radius: 26px;
+
     -moz-border-radius: 50%;
     border-radius: 26px;
+
     border-radius: 50%;
 
     background: #F9EC69;
 
     background: #F9EC69;
 
   }
 
   }
Line 815: Line 1,198:
 
   position: relative;
 
   position: relative;
 
   top: 35px;
 
   top: 35px;
 +
  font-weight: bold;
 
   padding-left: 15px;
 
   padding-left: 15px;
 
   color: #F5636D;
 
   color: #F5636D;
   font-size: 64px;
+
   font-size: 4vw;
 
   font-style: underline;
 
   font-style: underline;
 +
}
 +
.landing #title {
 +
  bottom: 5vw;
 +
  font-size: 2vw;
 +
  color: #F5636D;
 +
  font-weight: bold;
 +
  text-align: center;
 
}
 
}
 
.landing .btn-danger{
 
.landing .btn-danger{
Line 836: Line 1,227:
 
}
 
}
 
.project-logo{
 
.project-logo{
 +
  position: relative;
 
   display: flex;
 
   display: flex;
   flex: column;
+
   align-items: center;
 +
  justify-content: center;
 +
  font-size: ;
 
}
 
}
 
+
.project-logo svg{
.jumbotron .project-logo svg{
+
  width: 30vw;
height: ;
+
 
}
 
}
 
 
.wcontent-box{
 
.wcontent-box{
 
   margin: 7.5vh 12.5vw;
 
   margin: 7.5vh 12.5vw;
Line 853: Line 1,245:
 
}
 
}
 
.wcontent-title{
 
.wcontent-title{
 +
  align-items: center;
 +
  text-transform: uppercase;
 
  background-color: #404855;
 
  background-color: #404855;
 
  color: #F5636D;
 
  color: #F5636D;
  font-size: 22px;
+
  font-size: 28px;
/*  color: white; */
+
 
  padding: 15px;
 
  padding: 15px;
/*  border-top-style: solid;
 
border-top-width: 3px;
 
border-top-color: dodgerblue; */
 
 
}
 
}
 +
 
.wcontent{
 
.wcontent{
 
   background-color: white;
 
   background-color: white;
 
   color: #141823;
 
   color: #141823;
   padding: 30px;
+
   padding: 40px;
 +
}
 +
 
 +
.wcontent p{
 +
  line-height: 2;
 +
  font-size: 1.7rem !important;
 +
  font-family: 'Ubuntu', sans-serif !important;
 +
}
 +
/*  Made this specifically for the parts page and the protocols page, which need less padding. */
 +
.wcontent_alt{
 +
  background-color: white;
 +
  color: #141823;
 +
  padding: 10px;
 
}
 
}
  
Line 877: Line 1,280:
 
}
 
}
 
.initial-bar{
 
.initial-bar{
   background-color:rgba(27,24,24, 0.4);
+
   background-color:rgb(39, 40, 34);
 
   box-shadow: 0px 2px 3px #2a2e2f;
 
   box-shadow: 0px 2px 3px #2a2e2f;
   line-height: 40px !important ;   
+
   height: 8vh;   
 +
}
 +
nav .button-toggle{
 +
  background-color: white;
 
}
 
}
 
.navbar{
 
.navbar{
Line 885: Line 1,291:
 
}
 
}
 
.navbar-nav > li > a{
 
.navbar-nav > li > a{
  color: white;
 
 
   padding-top: 18px;
 
   padding-top: 18px;
 
   transition-duration: 0.1s;
 
   transition-duration: 0.1s;
Line 891: Line 1,296:
  
 
}
 
}
 +
 +
.navbar-toggle .icon-bar{
 +
  background-color: white;
 +
}
 +
 
.initial-bar .navbar-nav > li > a:hover{
 
.initial-bar .navbar-nav > li > a:hover{
 
     background-color: rgba(0,0,0,0);
 
     background-color: rgba(0,0,0,0);
Line 927: Line 1,337:
 
   margin: auto;
 
   margin: auto;
 
}
 
}
 +
 +
.precard{
 +
  display:flex;
 +
  flex-flow: row wrap;
 +
  padding: 55px;
 +
}
 +
.team-card{
 +
  position: relative;
 +
  z-index: 1;
 +
  margin: 3vw;
 +
  /* width: 25vw; */
 +
}
 +
.card-desc{
 +
  transition-timing-function: linear;
 +
  transition-duration: 1s;
 +
  padding: 110px 50px 50px 50px;
 +
  width: 100%;
 +
  height: 450px;
 +
  background-color: white;
 +
}
 +
.monster{
 +
  padding-top: 20px;
 +
  color:#F5636D;
 +
  font-size: 24px;
 +
  padding-left: 75%;
 +
  padding-right: 15px;
 +
  padding-bottom: 10px;
 +
  background-color: #404855;
 +
}
 +
 +
.monster p {
 +
  font-size: 1.5rem;
 +
}
 +
.person-program{
 +
  color: #F5636D;
 +
  font-size: 16px;
 +
}
 +
.person-labteam{
 +
  color: #3f7f7f;
 +
  font-size: 19px;
 +
}
 +
 +
.person-desc{
 +
  color: #777777;
 +
  font-size: 14px;
 +
}
 +
.urinacircle{
 +
  z-index: 2;
 +
  position: absolute;
 +
  top: -35px;
 +
  margin-left: 15px;
 +
  background-color: #cccccc;
 +
  width: 60%;
 +
  max-width: 200px;
 +
  height: 0px;
 +
  max-height: 200px;
 +
  border-radius:50%;
 +
}
 +
.bigyou{
 +
  transition-timing-function: linear;
 +
  transition-duration: 1s;
 +
  padding: 110px 50px 50px 50px;
 +
  width: 100%;
 +
  height: 450px;
 +
  background-color: white;
 +
}
 +
 
.wcontent-box .wcontent-caption{
 
.wcontent-box .wcontent-caption{
 
   margin-top: 2vh;
 
   margin-top: 2vh;
Line 939: Line 1,416:
 
   margin: auto;
 
   margin: auto;
 
}
 
}
.img-train-5{
+
.train-5{
 
   width: 19%;
 
   width: 19%;
 
   display: inline-block;
 
   display: inline-block;
Line 968: Line 1,445:
 
.header-text {
 
.header-text {
 
   padding:5.5vw 5.5vw 5.5vw 5.5vw;
 
   padding:5.5vw 5.5vw 5.5vw 5.5vw;
 +
  opacity: 0.7;
 
   font-size: 8vw;
 
   font-size: 8vw;
 
   text-align:center;
 
   text-align:center;
Line 1,012: Line 1,490:
  
 
#footer {
 
#footer {
 +
  position:fixed;
 
   bottom:0;
 
   bottom:0;
 
   width:100%;
 
   width:100%;
 
   height:60px;  /* Height of the footer */
 
   height:60px;  /* Height of the footer */
 
   background:#6cf;
 
   background:#6cf;
 +
}
 +
@keyframes panning {
 +
  0% {
 +
    background-position: 0% 0%;
 +
  }
 +
  25% {
 +
    background-position: 100% 100%;
 +
  }
 +
  50% {
 +
    background-position: 100% 0%;
 +
  }
 +
  75% {
 +
    background-position: 0 100%;
 +
  }
 +
  200% {
 +
    background-position: 0 0;
 +
  }
 +
}
 +
.yeastpan {
 +
  position: relative;
 +
  height:30vh;
 +
  width:100%;
 +
  opacity:0.7;
 +
  background: black url(https://static.igem.org/mediawiki/2016/5/51/T--Waterloo--Yeast.jpg);
 +
  background-size: 200%;
 +
  display: flex;
 +
  align-items: center;
 +
  animation: panning 50s infinite linear;
 +
}
 +
.pan-text{
 +
  padding:5.5vw 5.5vw 5.5vw 5.5vw;
 +
  font-size: 4vw;
 +
  text-align:center;
 +
  font-family: 'Ubuntu', sans-serif;
 +
}
 +
span.pan-background{
 +
  background-color: white;
 +
}
 +
.test {
 +
  position: relative;
 +
  height: 300px;
 +
  width: 100%;
 +
  background: black url(http://unsplash.it/1900/1900/?random&blur);
 +
  background-size: 200%;
 +
  animation: panning 50s infinite linear;
 +
}
 +
.image-wide{
 +
  width:100%;
 +
}
 +
.yeastpan > .overlay {
 +
  position: absolute;
 +
  top: 0;
 +
  left: 0;
 +
  width: 100%;
 +
  height: 100%;
 +
  background: rgba(255,232,106, .3);
 +
  z-index: 10;
 +
}
 +
.overlay {
 +
  position: absolute;
 +
  top: 0;
 +
  left: 0;
 +
  width: 100%;
 +
  height: 100%;
 +
  background: rgba(255,232,106, .3);
 +
  z-index: 10;
 
}
 
}
  
 +
.text {
 +
  position: absolute;
 +
  top: 0;
 +
  left: 0;
 +
  right: 0;
 +
  bottom: 0;
 +
  z-index: 20;
 +
  height: 60px;
 +
  width: 290px;
 +
  margin: auto;
 +
  font-family: Roboto;
 +
  font-size: 34px;
 +
  color: white;
 +
  font-weight: 100;
 +
  text-align: center;
 +
  padding: 10px 40px;
 +
  border: 3px solid #ccc;
 +
  border-radius: 2px;
 +
  -webkit-font-smoothing: antialiased;
 +
}
 +
.tsc{
 +
  background: white;
 +
  padding-top: 3vh;
 +
  padding-bottom: 3vh;
 +
  padding-left: 3vw;
 +
  display: flex;
 +
  flex-flow: column;
 +
}
 +
.tsc-content{
 +
  display: flex;
 +
  align-items: center;
 +
}
 +
.tsc-content img{
 +
  width: 15vw;
 +
}
 +
 +
/* Footer things */
 +
 +
footer {
 +
  bottom: 0;
 +
  width: 100%;
 +
  padding: 0;
 +
  -webkit-box-shadow: inset 0 10px 15px -10px #424242;
 +
    -moz-box-shadow: inset 0 10px 15px -10px #424242;
 +
      -ms-box-shadow: inset 0 10px 15px -10px #424242;
 +
      -o-box-shadow: inset 0 10px 15px -10px #424242;
 +
          box-shadow: inset 0 10px 15px -10px #424242;
 +
  background: #2a2e33;
 +
  line-height: 2em;
 +
  color: #fff;
 +
  box-sizing: border-box;
 +
  text-align: center;
 +
}
 +
 +
footer .footer-company-motto {
 +
  color:  #8d9093;
 +
  font-size: 0.9em;
 +
  margin: 0;
 +
}
 +
 +
footer .footer-company-name {
 +
  color:  #8d9093;
 +
  font-size: 1.3em;
 +
  margin: 0;
 +
}
 +
footer .footer-links {
 +
  list-style: none;
 +
  padding: 1.5em 0 0;
 +
  margin: 0;
 +
}
 +
 +
footer p.footer-links a {
 +
  display:inline-block;
 +
  text-decoration: none;
 +
  padding-right: 1.2em !important;
 +
  color:  #ffffff;
 +
  font-size: 0.8em;
 +
}
 +
 +
footer p.footer-links a:hover {
 +
    color: #23b593;
 +
}
 +
 +
/* If you don't want the footer to be responsive, remove these media queries */
 +
 +
@media (max-width: 1000px) {
 +
    footer .footer-company-motto .footer-company-name .footer-links {
 +
        font-size: 1.2em;
 +
    }
 +
    footer .footer-links a {
 +
        padding: 25px 0 20px;
 +
        line-height: 1.8;
 +
    }
 +
}
 +
 +
blockquote {
 +
  border-left: 5px solid #23b593 !important;
 +
  font-size: 1.1em;
 +
  padding: 1em;
 +
  font-weight: bold;
 +
  color: #23b593;
 +
}
 +
.wcontent li{
 +
  font-size: 14px;
 +
}
 +
.clickmepls{
 +
  position:relative;
 +
  top:5vh;
 +
  background-color: #404855;
 +
  display: flex;
 +
  flex-flow: row;
 +
  justify-content: center
 +
}
 +
.medal{
 +
  position: relative;
 +
  align-items: center;
 +
  padding: 10vh 2vw 5vh 2vw;
 +
  background-color: #404855;
 +
  margin: 5vh;
 +
  position:relative;
 +
  height: auto;
 +
  width: 20vw ;
 +
 +
}
 +
.medal .wcontent-title{
 +
  position: absolute;
 +
  width: 100%;
 +
  background-color: white;
 +
  top: 0px;
 +
  left: 0px;
 +
  right: 0px;
 +
}
 +
.medal img{
 +
  width: 15vw;
 +
}
 +
@media (max-width: 976px){
 +
.landing #caption{
 +
    position: absolute;
 +
    top: -10vh;
 +
    right:0px;
 +
    left:0px;
 +
  }
 +
 
 +
}
 +
 +
.sticker {
 +
    position:fixed;
 +
    top:18vh;
 +
    right:2vw;
 +
}
 +
 +
#cd-navigation {
 +
  list-style: none;
 +
  margin: 0px;
 +
}
 +
 +
.secondary-nav {
 +
  list-style: none;
 +
}
 +
 +
@media only screen and (max-width: 1023px){
 +
  .mobile-menu {
 +
      background: #373B40 !important;
 +
  }
 +
 +
  .cd-secondary-nav {
 +
      display: none !important;
 +
  }
 +
 +
  ul.secondary-nav{
 +
      display: none !important;
 +
      visibility: hidden;
 +
  }
 +
 +
    #cd-navigation {
 +
      height: calc(100vh - 80px);
 +
      height: -moz-calc(100vh - 80px);
 +
      height: -o-calc(100vh - 80px);
 +
      height: -webkit-calc(100vh - 80px);
 +
      overflow-y: scroll;
 +
    }
 +
 +
  #cd-navigation li.show-secondary-nav > ul.secondary-nav{
 +
      display: block !important;
 +
      visibility: visible !important;
 +
  }
 +
   
 +
  .cd-primary-nav > ul ul a,
 +
  .cd-primary-nav > ul ul a:hover{
 +
      border-top: none;
 +
  }
 +
   
 +
  .cd-auto-hide-header.nav-open .nav-trigger em::before ,
 +
  .cd-auto-hide-header.nav-open .nav-trigger em::after{
 +
      background-color: #fff
 +
  }
 +
   
 +
  .cd-auto-hide-header .nav-trigger em::before,
 +
  .cd-auto-hide-header .nav-trigger em::after,
 +
  .cd-auto-hide-header .nav-trigger em{
 +
      background-color: #fff;
 +
  }
 +
   
 +
  .cd-auto-hide-header .nav-trigger{
 +
      color: #fff
 +
  }
 +
}
 +
 +
@media only screen and (min-width: 1024px){
 +
ul.secondary-nav{
 +
display: none !important;
 +
visibility: hidden !important;
 +
}
 +
}
 +
 +
.labsticker{
 +
  position: fixed;
 +
  top: 42vw;
 +
  left: 2vw;
 +
  background-color: #2590FF;
 +
  border-radius: 50%;
 +
  color: black;
 +
  height: 5vw;
 +
  width: 5vw;
 +
  font-size: .76vw;
 +
  display: flex;
 +
  justify-content: center;
 +
  align-items: center;
 +
  text-align: center;
 +
  font-weight: bold;
 +
  font-family: "Ubuntu";
 +
}
 +
.mathsticker{
 +
  position: fixed;
 +
  background-color: #FF2590;
 +
border-radius: 50%;
 +
  color: black;
 +
  top: 36vw;
 +
  left: 2vw;
 +
  height: 5vw;
 +
  width: 5vw;
 +
  font-size: .76vw;
 +
  display: flex;
 +
  justify-content: center;
 +
  align-items: center;
 +
  text-align: center;
 +
  font-weight: bold;
 +
  font-family: "Ubuntu";
 +
}
 +
.pnpsticker{
 +
  position: fixed;
 +
  background-color: #90ff25;
 +
border-radius: 50%;
 +
  color: black;
 +
  height: 5vw;
 +
  width: 5vw;
 +
  top: 30vw;
 +
  left: 2vw;
 +
  font-size: .76vw;
 +
  display: flex;
 +
  justify-content: center;
 +
  align-items: center;
 +
  text-align: center;
 +
  font-weight: bold;
 +
  font-family: "Ubuntu";
 +
}
  
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 04:59, 6 November 2016