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

 
(155 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;
 
}
 
}
 +
 +
.reference {
 +
    font-family: Arial;
 +
    font-size: 16px;
 +
    font-weight: 100;
 +
    line-height: 22px;
 +
    text-align: left;
 +
}
 +
 +
.all-wrapper{
 +
  max-width: 1200px;
 +
  position: relative;
 +
  margin: auto;
 +
  background-color: rgba(255, 255, 255, 1.0);
 +
}
 +
 +
.content-wrapper{
 +
  width: 90%;
 +
  position: relative;
 +
  margin: auto;
 +
}
 +
 +
.header{
 +
  width: 55%;
 +
  height: auto;
 +
  margin: auto;
 +
  display: block;
 +
 +
 +
.header:hover {
 +
  animation: shake 0.5s;
 +
  animation-iteration-count: infinite;
 +
}
 +
 +
@keyframes shake {
 +
  0% { transform: translate(1px, 1px) rotate(0deg); }
 +
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
 +
  20% { transform: translate(-3px, 0px) rotate(1deg); }
 +
  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); }
 +
}
 +
 +
 +
/********************* Add our own style here ********************************/
 +
 +
/****************************BASIC CSS STUFF ****************************************/
 
h1 {
 
h1 {
    font-size: 3.0rem;
+
    font-family: Arial;
    line-height: normal;
+
    font-size: 36px;
    padding-bottom: 1.4rem;
+
    font-style: normal;
    margin-top: 3rem;
+
    font-variant: normal;
    text-align: center;
+
    font-weight: 700;
 +
    line-height: 38px;
 
}
 
}
h2 {
+
h2 {
    font-size: 2.4rem;
+
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    line-height: normal;
+
    font-size: 28px;
    border-bottom: 1px solid #aaa;
+
    font-style: normal;
    padding-bottom: 0.4rem;
+
    font-variant: normal;
    padding-top: 1.0rem;
+
    font-weight: 700;
 +
    line-height: 34px;
 
}
 
}
h3 {
+
 
    font-size: 1.8rem;
+
h3 {
    line-height: normal;
+
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    padding-bottom: 0.4rem;
+
    font-size: 24px;
    padding-top: 0.6rem;
+
    font-style: normal;
    text-align: center;
+
    font-variant: normal;
 +
    font-weight: 700;
 +
    line-height: 29px;
 
}
 
}
 +
 
h4 {
 
h4 {
    font-size: 1.5rem;
+
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    line-height: normal;
+
    font-size: 20px;
    padding-bottom: 0.4rem;
+
    font-style: normal;
    padding-top: 0.6rem;
+
    font-variant: normal;
 +
    font-weight: 700;
 +
    line-height: 29px;
 
}
 
}
h5 {
+
 
    font-weight: bold;
+
p, p~ul li, p~ol li, .row ul li{
    line-height: normal;
+
    font-family: Arial;
    font-size: 1.2rem;
+
    font-size: 20px;
    padding-bottom: 0rem;
+
    font-style: normal;
    padding-top: 0rem;
+
    font-variant: normal;
 +
    font-weight: 100;
 +
    line-height: 29px;
 +
    text-align: justify;
 
}
 
}
 +
 +
blockquote {
 +
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
 +
    font-size: 27px;
 +
    font-style: normal;
 +
    font-variant: normal;
 +
    font-weight: 400;
 +
    line-height: 36px;
 +
}
 +
pre {
 +
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
 +
    font-size: 18px;
 +
    font-style: normal;
 +
    font-variant: normal;
 +
    font-weight: 400;
 +
    line-height: 36px;
 +
}
 +
.quote {
 +
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
 +
    font-size: 24px;
 +
    font-style: italic;
 +
    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);
 +
}
 +
.quote:before{
 +
    font-family:FontAwesome;
 +
    content: "\f10d";
 +
    float: left;
 +
    font-size: 32px;
 +
}
 +
.quote:after{
 +
    font-family:FontAwesome;
 +
    content: "\f10e";
 +
    float: right;
 +
    font-size: 32px;
 +
}
 +
@media only screen and (max-width: 700px) {
 +
 +
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;
 +
}
 +
.accordion:after {
 +
  font-size: 20px !important;
 +
}
 +
.active,
 +
.accordion:hover {
 +
  font: bold 12px "Montserrat", sans-serif;
 +
  background-color: #2980b9;
 +
}
 +
.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 *****************************************************/
 +
 +
    .figures{
 +
    margin: auto 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;
 +
    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; 
 +
    }
  
  
/********************* Add our own style here ********************************/
 
  
 
/****************************THIS IS CSS FROM INTERLAB*******************************/
 
/****************************THIS IS CSS FROM INTERLAB*******************************/
 
/* The accordion is the class given to the drop-down menu thingy */
 
/* The accordion is the class given to the drop-down menu thingy */
 
.accordion {
 
.accordion {
   background-color: rgba(242,242,242,0.6);
+
   background-color: #3498db;
   color: black;
+
   color: #fff;
 
   cursor: pointer;
 
   cursor: pointer;
 
   padding: 15px;
 
   padding: 15px;
 
   width: 100%;
 
   width: 100%;
 
   text-align: left;
 
   text-align: left;
  margin-left: 5%;
 
  margin-right: 5%;
 
 
   border: none;
 
   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;
 
   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. */
 
   /* 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;    */
 
   /*  transition: 0.4s linear;    */
 
   font-family: "Montserrat", sans-serif;
 
   font-family: "Montserrat", sans-serif;
   font-weight: 300;
+
   font-weight: 400;
 
   font-size: 20px;
 
   font-size: 20px;
 +
  margin-bottom: 6px;
 
}
 
}
  
Line 153: Line 333:
 
.accordion:hover {
 
.accordion:hover {
 
   font: bold 20px "Montserrat", sans-serif;
 
   font: bold 20px "Montserrat", sans-serif;
   background-color: #e6e6e6;
+
   background-color: #2980b9;
 
}
 
}
  
 
/* Style the accordion panel. Note: hidden by default */
 
/* Style the accordion panel. Note: hidden by default */
 
.panel {
 
.panel {
   background-color: white;
+
   background-color: transparent;
   text-align: left;
+
   text-align: justify;
   margin-top: 10px;
+
   margin-top: 0;
 
   max-height: 0;
 
   max-height: 0;
 
   overflow: hidden;
 
   overflow: hidden;
 
   transition: max-height 0.2s ease-out;
 
   transition: max-height 0.2s ease-out;
 +
  max-width: 100%;
 
}
 
}
 +
 
.accordion:after {
 
.accordion:after {
   content: "+";
+
   font-family: FontAwesome;
   font-size: 13px;
+
   font-size: 27px;
   color: #777;
+
  font-weight: 800;
 +
   color: #fff;
 +
  content: "\f067";
 
   float: right;
 
   float: right;
 
   margin-left: 5px;
 
   margin-left: 5px;
 
}
 
}
 
/* Not sure why this function does not work. Need to check */
 
 
.active:after {
 
.active:after {
   content: "-";
+
  font-family: FontAwesome;
 +
   content: "\f068";
 +
}
 +
.accordion-closer{
 +
  background-color: #ed1144;
 +
  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;
 +
}
 +
.accordion-closer:hover {
 +
  font: bold 20px "Montserrat", sans-serif;
 +
  background-color: #a80d31;
 +
}
 +
.accordion-closer:after{
 +
  font-family: FontAwesome;
 +
  font-size: 27px;
 +
  content:"\f00d";
 +
  float: right;
 +
  margin-left: 5px;
 
}
 
}
 
 
table,
 
table,
 
th,
 
th,
Line 185: Line 396:
 
}
 
}
 
table {
 
table {
   font-family: "Lora";
+
   font-family: "Arial";
   font-size: 13px;
+
   font-size: 18px;
   word-spacing: 0.5em;
+
   margin-left: auto;
 +
  margin-right: auto;
 +
  max-width: 95%;
 
}
 
}
  
Line 194: Line 407:
 
   text-align: left;
 
   text-align: left;
 
   padding: 3px;
 
   padding: 3px;
}
 
table caption {
 
}
 
h1 {
 
  font-family: "MONTSERRAT", sans-serif;
 
  font-size: 22px;
 
  text-align: left;
 
  color: black;
 
  font-style: normal;
 
  font-weight: 300;
 
  color: black;
 
  padding-left: 5%;
 
  padding-top: 1.5%;
 
  padding-bottom: 1%;
 
  border: none;
 
}
 
 
h2 {
 
  font-family: "Lora", sans;
 
  font-weight: 300;
 
  text-align: left;
 
  color: black;
 
  margin-left: 5%;
 
  margin-bottom: 15px;
 
}
 
 
h3 {
 
  font-family: "Lora", sans;
 
  font-weight: 300;
 
  text-align: left;
 
  color: black;
 
}
 
 
p,
 
ol li,
 
ul li {
 
  font-family: "Lora", serif;
 
  font-size: 14px;
 
  word-spacing: 0.5em;
 
  text-align: justify;
 
 
}
 
}
  
Line 240: Line 413:
 
   margin-left: auto;
 
   margin-left: auto;
 
   margin-right: auto;
 
   margin-right: auto;
 +
  max-width:100%;
 
}
 
}
  
.discussion_graph,
+
.graph,
 
.measurement_table {
 
.measurement_table {
 
   width: 70%;
 
   width: 70%;
Line 273: Line 447:
  
 
.left {
 
.left {
   width: 50%;
+
   width: 48%;
   padding-left: 5%;
+
   margin-right: 2%;
  padding-right: 2.5%;
+
 
}
 
}
  
 
.right {
 
.right {
   width: 50%;
+
   width: 48%;
   padding-left: 2.5%;
+
   margin-left: 2%;
  padding-right: 5%;
+
 
}
 
}
  
Line 289: Line 461:
 
   display: table;
 
   display: table;
 
   clear: both;
 
   clear: both;
 +
}
 +
.video-landscape{
 +
width: 80%;
 +
height: auto;
 +
margin: auto auto;
 +
}
 +
.video-portrait{
 +
width: 30%;
 +
height: auto;
 +
margin: auto auto;
 +
}
 +
video{
 +
width: 100%;
 +
height: auto;
 +
}
 +
 +
/* 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;
 +
    }
 
}
 
}
  
Line 296: Line 490:
 
/**************************************CSS FOR NOTEBOOK***************************************************/
 
/**************************************CSS FOR NOTEBOOK***************************************************/
  
    table {
 
        font-family: "Lora";
 
        font-size: 12px;
 
        word-spacing: 0.5em;
 
    }
 
    th, td {
 
        text-align: left;
 
        padding: 1px; /* Interlab uses 3px instead */
 
    }
 
 
    h1 {
 
        color: #000;
 
        font-family: "montserrat", sans-serif;
 
        font-weight: bold;
 
    }
 
   
 
    h2 {
 
        font-family: "Montserrat", sans-serif;
 
        font-size: 15px;
 
        font-weight: normal;
 
        text-align: left;
 
        color: black;
 
        padding-left: 1%;
 
        padding-top: 1.5%;
 
        padding-bottom: 1%;
 
        margin-left: 1%; 
 
    }
 
 
    h3 {
 
        font-family: "Lora", sans;
 
        font-size: 12px;
 
        font-weight: bold;
 
        text-align: left;
 
        color: black;
 
        margin-left: 15%;
 
        margin-bottom: 5px;
 
    }
 
   
 
    p {
 
        font-family: "Lora", serif;
 
        font-size: 14px;
 
        word-spacing: 0.5em;
 
        text-align:justify;
 
        margin-left:5%;
 
        margin-right:5%;
 
    }
 
  
 
     img {
 
     img {
Line 355: Line 503:
 
     }
 
     }
  
    .notebook-header{
 
        width: 50%;
 
        height: auto;
 
        margin: auto;
 
    }
 
 
     .tablinks{
 
     .tablinks{
 
     cursor: pointer;
 
     cursor: pointer;
Line 381: Line 524:
 
     }
 
     }
  
/* Style the main tab content */
 
.tabcontent {
 
    display: none;
 
    border: none;
 
    margin: none;
 
    -webkit-animation: fadeEffect 1s;
 
    animation: fadeEffect 1s;
 
    min-height: 500px;
 
}
 
  
 
/* Fade in tabs */
 
/* Fade in tabs */
Line 403: Line 537:
  
 
/**************************THIS IS CSS FOR SAFETY*************************************/
 
/**************************THIS IS CSS FOR SAFETY*************************************/
 
 
.safety-header{
 
  width: 47.5%;
 
  height: auto;
 
  margin: auto;
 
}
 
 
    
 
    
 
.pictures{
 
.pictures{
 
   width: 50px;
 
   width: 50px;
 
   height: 50px;
 
   height: 50px;
   background-colour: grey;
+
   background-color: grey;
 
}
 
}
 +
 +
 
/*****************************CSS FROM EXPERT INT *******************************************/
 
/*****************************CSS FROM EXPERT INT *******************************************/
 
.carousel-3d-slide {
 
.carousel-3d-slide {
Line 436: Line 565:
 
   box-sizing: border-box;
 
   box-sizing: border-box;
 
}
 
}
/*********************************************************END OF STYLING FOR CAROUSEL*****************************************************************/
+
/***********************************END OF STYLING FOR CAROUSEL*******************************/
.ihp-header{
+
  width: 47.5%;
+
  height: auto;
+
  margin-left: auto;
+
  margin-right: auto;
+
  display: block;
+
    } 
+
 
      
 
      
 
     /* Style the tab */
 
     /* Style the tab */
Line 450: Line 572:
 
.sponsor-boxes{
 
.sponsor-boxes{
 
   vertical-align: 50%;
 
   vertical-align: 50%;
 +
  margin: auto auto;
 
   outline: none;
 
   outline: none;
 
   border: none;
 
   border: none;
Line 466: Line 589:
 
/* Create an active/current tablink class */
 
/* Create an active/current tablink class */
 
.sponsors-overview-rows button.active {
 
.sponsors-overview-rows button.active {
     background-color: #ccc;
+
     background-color: transparent;
 
}
 
}
  
 
.tabcontent-wrapper{
 
.tabcontent-wrapper{
   text-align: center;
+
   text-align: justify;
 
   max-width: 100%;
 
   max-width: 100%;
 
   background-color: rgba(255, 255, 255, 0.6);
 
   background-color: rgba(255, 255, 255, 0.6);
 
}
 
}
 +
 
/* Style the tab content */
 
/* Style the tab content */
 
.tabcontent {
 
.tabcontent {
 
     display: none;
 
     display: none;
 
     max-width: 85%;
 
     max-width: 85%;
 +
    height: auto;
 
     margin: auto auto;
 
     margin: auto auto;
    padding: 6px 12px;
 
/*
 
    border-radius: 12px;
 
    background-color: rgba(255, 255, 255, 0.6);
 
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
 
    -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
 
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
 
*/
 
    flex-direction: row;
 
    justify-content: flex-start;
 
    align-items: center;
 
 
}
 
}
 +
 
.sponsor-pic{
 
.sponsor-pic{
 
   display: flex;
 
   display: flex;
 
   width: 235px;
 
   width: 235px;
 
   max-width: 235px;
 
   max-width: 235px;
  min-width: 235px;
 
 
   height: auto;
 
   height: auto;
 +
  position: absolute;
 +
  top: 0;
 +
  left: 0;
 
}
 
}
 
.sponsor-description{
 
.sponsor-description{
 
   display: flex;
 
   display: flex;
   margin-left: 24px;
+
   margin-left: 16px;
  font-family: "Lora", sans-serif;
+
  font-weight: 400;
+
  font-size: 1.25em;
+
 
   line-height: normal;
 
   line-height: normal;
 
   text-align: justify;
 
   text-align: justify;
Line 510: Line 624:
 
/*************************************CSS FOR COLLAB *********************************/
 
/*************************************CSS FOR COLLAB *********************************/
  
.tabcontent p{
 
font-size: 1.25em;
 
}
 
 
.collab-content{
 
.collab-content{
 
   text-align: justify;
 
   text-align: justify;
Line 525: Line 636:
 
/*********************************CSS FOR PUBLIC ENGAGEMENT*****************************/
 
/*********************************CSS FOR PUBLIC ENGAGEMENT*****************************/
  
.outreach-header{
 
  max-width: 65%;
 
  height: auto;
 
}
 
  
 
     .button-things{
 
     .button-things{
Line 541: Line 648:
 
     outline: inherit;
 
     outline: inherit;
 
     }
 
     }
 +
 
     .column {
 
     .column {
  
Line 685: Line 793:
 
/* Modal Content/Box */
 
/* Modal Content/Box */
 
.profile-content {
 
.profile-content {
     margin: 10% auto; /* 15% from the top and centered */
+
     margin: 5% auto; /* 10% from the top and centered */
     padding: 20px;
+
     padding: 2.5%;
 
     border: 2px solid  
 
     border: 2px solid  
 
       rgba(133,133,133,.15);
 
       rgba(133,133,133,.15);
Line 693: Line 801:
 
     -webkit-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);
 
     box-shadow: 0 0 8px rgba(0,0,0,.09);
     width: 80%; /* Could be more or less, depending on screen size */
+
     width: 100%; /* Could be more or less, depending on screen size */
 
}
 
}
 
.the-middle {
 
.the-middle {
Line 768: Line 876:
 
}
 
}
 
.portrait1{
 
.portrait1{
   height: 300px;
+
   height: 360px;
   width: 200px;
+
   width: 250px;
 
   border: 1px solid #aaa;
 
   border: 1px solid #aaa;
 
   border-radius: .5%;
 
   border-radius: .5%;
   background-size:cover;
+
   background-size: cover;
 
   background-repeat: no-repeat;
 
   background-repeat: no-repeat;
 
   background-position: center;
 
   background-position: center;
Line 837: Line 945:
 
}
 
}
 
.portrait_beatrix{
 
.portrait_beatrix{
   background-image: url("https://static.igem.org/mediawiki/2018/d/d3/T--NUS_Singapore-A--Beatrix_formal.jpg");
+
   background-image: url("https://static.igem.org/mediawiki/2018/8/87/T--NUS_Singapore-A--Beatrix2.jpg");
 
}
 
}
 
.portrait_beatrix:hover{
 
.portrait_beatrix:hover{
Line 856: Line 964:
  
 
/***************************** CSS FOR SUPERVISORS *********************************************/
 
/***************************** CSS FOR SUPERVISORS *********************************************/
 
 
  
 
.namecard_column {
 
.namecard_column {
Line 900: Line 1,006:
 
   flex: 1;
 
   flex: 1;
 
   flex-direction: column;
 
   flex-direction: column;
 +
}
 +
.intro-item h2, .intro-item p{
 
   text-align: center;
 
   text-align: center;
 +
  margin-right: 0px;
 +
  margin-left: 0px;
 
}
 
}
  
Line 924: Line 1,034:
 
/*******************************************CSS FOR SPONSORS ******************************/
 
/*******************************************CSS FOR SPONSORS ******************************/
  
.sponsorship-header{
 
  width: 47.5%;
 
  height: auto;
 
  margin-left: auto;
 
  margin-right: auto;
 
  display: block;
 
    }
 
 
.sponsors-wrapper{
 
.sponsors-wrapper{
 
   width: 80%;
 
   width: 80%;
 
}
 
}
 
.sponsors-overview{
 
.sponsors-overview{
   display: flex;
+
   display: block;
  flex-direction: column;
+
 
   border-bottom: 1px solid black;
 
   border-bottom: 1px solid black;
 
   text-align: center;
 
   text-align: center;
Line 946: Line 1,048:
 
   display: block;
 
   display: block;
 
   font-family: "Montserrat" ,serif;
 
   font-family: "Montserrat" ,serif;
 +
  font-size: 30px;
 
   font-weight: 600;
 
   font-weight: 600;
 
   margin-left: auto;
 
   margin-left: auto;
Line 954: Line 1,057:
 
}
 
}
 
.sponsors-overview-rows{
 
.sponsors-overview-rows{
   display: flex;
+
   display: inline-block;
  flex-direction: row;
+
  justify-content: space-evenly;
+
 
   margin: 15px 0px 15px 0px;
 
   margin: 15px 0px 15px 0px;
    
+
   text-align: center;
 +
}
 +
.sponsors-overview-rows button{
 +
display: inline-block;
 +
vertical-align:middle;
 
}
 
}
 
 
/* Style the tab */
 
/* Style the tab */
  
 
/* Style the tab boxes */
 
/* Style the tab boxes */
.sponsor-boxes1{
+
.sponsor-boxes1,.sponsor-boxes2,.sponsor-boxes3{
   display: flex;
+
   display: inline-block;
 
   margin: 15px;
 
   margin: 15px;
   color: #000;
+
   color: #fff;
 
   text-align: center;
 
   text-align: center;
 
   vertical-align: 0%;
 
   vertical-align: 0%;
Line 974: Line 1,078:
 
   cursor: pointer;
 
   cursor: pointer;
 
   background-color: inherit;
 
   background-color: inherit;
 
+
}
 +
.sponsor-boxes1{
 +
  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 */
 
/* Change background color of buttons on hover */
Line 990: Line 1,105:
 
/***********************************CSS For Medals ***************************************/
 
/***********************************CSS For Medals ***************************************/
  
.medals-header{
 
  width: 42.5%;
 
  height: auto;
 
  margin: auto;
 
}
 
 
.checklist {
 
.checklist {
 
   margin: auto 5%;
 
   margin: auto 5%;
Line 1,021: Line 1,131:
 
}
 
}
  
/********************** CSS FROM DESIGN *****************************************************/
 
  
    .figures{
 
    margin: auto auto;
 
    max-width: 80%;
 
    }
 
    .figures figcaption{
 
    font-size: 12px;
 
    text-align: center;
 
    font-style: italic;
 
    }
 
 
 
/********************** From Wageningen UR 2017 CSS **************************/
 
 
.OurContent {
 
    font-size: 1.1rem;
 
    position: relative;
 
    top: -0.6rem;
 
    padding-bottom: 100px;
 
}
 
.OurContent p {
 
    padding-bottom: 0.6rem;
 
}
 
.Main-Center-Column {
 
    background-color: transparant;   
 
}
 
 
.Main-Left-Column {
 
  padding:0;
 
}
 
 
.Main-Right-Column {
 
  padding:0;
 
}
 
 
.Center-Content-Column {
 
    max-width: 980px;
 
    margin: auto;
 
    clear: both;
 
    position: relative;
 
    background-color: white;
 
}
 
.Main-Border {
 
    box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.5);
 
    max-width: 980px;
 
    margin: auto;
 
    position: relative;   
 
    background-color: white;
 
    padding-left: 3.0rem;
 
    padding-right: 3.0rem;
 
    padding-bottom: 2.0rem;
 
    padding-top: 1rem;
 
}
 
.Main-Center-Content-Column {
 
    max-width: 980px;
 
    margin: auto;
 
    position: relative;
 
    background-color: white;
 
}
 
.col-centered {
 
    padding: 0;
 
}
 
.clearer {
 
    clear: both;
 
}
 
.nested-ordered-list ol ol li {
 
    margin-left: 2rem;
 
}
 
.nested-ordered-list ol {
 
    list-style-type: decimal;
 
}
 
.nested-ordered-list ol ol {
 
    list-style-type: lower-alpha;
 
}
 
/*images and boxes */
 
 
.figure-center {
 
    width: 75%;
 
    margin: 0 auto;
 
    text-align: center;
 
}
 
.figure-bordered-center {
 
    width: 75%;
 
    margin: 0 auto;
 
    border: 1px solid #000000;
 
}
 
.figure-center-imagebox {
 
    padding-top: 0.4rem;
 
    padding-left: 0.4rem;
 
    padding-right: 0.4rem;
 
    padding-bottom: 0rem;
 
}
 
.figure-bordered-center-imagebox {
 
    padding-top: 0.4rem;
 
    padding-left: 0.4rem;
 
    padding-right: 0.4rem;
 
    padding-bottom: 0rem;
 
    border: 1px solid #000000;
 
}
 
.figure-center-img {
 
    width: 100%;
 
    display: block;
 
}
 
.figure-center-caption {
 
    font-size: 0.8rem;
 
    padding-bottom: 0.8rem;
 
}
 
.figure-bordered-center-caption {
 
    padding: 0.4rem;
 
    border: 1px solid #000000;
 
}
 
.figure-fullwidth {
 
    width: 100%;
 
    margin: 0 auto;
 
    text-align: center;
 
}
 
.figure-center-accordion {
 
    width: 100%;
 
    margin: 0 auto;
 
    text-align: center;
 
}
 
 
.inline-img-left {
 
  padding-top:0;
 
  padding-bottom:0;
 
  padding-right:0.8rem;
 
  padding-left:0;
 
}
 
 
.inline-img-right {
 
  float:right;
 
  padding-right:0rem;
 
  padding-top:0;
 
  padding-bottom:0;
 
  padding-left:0.8rem;
 
}
 
 
.sponsor-img {
 
    width:100%;
 
}
 
 
Video {
 
  width:100%;
 
  max-width:900px;
 
  padding-top:2rem;
 
  padding-bottom:2rem;
 
}
 
 
 
.YoutubeVideo {
 
    margin-left: auto;
 
    margin-right: auto;
 
    width: 50%;
 
    margin-top: 2rem;
 
    margin-bottom: 2rem;
 
}
 
/*Bootstrap accordion titles */
 
 
.panel-title {
 
    padding-bottom: .8rem;
 
}
 
/*Accordion box formatting*/
 
/*Accordion panel heading text formatting*/
 
 
.panel-heading h4 {
 
    padding-top: .5rem;
 
    padding-bottom: .17rem;
 
    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;
 
}
 
.Textbox {
 
    margin-top: 0.2rem;
 
    margin-bottom: 0.2rem;
 
    font-size: 1.2rem;
 
}
 
.Textbox-Left {
 
    width: 50%;
 
    margin-top: 0.2rem;
 
    margin-bottom: 0.2rem;
 
    font-size: 1.2rem;
 
    float: left;
 
}
 
.Textbox-Right {
 
    width: 50%;
 
    margin-top: 0.2rem;
 
    margin-bottom: 0.2rem;
 
    font-size: 1.2rem;
 
    float: right;
 
}
 
.Textbox-center {
 
    text-align: center;
 
    margin-top: 0.2rem;
 
    margin-bottom: 0.2rem;
 
    font-size: 1.2rem;
 
}
 
a.anchor {
 
    display: block;
 
    position: relative;
 
    top: -16px;
 
    visibility: hidden;
 
}
 
/*bullet points properties */
 
 
ul {
 
    list-style-position: inside;
 
    list-style-image: none;
 
}
 
.nested-ordered-list ol ol li {
 
    margin-left: 2rem;
 
}
 
.nested-ordered-list ol {
 
    list-style-type: decimal;
 
    list-style-position: inside;
 
}
 
.nested-ordered-list ol ol {
 
    list-style-type: lower-alpha;
 
}
 
 
 
/*specific elements that do not have their own dedicated css file */
 
 
.TeamPageColumn p {
 
    margin-left: 20px;
 
    margin-right: 20px;
 
    margin-top: 20px;
 
    margin-bottom: 20px;
 
}
 
.FooterWrapper {
 
    position: absolute;
 
    bottom: -20px;
 
    text-align: center;
 
    width: 100%;
 
    height: 120px;
 
    padding: 0!important;
 
    background-color: white;   
 
}
 
.FooterImage {
 
    position: absolute;
 
    bottom: 0px;
 
    width: 100%;
 
    height: 100px;
 
    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 {   
 
    position: relative;
 
    height: 100%;
 
    background-color: transparent;
 
    padding: 0!important;
 
}
 
#Footer {
 
    position: relative;
 
    width: 100%;
 
    height: 100%;
 
    top: 0px;
 
}
 
#Footer p {
 
    margin: 0;
 
    padding: 0;
 
    font-family: roboto, sans-serif;
 
    text-align: center!important;
 
}
 
 
.clearer {
 
    clear: both;
 
}
 
#breadcrumb-wrapper {
 
    margin: 0;
 
    padding-bottom: 2rem;
 
    position: relative;
 
}
 
.breadcrumb {
 
    position: relative;
 
}
 
/* Style the list */
 
 
ul.breadcrumb {
 
    margin: 0;
 
    padding: 0;
 
    list-style: none;
 
    background-color: #FFFFFF;
 
}
 
/* Display list items side by side */
 
 
ul.breadcrumb li {
 
    display: inline;
 
    font-size: 1.2rem;
 
}
 
/* Add a slash symbol (/) before/behind each list item */
 
 
ul.breadcrumb li+li:before {
 
    padding: 0.1rem;
 
    color: black;
 
    content: "/\00a0";
 
}
 
/* Add a color to all links inside the list */
 
 
ul.breadcrumb li a {
 
    color: #0275d8;
 
    text-decoration: none;
 
}
 
/* Add a color on mouse-over */
 
 
ul.breadcrumb li a:hover {
 
    color: #01447e;
 
    text-decoration: underline;
 
}
 
.Citations li {
 
    font-size: 0.7rem;
 
}
 
/*Split page in top 90% and bottom 10% for down arrow*/
 
 
#DownArrow {
 
    display: none;
 
    width: 100px;
 
    height: 100px;
 
    position: fixed;
 
    top: 94%;
 
    left: 50%;
 
    margin-top: -100px;
 
    margin-left: -100px;
 
    opacity: 0.5;
 
    z-index: 10;
 
}
 
 
</style>
 
</style>
  
 
</html>
 
</html>

Latest revision as of 01:48, 18 October 2018