Difference between revisions of "Team:NUS Singapore-A/Templates/Style"

 
(158 intermediate revisions by 3 users not shown)
Line 24: Line 24:
 
     padding: 0;
 
     padding: 0;
 
     margin: 0;
 
     margin: 0;
    background-color: white;
 
 
}
 
}
  
Line 34: Line 33:
 
}
 
}
  
#sideMenu,
 
#top_title {
 
    display: none;
 
}
 
#top_menu_inside {
 
    box-sizing: content-box;
 
}
 
#top_menu_14 {
 
    box-sizing: content-box;
 
}
 
#top_menu_under {
 
    box-sizing: content-box;
 
}
 
#bars_item img {
 
    vertical-align: baseline;
 
}
 
 
#content {
 
#content {
 
     width:100%;
 
     width:100%;
Line 63: Line 46:
 
     left: 0;     
 
     left: 0;     
 
     font-size: 100%;
 
     font-size: 100%;
    background-image: url("https://static.igem.org/mediawiki/2017/c/cc/T--Wageningen_UR--Team_background.jpg");
 
 
     z-index:0;
 
     z-index:0;
 
}
 
}
 
/* set all basic objects to neutral formatting, removes all padding, margins, etc and sets the fontsize to 100%*/
 
/* set all basic objects to neutral formatting, removes all padding, margins, etc and sets the fontsize to 100%*/
 +
  
 
h1,
 
h1,
 
h2,
 
h2,
 
h3,
 
h3,
h4,
+
h4
h5,
+
{
h6 {
+
     font-family: 'Arial', sans-serif;
     font-family: 'roboto', sans-serif !important;
+
 
     color: black;
 
     color: black;
 
     background: none;
 
     background: none;
 
     font-weight: normal;
 
     font-weight: normal;
 
     margin-bottom: 0;
 
     margin-bottom: 0;
     padding: 0;
+
     text-align: left;
 
     overflow: visible;
 
     overflow: visible;
 +
    border: none;
 
}
 
}
 
/*as a script gets a paragraph, by default, no formatting for p */
 
/*as a script gets a paragraph, by default, no formatting for p */
  
p {
+
 
    font-size: 1.1rem !important;
+
.caption-justify {
    font-family: 'roboto', sans-serif !important;
+
  text-align: justify;
    line-height:1.5;
+
  margin: 0 auto;
    text-align:left!important;
+
  width: 70%;
    color: #1d2129;
+
  font-style: italic;
 +
  font-size: 16px;
 
}
 
}
h1 {
+
 
     font-size: 3.0rem;
+
.reference {
     line-height: normal;
+
     font-family: Arial;
     padding-bottom: 1.4rem;
+
     font-size: 16px;
     margin-top: 3rem;
+
     font-weight: 100;
     text-align: center;
+
     line-height: 22px;
 +
     text-align: left;
 
}
 
}
h2 {
+
 
    font-size: 2.4rem;
+
.all-wrapper{
    line-height: normal;
+
  max-width: 1200px;
    border-bottom: 1px solid #aaa;
+
  position: relative;
    padding-bottom: 0.4rem;
+
  margin: auto;
    padding-top: 1.0rem;
+
  background-color: rgba(255, 255, 255, 1.0);
 
}
 
}
h3 {
+
 
    font-size: 1.8rem;
+
.content-wrapper{
    line-height: normal;
+
  width: 90%;
    padding-bottom: 0.4rem;
+
  position: relative;
    padding-top: 0.6rem;
+
  margin: auto;
 
}
 
}
h4 {
+
 
    font-size: 1.5rem;
+
.header{
    line-height: normal;
+
  width: 55%;
    padding-bottom: 0.4rem;
+
  height: auto;
    padding-top: 0.6rem;
+
  margin: auto;
 +
  display: block;
 +
 +
 
 +
.header:hover {
 +
  animation: shake 0.5s;
 +
  animation-iteration-count: infinite;
 
}
 
}
h5 {
+
 
    font-weight: bold;
+
@keyframes shake {
    line-height: normal;
+
  0% { transform: translate(1px, 1px) rotate(0deg); }
    font-size: 1.2rem;
+
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
    padding-bottom: 0rem;
+
  20% { transform: translate(-3px, 0px) rotate(1deg); }
    padding-top: 0rem;
+
  30% { transform: translate(3px, 2px) rotate(0deg); }
 +
  40% { transform: translate(1px, -1px) rotate(1deg); }
 +
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
 +
  60% { transform: translate(-3px, 1px) rotate(0deg); }
 +
  70% { transform: translate(3px, 1px) rotate(-1deg); }
 +
  80% { transform: translate(-1px, -1px) rotate(1deg); }
 +
  90% { transform: translate(1px, 2px) rotate(0deg); }
 +
  100% { transform: translate(1px, -2px) rotate(-1deg); }
 
}
 
}
  
  
.OurContent {
+
/********************* Add our own style here ********************************/
    font-size: 1.1rem;
+
 
    position: relative;
+
/****************************BASIC CSS STUFF ****************************************/
    top: -0.6rem;
+
h1 {
    padding-bottom: 100px;
+
    font-family: Arial;
 +
    font-size: 36px;
 +
    font-style: normal;
 +
    font-variant: normal;
 +
    font-weight: 700;
 +
    line-height: 38px;
 
}
 
}
.OurContent p {
+
h2 {
    padding-bottom: 0.6rem;
+
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
 +
    font-size: 28px;
 +
    font-style: normal;
 +
    font-variant: normal;
 +
    font-weight: 700;
 +
    line-height: 34px;
 
}
 
}
.Main-Center-Column {
+
 
    background-color: transparant;  
+
h3 {
 +
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
 +
    font-size: 24px;
 +
    font-style: normal;
 +
    font-variant: normal;
 +
    font-weight: 700;
 +
    line-height: 29px;
 
}
 
}
  
.Main-Left-Column {
+
h4 {
  padding:0;
+
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
 +
    font-size: 20px;
 +
    font-style: normal;
 +
    font-variant: normal;
 +
    font-weight: 700;
 +
    line-height: 29px;
 
}
 
}
  
.Main-Right-Column {
+
p, p~ul li, p~ol li, .row ul li{
  padding:0;
+
    font-family: Arial;
 +
    font-size: 20px;
 +
    font-style: normal;
 +
    font-variant: normal;
 +
    font-weight: 100;
 +
    line-height: 29px;
 +
    text-align: justify;
 
}
 
}
  
.Center-Content-Column {
+
blockquote {
    max-width: 980px;
+
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    margin: auto;
+
    font-size: 27px;
    clear: both;
+
    font-style: normal;
    position: relative;
+
    font-variant: normal;
    background-color: white;
+
    font-weight: 400;
 +
    line-height: 36px;
 
}
 
}
.Main-Border {
+
pre {
    box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.5);
+
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    max-width: 980px;
+
    font-size: 18px;
    margin: auto;
+
    font-style: normal;
    position: relative;  
+
    font-variant: normal;
    background-color: white;
+
    font-weight: 400;
    padding-left: 3.0rem;
+
    line-height: 36px;
    padding-right: 3.0rem;
+
    padding-bottom: 2.0rem;
+
    padding-top: 1rem;
+
 
}
 
}
.Main-Center-Content-Column {
+
.quote {
    max-width: 980px;
+
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    margin: auto;
+
    font-size: 24px;
     position: relative;
+
    font-style: italic;
     background-color: white;
+
    font-variant: small-caps;
 +
    font-weight: 400;
 +
    line-height: 36px;
 +
    width: 75%;
 +
    padding: 12px;
 +
    margin: auto auto;
 +
    text-align: center;
 +
    border-radius: 5%;
 +
    border: 1px solid #e2e2e2;
 +
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
 +
     -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
 +
     -moz-box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
 
}
 
}
.col-centered {
+
.quote:before{
    padding: 0;
+
    font-family:FontAwesome;
 +
    content: "\f10d";
 +
    float: left;
 +
    font-size: 32px;
 
}
 
}
.clearer {
+
.quote:after{
    clear: both;
+
    font-family:FontAwesome;
 +
    content: "\f10e";
 +
    float: right;
 +
    font-size: 32px;
 
}
 
}
.nested-ordered-list ol ol li {
+
@media only screen and (max-width: 700px) {
    margin-left: 2rem;
+
 
 +
h1 { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 19px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 19px; }
 +
 
 +
h2 { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 17px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 19px; }
 +
 +
h3 { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 19px; }
 +
 
 +
h4{ font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 13.5px; font-style: normal; font-variant: normal; font-weight: 100; line-height: 19px; }
 +
 
 +
p, p~ul li, p~ol li, .row ul li { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 100; line-height: 19px; }
 +
 
 +
blockquote { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 19px; }
 +
 
 +
pre { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 10px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 19px; }
 +
 
 +
.accordion{
 +
font-size: 12px !important;
 +
padding: 10px;
 
}
 
}
.nested-ordered-list ol {
+
.accordion:after {
    list-style-type: decimal;
+
  font-size: 20px !important;
 
}
 
}
.nested-ordered-list ol ol {
+
.active,
    list-style-type: lower-alpha;
+
.accordion:hover {
 +
  font: bold 12px "Montserrat", sans-serif;
 +
  background-color: #2980b9;
 
}
 
}
/*images and boxes */
+
.accordion-closer{
 +
  padding: 5px;
 +
  width: 12.0%;
 +
  font-size: 12px !important;
 +
  margin: 6px 0px;
 +
}
 +
.accordion-closer:hover {
 +
  font: bold 12px "Montserrat", sans-serif;
 +
  background-color: #a80d31;
 +
}
 +
.accordion-closer:after{
 +
  font-size: 20px !important;
 +
}
 +
table{
 +
  font-size: 10px !important;
 +
}
 +
.figures2 figcaption, .figures figcaption{
 +
  font-size: 11px;
 +
}
 +
 
 +
}
 +
 
 +
/********************** CSS FROM DESIGN *****************************************************/
  
.figure-center {
+
    .figures{
     width: 75%;
+
     margin: auto auto;
     margin: 0 auto;
+
    max-width: 80%;
 +
    }
 +
    .figures img{
 +
    display: inline-block;
 +
    }
 +
    .figures2{
 +
     margin: auto auto;
 +
    padding-left: 10px;
 +
    padding-right: 10px;
 +
    padding-top: 10px;
 +
    padding-bottom: 5px;
 +
    max-width: 85%;
 +
    }
 +
    .figures2 figcaption{
 +
    margin: 12px;
 +
    font-size: 16px;
 
     text-align: center;
 
     text-align: center;
 +
    font-style: italic;
 +
    }   
 +
    .figures2{
 +
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
 +
    -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
 +
    -moz-box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
 +
    }
 +
    .figures figcaption{
 +
    margin: 12px;
 +
    font-size: 16px;
 +
    text-align: center;
 +
    font-style: italic;
 +
    }
 +
    .no-italics {
 +
    font-style: normal; 
 +
    }
 +
 +
 +
 +
/****************************THIS IS CSS FROM INTERLAB*******************************/
 +
/* The accordion is the class given to the drop-down menu thingy */
 +
.accordion {
 +
  background-color: #3498db;
 +
  color: #fff;
 +
  cursor: pointer;
 +
  padding: 15px;
 +
  width: 100%;
 +
  text-align: left;
 +
  border: none;
 +
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
 +
  -moz-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
 +
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
 +
  outline: none;
 +
  /* I wanted to give a gradual change, but it's having some trouble reading the 'transition' property. I'll look into having it javascripted instead. */
 +
  /*  transition: 0.4s linear;    */
 +
  font-family: "Montserrat", sans-serif;
 +
  font-weight: 400;
 +
  font-size: 20px;
 +
  margin-bottom: 6px;
 
}
 
}
.figure-bordered-center {
+
 
    width: 75%;
+
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    margin: 0 auto;
+
.active,
    border: 1px solid #000000;
+
.accordion:hover {
 +
  font: bold 20px "Montserrat", sans-serif;
 +
  background-color: #2980b9;
 
}
 
}
.figure-center-imagebox {
+
 
    padding-top: 0.4rem;
+
/* Style the accordion panel. Note: hidden by default */
    padding-left: 0.4rem;
+
.panel {
    padding-right: 0.4rem;
+
  background-color: transparent;
    padding-bottom: 0rem;
+
  text-align: justify;
 +
  margin-top: 0;
 +
  max-height: 0;
 +
  overflow: hidden;
 +
  transition: max-height 0.2s ease-out;
 +
  max-width: 100%;
 
}
 
}
.figure-bordered-center-imagebox {
+
 
    padding-top: 0.4rem;
+
.accordion:after {
    padding-left: 0.4rem;
+
  font-family: FontAwesome;
    padding-right: 0.4rem;
+
  font-size: 27px;
    padding-bottom: 0rem;
+
  font-weight: 800;
    border: 1px solid #000000;
+
  color: #fff;
 +
  content: "\f067";
 +
  float: right;
 +
  margin-left: 5px;
 
}
 
}
.figure-center-img {
+
.active:after {
    width: 100%;
+
  font-family: FontAwesome;
    display: block;
+
  content: "\f068";
 
}
 
}
.figure-center-caption {
+
.accordion-closer{
    font-size: 0.8rem;
+
  background-color: #ed1144;
    padding-bottom: 0.8rem;
+
  color: #fff;
 +
  cursor: pointer;
 +
  outline: none;
 +
  padding: 8px;
 +
  width: 12.0%;
 +
  border-radius: 25px;
 +
  text-align: left;
 +
  border-color: transparent;
 +
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.23), 0px 3px 6px rgba(0, 0, 0, 0.32);
 +
  -moz-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.23), 0px 3px 6px rgba(0, 0, 0, 0.32);
 +
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.23), 0px 3px 6px rgba(0, 0, 0, 0.32);
 +
  font-family: "Montserrat", sans-serif;
 +
  font-weight: 400;
 +
  font-size: 20px;
 +
  margin: 6px 0px;
 
}
 
}
.figure-bordered-center-caption {
+
.accordion-closer:hover {
    padding: 0.4rem;
+
  font: bold 20px "Montserrat", sans-serif;
    border: 1px solid #000000;
+
  background-color: #a80d31;
 
}
 
}
.figure-fullwidth {
+
.accordion-closer:after{
    width: 100%;
+
  font-family: FontAwesome;
    margin: 0 auto;
+
  font-size: 27px;
    text-align: center;
+
  content:"\f00d";
 +
  float: right;
 +
  margin-left: 5px;
 
}
 
}
.figure-center-accordion {
+
table,
    width: 100%;
+
th,
    margin: 0 auto;
+
td {
    text-align: center;
+
  border: none;
 +
  border-collapse: collapse;
 +
}
 +
table {
 +
  font-family: "Arial";
 +
  font-size: 18px;
 +
  margin-left: auto;
 +
  margin-right: auto;
 +
  max-width: 95%;
 
}
 
}
  
.inline-img-left {
+
th,
  padding-top:0;
+
td {
  padding-bottom:0;
+
  text-align: left;
  padding-right:0.8rem;
+
  padding: 3px;
  padding-left:0;
+
 
}
 
}
  
.inline-img-right {
+
img {
  float:right;
+
  display: block;
  padding-right:0rem;
+
  margin-left: auto;
  padding-top:0;
+
  margin-right: auto;
  padding-bottom:0;
+
  max-width:100%;
  padding-left:0.8rem;
+
 
}
 
}
  
.sponsor-img {
+
.graph,
    width:100%;
+
.measurement_table {
 +
  width: 70%;
 +
  height: auto;
 +
  margin: auto;
 
}
 
}
  
Video {
+
.interlab-header {
  width:100%;
+
  width: 47.5%;
  max-width:900px;
+
  height: auto;
  padding-top:2rem;
+
  margin: auto;
  padding-bottom:2rem;
+
}
 +
.center-justified {
 +
  text-align: justify;
 +
  margin: 0 auto;
 +
  width: 70%;
 
}
 
}
  
 +
/**********************
 +
    Start of two columns */
 +
* {
 +
  box-sizing: border-box;
 +
}
  
.YoutubeVideo {
+
/* Create two columns that floats next to each other */
    margin-left: auto;
+
.column {
    margin-right: auto;
+
  float: left;
    width: 50%;
+
  text-align: left;
    margin-top: 2rem;
+
    margin-bottom: 2rem;
+
 
}
 
}
/*Bootstrap accordion titles */
 
  
.panel-title {
+
.left {
    padding-bottom: .8rem;
+
  width: 48%;
 +
  margin-right: 2%;
 
}
 
}
/*Accordion box formatting*/
 
/*Accordion panel heading text formatting*/
 
  
.panel-heading h4 {
+
.right {
    padding-top: .5rem;
+
  width: 48%;
    padding-bottom: .17rem;
+
  margin-left: 2%;
    margin: 0;
+
    font-weight: 500;
+
    line-height: 1.1;
+
    font-size: 1.25rem;
+
    overflow: hidden;
+
    text-align: left;
+
    direction: ltr;
+
 
}
 
}
.Title-centered {
+
 
    text-align: center;
+
/* Clear floats after the columns */
 +
.row:after {
 +
  content: "";
 +
  display: table;
 +
  clear: both;
 
}
 
}
.Textbox {
+
.video-landscape{
    margin-top: 0.2rem;
+
width: 80%;
    margin-bottom: 0.2rem;
+
height: auto;
    font-size: 1.2rem;
+
margin: auto auto;
 
}
 
}
.Textbox-Left {
+
.video-portrait{
    width: 50%;
+
width: 30%;
    margin-top: 0.2rem;
+
height: auto;
    margin-bottom: 0.2rem;
+
margin: auto auto;
    font-size: 1.2rem;
+
    float: left;
+
 
}
 
}
.Textbox-Right {
+
video{
    width: 50%;
+
width: 100%;
    margin-top: 0.2rem;
+
height: auto;
    margin-bottom: 0.2rem;
+
    font-size: 1.2rem;
+
    float: right;
+
 
}
 
}
.Textbox-center {
+
 
 +
/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
 +
@media screen and (max-width: 800px) {
 +
    .column {
 +
        width: 100%;
 +
        margin: 15px;
 +
    }
 +
}
 +
 
 +
/********************
 +
    End of two columns */
 +
 
 +
/**************************************CSS FOR NOTEBOOK***************************************************/
 +
 
 +
 
 +
    img {
 +
        display: block;
 +
        margin-left: auto;
 +
        margin-right: auto;
 +
    }
 +
 
 +
    .discussion_graph, .measurement_table{
 +
        width: 70%;
 +
        height: auto;
 +
        margin: auto;
 +
    }
 +
 
 +
    .tablinks{
 +
    cursor: pointer;
 +
    }
 +
    .months-container{
 +
    text-align: justify;
 +
    margin:6px 18% 6px 18%;
 +
    }
 +
    .months-container div{
 +
    width: auto;
 +
    margin: 0 2px 2px 0;
 
     text-align: center;
 
     text-align: center;
     margin-top: 0.2rem;
+
     font-family: "Montserrat";
     margin-bottom: 0.2rem;
+
     font-size: 18px;
     font-size: 1.2rem;
+
    display:inline-block;
 +
    }
 +
    .months-container:after{
 +
    content: '';
 +
     width: 100%; /* Ensures there are at least 2 lines of text, so justification works */
 +
    display: inline-block;
 +
    }
 +
 
 +
 
 +
/* Fade in tabs */
 +
@-webkit-keyframes fadeEffect {
 +
    from {opacity: 0;}
 +
    to {opacity: 1;}
 
}
 
}
a.anchor {
+
 
     display: block;
+
@keyframes fadeEffect {
     position: relative;
+
     from {opacity: 0;}
    top: -16px;
+
     to {opacity: 1;}
    visibility: hidden;
+
 
}
 
}
/*bullet points properties */
 
  
ul {
+
/**************************THIS IS CSS FOR SAFETY*************************************/
    list-style-position: inside;
+
 
    list-style-image: none;
+
.pictures{
 +
  width: 50px;
 +
  height: 50px;
 +
  background-color: grey;
 
}
 
}
.nested-ordered-list ol ol li {
+
 
    margin-left: 2rem;
+
 
 +
/*****************************CSS FROM EXPERT INT *******************************************/
 +
.carousel-3d-slide {
 +
      height: auto !important;
 +
      background-color: rgba(0, 0, 0, 0.25) !important;
 
}
 
}
.nested-ordered-list ol {
+
.carousel-3d-container figure {
    list-style-type: decimal;
+
  margin:0;
    list-style-position: inside;
+
 
}
 
}
.nested-ordered-list ol ol {
+
.carousel-3d-container figcaption {
    list-style-type: lower-alpha;
+
  position: absolute;
 +
  background-color: rgba(0, 0, 0, 0.5);
 +
  color: #fff;
 +
  bottom: 0;
 +
  position: absolute;
 +
  bottom: 0;
 +
  padding: 15px;
 +
  font-size: 12px;
 +
  min-width: 100%;
 +
  box-sizing: border-box;
 
}
 
}
 +
/***********************************END OF STYLING FOR CAROUSEL*******************************/
 +
   
 +
    /* Style the tab */
  
 +
/* Style the tab boxes */
 +
.sponsor-boxes{
 +
  vertical-align: 50%;
 +
  margin: auto auto;
 +
  outline: none;
 +
  border: none;
 +
  cursor: pointer;
 +
  padding: 0px;
 +
  background-color: inherit;
  
/*specific elements that do not have their own dedicated css file */
+
}
  
.TeamPageColumn p {
+
/* Style the img inside the buttons */
    margin-left: 20px;
+
.sponsors-overview-rows button img{
    margin-right: 20px;
+
  max-height:100%;
    margin-top: 20px;
+
  max-width:100%;
    margin-bottom: 20px;
+
 
}
 
}
.FooterWrapper {
+
 
    position: absolute;
+
/* Create an active/current tablink class */
    bottom: -20px;
+
.sponsors-overview-rows button.active {
    text-align: center;
+
     background-color: transparent;
    width: 100%;
+
    height: 120px;
+
    padding: 0!important;
+
     background-color: white;  
+
 
}
 
}
.FooterImage {
+
 
    position: absolute;
+
.tabcontent-wrapper{
    bottom: 0px;
+
  text-align: justify;
    width: 100%;
+
  max-width: 100%;
    height: 100px;
+
  background-color: rgba(255, 255, 255, 0.6);
    padding: 0!important;   
+
    background-image: url(https://static.igem.org/mediawiki/2017/6/66/Mantis--Wiki_Footer.png);
+
    background-color: white;
+
    background-position: 0% 0%;
+
    background-repeat: repeat-x;
+
 
}
 
}
  
.FooterMainColumn {  
+
/* Style the tab content */
     position: relative;
+
.tabcontent {
 +
     display: none;
 +
    max-width: 85%;
 +
    height: auto;
 +
    margin: auto auto;
 +
}
 +
 
 +
.sponsor-pic{
 +
  display: flex;
 +
  width: 235px;
 +
  max-width: 235px;
 +
  height: auto;
 +
  position: absolute;
 +
  top: 0;
 +
  left: 0;
 +
}
 +
.sponsor-description{
 +
  display: flex;
 +
  margin-left: 16px;
 +
  line-height: normal;
 +
  text-align: justify;
 +
}
 +
 
 +
/*************************************CSS FOR COLLAB *********************************/
 +
 
 +
.collab-content{
 +
  text-align: justify;
 +
}
 +
.collab-img-center{
 +
  display: block;
 +
  max-width: 60%;
 +
  height: auto;
 +
  margin: 12px auto 3px auto;
 +
}
 +
 
 +
/*********************************CSS FOR PUBLIC ENGAGEMENT*****************************/
 +
 
 +
 
 +
    .button-things{
 +
    vertical-align: -50%;
 
     height: 100%;
 
     height: 100%;
     background-color: transparent;
+
     background: none;
     padding: 0!important;
+
    color: inherit;
 +
    border: none;
 +
     padding: 0;
 +
    font: inherit;
 +
    cursor: pointer;
 +
    outline: inherit;
 +
    }
 +
 
 +
    .column {
 +
 
 +
        background-color: inherit;
 +
    }
 +
    .column h1{
 +
    border-bottom:none;
 +
    padding-left: 0px;
 +
    }
 +
 
 +
/************************************CSS FOR TEAM *******************************************/
 +
 
 +
.members-gallery{
 +
  max-width: 80%;
 +
  position: relative;
 +
  margin: auto;
 +
  padding: 10px;
 
}
 
}
#Footer {
+
.members-gallery img{
     position: relative;
+
  max-width: 100%;
 +
}
 +
.overlay{
 +
  position: absolute;
 +
}
 +
.nanda{
 +
  position: absolute;
 +
  top: 4.5%;
 +
  left: 42.5%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.ting2{
 +
  position: absolute;
 +
  top: 21%;
 +
  left: 29%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.marcus{
 +
  position: absolute;
 +
  top: 21%;
 +
  left: 56.5%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.rita{
 +
  position: absolute;
 +
  top: 28.5%;
 +
  left: 14%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.walter{
 +
  position: absolute;
 +
  top: 28.5%;
 +
  left: 72%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.liyana{
 +
  position: absolute;
 +
  top: 37%;
 +
  left: 42.5%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.aaronl{
 +
  position: absolute;
 +
  top: 49%;
 +
  left: 26.5%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.russell{
 +
  position: absolute;
 +
  top: 49%;
 +
  left: 58.5%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.hyhy{
 +
  position: absolute;
 +
  top: 54.5%;
 +
  left: 9.5%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.ryan{
 +
  position: absolute;
 +
  top: 54.5%;
 +
  left: 76%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.beatrix{
 +
  position: absolute;
 +
  top: 65%;
 +
  left: 42.5%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.jiacheng{
 +
  position: absolute;
 +
  top: 75%;
 +
  left: 27%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
.me{
 +
  position: absolute;
 +
  top: 75%;
 +
  left: 59%;
 +
  width: 12%;
 +
  height: 21.5%;
 +
  cursor: pointer;
 +
}
 +
 
 +
/* The Modal (background) */
 +
.modal {
 +
    display: none; /* Hidden by default */
 +
    position: fixed; /* Stay in place */
 +
    z-index: 1; /* Sit on top */
 +
    left: 0;
 +
    top: 0;
 +
    width: 100%; /* Full width */
 +
    height: 100%; /* Full height */
 +
    overflow: auto; /* Enable scroll if needed */
 +
    background-color: rgb(0,0,0); /* Fallback color */
 +
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
 +
}
 +
 
 +
/* Modal Content/Box */
 +
.profile-content {
 +
    margin: 5% auto; /* 10% from the top and centered */
 +
    padding: 2.5%;
 +
    border: 2px solid
 +
      rgba(133,133,133,.15);
 +
    background-color: #fff;
 +
    -moz-box-shadow: 0 0 8px rgba(0,0,0,.09);
 +
    -webkit-box-shadow: 0 0 8px rgba(0,0,0,.09);
 +
    box-shadow: 0 0 8px rgba(0,0,0,.09);
 +
    width: 100%; /* Could be more or less, depending on screen size */
 +
}
 +
.the-middle {
 +
  height:1px;
 +
  position: relative;
 +
}
 +
/* The Close Button */
 +
.close {
 +
     color: #aaa;
 +
    float: right;
 +
    font-size: 28px;
 +
    font-weight: bold;
 +
}
 +
 
 +
.close:hover,
 +
.close:focus {
 +
    color: black;
 +
    text-decoration: none;
 +
    cursor: pointer;
 +
}
 +
.profile{
 +
  display: flex;
 +
  flex-direction: row;
 +
  justify-content: center;
 +
  align-items: flex-start;
 +
  justify-content: space-evenly;
 +
 
 +
}
 +
.profile-description{
 +
  display: flex;
 +
  flex-wrap: no-wrap;
 +
  flex-grow: 3;
 +
  flex-direction: column;
 +
  justify-content: space-between;
 +
  text-align: justify;
 +
  max-width: 80%;
 +
}
 +
.profile-description h2{
 +
  font-family: 'Montserrat';
 +
  font-weight: 600;
 +
}
 +
.profile-title{
 +
  margin: auto auto 10px -15px;
 +
  padding-right:35px;
 +
  border-bottom: 1px solid black;
 +
}
 +
.profile-description-item{
 +
  display:flex;
 +
  padding: 0px;
 +
  margin: 0px;
 +
}
 +
.profile-picture{
 +
  margin-right: 15px;
 +
  position: relative;
 +
  text-align: center;
 +
  color: #fff;
 +
  display: flex;
 +
  flex-grow: 1;
 +
  flex-basis: 0;
 +
}
 +
.namecard{
 +
  line-height: 80%;
 +
  padding: none;
 +
}
 +
.namecard h1{
 +
  font-family: 'Montserrat';
 +
  font-weight: 600;
 +
  border: none;
 +
}
 +
.namecard p{
 +
  font-family: 'lora';
 +
  font-weight: 700;
 +
  font-style: italic;
 +
}
 +
.portrait1{
 +
  height: 360px;
 +
  width: 250px;
 +
  border: 1px solid #aaa;
 +
  border-radius: .5%;
 +
  background-size: cover;
 +
  background-repeat: no-repeat;
 +
  background-position: center;
 +
}
 +
.portrait_jc{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/1/18/T--NUS_Singapore-A--Jiacheng_formal.jpg");
 +
}
 +
.portrait_jc:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/1/12/T--NUS_Singapore-A--Jiacheng_informal.jpg");
 +
}
 +
.portrait_nanda{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/7/74/T--NUS_Singapore-A--Nanda_formal.jpg");
 +
}
 +
.portrait_nanda:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/f/fc/T--NUS_Singapore-A--Nanda_informal.jpg");
 +
}
 +
.portrait_ting2{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/0/07/T--NUS_Singapore-A--Tingting_formal.jpg");
 +
}
 +
.portrait_ting2:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/c/c2/T--NUS_Singapore-A--Tingting_informal.jpg");
 +
}
 +
.portrait_marcus{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/7/7c/T--NUS_Singapore-A--Marcus_formal.jpg");
 +
}
 +
.portrait_marcus:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/5/56/T--NUS_Singapore-A--Marcus_informal.jpg");
 +
}
 +
.portrait_rita{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/b/be/T--NUS_Singapore-A--Rita_formal.jpg");
 +
}
 +
.portrait_rita:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/a/a5/T--NUS_Singapore-A--Rita_informal.jpg");
 +
}
 +
.portrait_walter{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/0/02/T--NUS_Singapore-A--Walter_formal.jpg");
 +
}
 +
.portrait_walter:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/6/6a/T--NUS_Singapore-A--Walter_informal.jpg");
 +
}
 +
.portrait_liyana{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/3/3d/T--NUS_Singapore-A--Liyana_formal.jpg");
 +
}
 +
.portrait_liyana:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/9/91/T--NUS_Singapore-A--Liyana_informal.jpg");
 +
}
 +
.portrait_aaronl{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/2/2f/T--NUS_Singapore-A--AaronL_formal.jpg");
 +
}
 +
.portrait_aaronl:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/7/71/T--NUS_Singapore-A--AaronL_informal.jpg");
 +
}
 +
.portrait_russell{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/0/08/T--NUS_Singapore-A--Russell_formal.jpg");
 +
}
 +
.portrait_russell:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/2/2b/T--NUS_Singapore-A--Russell_informal.jpg");
 +
}
 +
.portrait_hyhy{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/1/1b/T--NUS_Singapore-A--Haoyuan_formal.jpg");
 +
}
 +
.portrait_hyhy:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/5/52/T--NUS_Singapore-A--Haoyuan_informal.jpg");
 +
}
 +
.portrait_beatrix{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/8/87/T--NUS_Singapore-A--Beatrix2.jpg");
 +
}
 +
.portrait_beatrix:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/f/f4/T--NUS_Singapore-A--Beatrix_informal.jpg");
 +
}
 +
.portrait_me{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/9/9f/T--NUS_Singapore-A--Me_formal.jpg");
 +
}
 +
.portrait_me:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/f/fd/T--NUS_Singapore-A--Me_informal.jpg");
 +
}
 +
.portrait_ryan{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/d/db/T--NUS_Singapore-A--Ryan_formal.jpg");
 +
}
 +
.portrait_ryan:hover{
 +
  background-image: url("https://static.igem.org/mediawiki/2018/1/1e/T--NUS_Singapore-A--Ryan_informal.jpg");
 +
}
 +
 
 +
/***************************** CSS FOR SUPERVISORS *********************************************/
 +
 
 +
.namecard_column {
 +
  max-width: 98%;
 +
  margin-left: auto;
 +
  margin-right: auto;
 +
  margin-bottom: 30px;
 +
  padding: 20px;
 +
}
 +
 
 +
 
 +
#card-left {
 +
  margin-left:12.5%;
 +
}
 +
 
 +
#card-right {
 +
  margin-right:12.5%;
 +
}
 +
 
 +
 
 +
@media (max-width: 650px) {
 +
  .namecard_column {
 
     width: 100%;
 
     width: 100%;
     height: 100%;
+
     display: block;
    top: 0px;
+
  }
 
}
 
}
#Footer p {
+
 
    margin: 0;
+
.card {
    padding: 0;
+
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    font-family: roboto, sans-serif;
+
    text-align: center!important;
+
 
}
 
}
  
.clearer {
+
.intro_container {
    clear: both;
+
  display: flex;
 +
  flex-direction: row;
 +
  justify-content: space-between;
 +
  align-items: flex-start;
 +
  margin-top: 16px;
 +
  padding: 0 5px;
 
}
 
}
#breadcrumb-wrapper {
+
.intro-item{
    margin: 0;
+
  display: flex;
    padding-bottom: 2rem;
+
  flex: 1;
    position: relative;
+
  flex-direction: column;
 
}
 
}
.breadcrumb {
+
.intro-item h2, .intro-item p{
    position: relative;
+
  text-align: center;
 +
  margin-right: 0px;
 +
  margin-left: 0px;
 
}
 
}
/* Style the list */
 
  
ul.breadcrumb {
+
.intro_container::after, .row::after {
    margin: 0;
+
  content: "";
    padding: 0;
+
  clear: both;
    list-style: none;
+
  display: table;
    background-color: #FFFFFF;
+
 
}
 
}
/* Display list items side by side */
 
  
ul.breadcrumb li {
+
.title {
    display: inline;
+
  color: grey;
    font-size: 1.2rem;
+
 
}
 
}
/* Add a slash symbol (/) before/behind each list item */
 
  
ul.breadcrumb li+li:before {
+
img.social_link {
     padding: 0.1rem;
+
     margin:2%;
     color: black;
+
     position:relative;
     content: "/\00a0";
+
     float:left;
 +
    width:15%;
 +
    height:15%;
 +
    padding-bottom: 10px;
 
}
 
}
/* Add a color to all links inside the list */
 
  
ul.breadcrumb li a {
+
/*******************************************CSS FOR SPONSORS ******************************/
    color: #0275d8;
+
 
    text-decoration: none;
+
.sponsors-wrapper{
 +
  width: 80%;
 
}
 
}
/* Add a color on mouse-over */
+
.sponsors-overview{
 +
  display: block;
 +
  border-bottom: 1px solid black;
 +
  text-align: center;
 +
  margin-left: auto;
 +
  margin-right: auto;
 +
  padding: 5px 15px;
 +
}
 +
.sponsors-overview-title{
 +
  display: block;
 +
  font-family: "Montserrat" ,serif;
 +
  font-size: 30px;
 +
  font-weight: 600;
 +
  margin-left: auto;
 +
  margin-right: auto;
 +
  margin-top: 15px;
 +
  margin-bottom: 15px;
 +
  text-align: center
 +
}
 +
.sponsors-overview-rows{
 +
  display: inline-block;
 +
  margin: 15px 0px 15px 0px;
 +
  text-align: center;
 +
}
 +
.sponsors-overview-rows button{
 +
display: inline-block;
 +
vertical-align:middle;
 +
}
 +
/* Style the tab */
  
ul.breadcrumb li a:hover {
+
/* Style the tab boxes */
    color: #01447e;
+
.sponsor-boxes1,.sponsor-boxes2,.sponsor-boxes3{
    text-decoration: underline;
+
  display: inline-block;
 +
  margin: 15px;
 +
  color: #fff;
 +
  text-align: center;
 +
  vertical-align: 0%;
 +
  outline: none;
 +
  border: none;
 +
  cursor: pointer;
 +
  background-color: inherit;
 
}
 
}
.Citations li {
+
.sponsor-boxes1{
    font-size: 0.7rem;
+
  max-width:50%;
 +
  height:auto;
 +
}
 +
.sponsor-boxes2{
 +
  max-width:40%;
 +
  height:auto;
 +
}
 +
.sponsor-boxes3{
 +
  max-width:30%;
 +
  height:auto;
 +
}
 +
/* Change background color of buttons on hover */
 +
/* How about no
 +
.sponsors-overview-rows button:hover {
 +
    background-color: #ddd;
 +
*/
 
}
 
}
/*Split page in top 90% and bottom 10% for down arrow*/
 
  
#DownArrow {
+
/* Create an active/current tablink class */
    display: none;
+
.sponsors-overview-rows button.active {
    width: 100px;
+
     background-color: #ccc;
    height: 100px;
+
    position: fixed;
+
    top: 94%;
+
    left: 50%;
+
    margin-top: -100px;
+
    margin-left: -100px;
+
    opacity: 0.5;
+
     z-index: 10;
+
 
}
 
}
 +
 +
/***********************************CSS For Medals ***************************************/
 +
 +
.checklist {
 +
  margin: auto 5%;
 +
  padding: 12px;
 +
  font-family: "Lora", serif;
 +
}
 +
.checklist table{
 +
  margin: 6px auto auto auto;
 +
}
 +
.checklist table th, .checklist table td{
 +
  float:left;
 +
  margin: 3px;
 +
}
 +
.checklist table th{
 +
  font-family: "Montserrat", sans-serif;
 +
  font-weight: 800;
 +
  font size: 20px;
 +
}
 +
.tick {
 +
  font-size: 64px;
 +
  color: #228b22;
 +
}
 +
.description{
 +
  width: 70%;
 +
  text-align: justify;
 +
}
 +
 +
 
</style>
 
</style>
  
 
</html>
 
</html>

Latest revision as of 01:48, 18 October 2018