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

 
(156 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;
    text-align: center;
+
 
}
 
}
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); }
 
}
 
}
  
Line 129: Line 126:
 
/********************* Add our own style here ********************************/
 
/********************* Add our own style here ********************************/
  
 +
/****************************BASIC CSS STUFF ****************************************/
 +
h1 {
 +
    font-family: Arial;
 +
    font-size: 36px;
 +
    font-style: normal;
 +
    font-variant: normal;
 +
    font-weight: 700;
 +
    line-height: 38px;
 +
}
 +
h2 {
 +
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
 +
    font-size: 28px;
 +
    font-style: normal;
 +
    font-variant: normal;
 +
    font-weight: 700;
 +
    line-height: 34px;
 +
}
  
 +
h3 {
 +
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
 +
    font-size: 24px;
 +
    font-style: normal;
 +
    font-variant: normal;
 +
    font-weight: 700;
 +
    line-height: 29px;
 +
}
  
 +
h4 {
 +
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
 +
    font-size: 20px;
 +
    font-style: normal;
 +
    font-variant: normal;
 +
    font-weight: 700;
 +
    line-height: 29px;
 +
}
  
 +
p, p~ul li, p~ol li, .row ul li{
 +
    font-family: Arial;
 +
    font-size: 20px;
 +
    font-style: normal;
 +
    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; }
  
/********************** From Wageningen UR 2017 CSS **************************/
+
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; }
  
.OurContent {
+
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; }
    font-size: 1.1rem;
+
 
    position: relative;
+
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; }
    top: -0.6rem;
+
 
    padding-bottom: 100px;
+
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;
 
}
 
}
.OurContent p {
+
table{
    padding-bottom: 0.6rem;
+
  font-size: 10px !important;
 
}
 
}
.Main-Center-Column {
+
.figures2 figcaption, .figures figcaption{
    background-color: transparant;  
+
  font-size: 11px;
 
}
 
}
  
.Main-Left-Column {
 
  padding:0;
 
 
}
 
}
  
.Main-Right-Column {
+
/********************** CSS FROM DESIGN *****************************************************/
   padding:0;
+
 
 +
    .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; 
 +
    }
 +
 
 +
 
 +
 
 +
/****************************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;
 
}
 
}
  
.Center-Content-Column {
+
/* 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) */
    max-width: 980px;
+
.active,
    margin: auto;
+
.accordion:hover {
    clear: both;
+
  font: bold 20px "Montserrat", sans-serif;
    position: relative;
+
  background-color: #2980b9;
    background-color: white;
+
 
}
 
}
.Main-Border {
+
 
    box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.5);
+
/* Style the accordion panel. Note: hidden by default */
    max-width: 980px;
+
.panel {
    margin: auto;
+
  background-color: transparent;
    position: relative;  
+
  text-align: justify;
    background-color: white;
+
  margin-top: 0;
    padding-left: 3.0rem;
+
  max-height: 0;
    padding-right: 3.0rem;
+
  overflow: hidden;
    padding-bottom: 2.0rem;
+
  transition: max-height 0.2s ease-out;
    padding-top: 1rem;
+
  max-width: 100%;
 
}
 
}
.Main-Center-Content-Column {
+
 
    max-width: 980px;
+
.accordion:after {
    margin: auto;
+
  font-family: FontAwesome;
    position: relative;
+
  font-size: 27px;
    background-color: white;
+
  font-weight: 800;
 +
  color: #fff;
 +
  content: "\f067";
 +
  float: right;
 +
  margin-left: 5px;
 
}
 
}
.col-centered {
+
.active:after {
    padding: 0;
+
  font-family: FontAwesome;
 +
  content: "\f068";
 
}
 
}
.clearer {
+
.accordion-closer{
    clear: both;
+
  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;
 
}
 
}
.nested-ordered-list ol ol li {
+
.accordion-closer:hover {
    margin-left: 2rem;
+
  font: bold 20px "Montserrat", sans-serif;
 +
  background-color: #a80d31;
 
}
 
}
.nested-ordered-list ol {
+
.accordion-closer:after{
    list-style-type: decimal;
+
  font-family: FontAwesome;
 +
  font-size: 27px;
 +
  content:"\f00d";
 +
  float: right;
 +
  margin-left: 5px;
 
}
 
}
.nested-ordered-list ol ol {
+
table,
    list-style-type: lower-alpha;
+
th,
 +
td {
 +
  border: none;
 +
  border-collapse: collapse;
 +
}
 +
table {
 +
  font-family: "Arial";
 +
  font-size: 18px;
 +
  margin-left: auto;
 +
  margin-right: auto;
 +
  max-width: 95%;
 
}
 
}
/*images and boxes */
 
  
.figure-center {
+
th,
    width: 75%;
+
td {
    margin: 0 auto;
+
  text-align: left;
    text-align: center;
+
  padding: 3px;
 
}
 
}
.figure-bordered-center {
+
 
    width: 75%;
+
img {
    margin: 0 auto;
+
  display: block;
    border: 1px solid #000000;
+
  margin-left: auto;
 +
  margin-right: auto;
 +
  max-width:100%;
 
}
 
}
.figure-center-imagebox {
+
 
    padding-top: 0.4rem;
+
.graph,
    padding-left: 0.4rem;
+
.measurement_table {
    padding-right: 0.4rem;
+
  width: 70%;
    padding-bottom: 0rem;
+
  height: auto;
 +
  margin: auto;
 
}
 
}
.figure-bordered-center-imagebox {
+
 
    padding-top: 0.4rem;
+
.interlab-header {
    padding-left: 0.4rem;
+
  width: 47.5%;
    padding-right: 0.4rem;
+
  height: auto;
    padding-bottom: 0rem;
+
  margin: auto;
    border: 1px solid #000000;
+
 
}
 
}
.figure-center-img {
+
.center-justified {
    width: 100%;
+
  text-align: justify;
    display: block;
+
  margin: 0 auto;
 +
  width: 70%;
 
}
 
}
.figure-center-caption {
+
 
    font-size: 0.8rem;
+
/**********************
    padding-bottom: 0.8rem;
+
    Start of two columns */
 +
* {
 +
  box-sizing: border-box;
 
}
 
}
.figure-bordered-center-caption {
+
 
    padding: 0.4rem;
+
/* Create two columns that floats next to each other */
    border: 1px solid #000000;
+
.column {
 +
  float: left;
 +
  text-align: left;
 
}
 
}
.figure-fullwidth {
+
 
    width: 100%;
+
.left {
    margin: 0 auto;
+
  width: 48%;
    text-align: center;
+
  margin-right: 2%;
 
}
 
}
.figure-center-accordion {
+
 
    width: 100%;
+
.right {
    margin: 0 auto;
+
  width: 48%;
    text-align: center;
+
  margin-left: 2%;
 
}
 
}
  
.inline-img-left {
+
/* Clear floats after the columns */
  padding-top:0;
+
.row:after {
  padding-bottom:0;
+
  content: "";
  padding-right:0.8rem;
+
  display: table;
  padding-left:0;
+
  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;
 
}
 
}
  
.inline-img-right {
+
/* 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 */
  float:right;
+
@media screen and (max-width: 800px) {
  padding-right:0rem;
+
    .column {
  padding-top:0;
+
        width: 100%;
  padding-bottom:0;
+
        margin: 15px;
  padding-left:0.8rem;
+
    }
 
}
 
}
  
.sponsor-img {
+
/********************
     width:100%;
+
    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;
 +
    font-family: "Montserrat";
 +
    font-size: 18px;
 +
    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;}
 
}
 
}
  
Video {
+
@keyframes fadeEffect {
  width:100%;
+
    from {opacity: 0;}
  max-width:900px;
+
    to {opacity: 1;}
  padding-top:2rem;
+
  padding-bottom:2rem;
+
 
}
 
}
  
 +
/**************************THIS IS CSS FOR SAFETY*************************************/
 +
 
 +
.pictures{
 +
  width: 50px;
 +
  height: 50px;
 +
  background-color: grey;
 +
}
  
.YoutubeVideo {
+
 
    margin-left: auto;
+
/*****************************CSS FROM EXPERT INT *******************************************/
    margin-right: auto;
+
.carousel-3d-slide {
    width: 50%;
+
      height: auto !important;
    margin-top: 2rem;
+
      background-color: rgba(0, 0, 0, 0.25) !important;
    margin-bottom: 2rem;
+
 
}
 
}
/*Bootstrap accordion titles */
+
.carousel-3d-container figure {
 +
  margin:0;
 +
}
 +
.carousel-3d-container figcaption {
 +
  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;
  
.panel-title {
 
    padding-bottom: .8rem;
 
 
}
 
}
/*Accordion box formatting*/
 
/*Accordion panel heading text formatting*/
 
  
.panel-heading h4 {
+
/* Style the img inside the buttons */
    padding-top: .5rem;
+
.sponsors-overview-rows button img{
    padding-bottom: .17rem;
+
  max-height:100%;
    margin: 0;
+
  max-width:100%;
    font-weight: 500;
+
    line-height: 1.1;
+
    font-size: 1.25rem;
+
    overflow: hidden;
+
    text-align: left;
+
    direction: ltr;
+
 
}
 
}
.Title-centered {
+
 
     text-align: center;
+
/* Create an active/current tablink class */
 +
.sponsors-overview-rows button.active {
 +
     background-color: transparent;
 
}
 
}
.Textbox {
+
 
    margin-top: 0.2rem;
+
.tabcontent-wrapper{
    margin-bottom: 0.2rem;
+
  text-align: justify;
    font-size: 1.2rem;
+
  max-width: 100%;
 +
  background-color: rgba(255, 255, 255, 0.6);
 
}
 
}
.Textbox-Left {
+
 
     width: 50%;
+
/* Style the tab content */
     margin-top: 0.2rem;
+
.tabcontent {
     margin-bottom: 0.2rem;
+
     display: none;
     font-size: 1.2rem;
+
     max-width: 85%;
    float: left;
+
     height: auto;
 +
     margin: auto auto;
 
}
 
}
.Textbox-Right {
+
 
    width: 50%;
+
.sponsor-pic{
    margin-top: 0.2rem;
+
  display: flex;
    margin-bottom: 0.2rem;
+
  width: 235px;
    font-size: 1.2rem;
+
  max-width: 235px;
    float: right;
+
  height: auto;
 +
  position: absolute;
 +
  top: 0;
 +
  left: 0;
 
}
 
}
.Textbox-center {
+
.sponsor-description{
    text-align: center;
+
  display: flex;
    margin-top: 0.2rem;
+
  margin-left: 16px;
    margin-bottom: 0.2rem;
+
  line-height: normal;
    font-size: 1.2rem;
+
  text-align: justify;
 
}
 
}
a.anchor {
+
 
    display: block;
+
/*************************************CSS FOR COLLAB *********************************/
    position: relative;
+
 
    top: -16px;
+
.collab-content{
    visibility: hidden;
+
  text-align: justify;
 
}
 
}
/*bullet points properties */
+
.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%;
 +
    background: none;
 +
    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 *******************************************/
  
ul {
+
.members-gallery{
    list-style-position: inside;
+
  max-width: 80%;
    list-style-image: none;
+
  position: relative;
 +
  margin: auto;
 +
  padding: 10px;
 
}
 
}
.nested-ordered-list ol ol li {
+
.members-gallery img{
    margin-left: 2rem;
+
  max-width: 100%;
 
}
 
}
.nested-ordered-list ol {
+
.overlay{
    list-style-type: decimal;
+
  position: absolute;
    list-style-position: inside;
+
 
}
 
}
.nested-ordered-list ol ol {
+
.nanda{
    list-style-type: lower-alpha;
+
  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 */
 +
}
  
/*specific elements that do not have their own dedicated css file */
+
/* 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;
 +
}
  
.TeamPageColumn p {
+
.close:hover,
    margin-left: 20px;
+
.close:focus {
     margin-right: 20px;
+
     color: black;
     margin-top: 20px;
+
     text-decoration: none;
     margin-bottom: 20px;
+
     cursor: pointer;
 
}
 
}
.FooterWrapper {
+
.profile{
    position: absolute;
+
  display: flex;
    bottom: -20px;
+
  flex-direction: row;
    text-align: center;
+
  justify-content: center;
    width: 100%;
+
  align-items: flex-start;
    height: 120px;
+
  justify-content: space-evenly;
    padding: 0!important;
+
 
    background-color: white;   
+
 
}
 
}
.FooterImage {
+
.profile-description{
    position: absolute;
+
  display: flex;
    bottom: 0px;
+
  flex-wrap: no-wrap;
    width: 100%;
+
  flex-grow: 3;
    height: 100px;
+
  flex-direction: column;
    padding: 0!important;  
+
  justify-content: space-between;
    background-image: url(https://static.igem.org/mediawiki/2017/6/66/Mantis--Wiki_Footer.png);
+
  text-align: justify;
    background-color: white;
+
  max-width: 80%;
    background-position: 0% 0%;
+
}
    background-repeat: repeat-x;
+
.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");
 
}
 
}
  
.FooterMainColumn {  
+
/***************************** CSS FOR SUPERVISORS *********************************************/
    position: relative;
+
 
    height: 100%;
+
.namecard_column {
    background-color: transparent;
+
  max-width: 98%;
    padding: 0!important;
+
  margin-left: auto;
 +
  margin-right: auto;
 +
  margin-bottom: 30px;
 +
  padding: 20px;
 
}
 
}
#Footer {
+
 
    position: relative;
+
 
 +
#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