Difference between revisions of "Template:Wageningen UR/StyleCSSv2"

Line 3: Line 3:
 
<html>
 
<html>
 
<style>
 
<style>
 
 
/*Remove standard formatting of iGEM HQ */
 
/*Remove standard formatting of iGEM HQ */
 +
/* set page to fill window*/
  
 
+
html {
/* set page to fill window*/
+
     height: 100%;
html {      
+
     padding: 0;
     height:100%;
+
     margin: 0;
     padding:0;
+
     margin:0;
+
 
     overflow-y: scroll;
 
     overflow-y: scroll;
 
}
 
}
 
 
body {
 
body {
    height:100%;
+
    height: 100%;
     padding:0;
+
     padding: 0;
     margin:0;
+
     margin: 0;
     background-color:white;
+
     background-color: white;
 
}
 
}
 
 
#globalWrapper {
 
#globalWrapper {
  min-height:100%;
+
    min-height: 100%;
  margin:0;
+
    margin: 0;
  padding:0!important;
+
    padding: 0!important;
  font-size:initial;  
+
    font-size: initial;
 
}
 
}
 
+
#sideMenu,
#sideMenu, #top_title {
+
#top_title {
 
     display: none;
 
     display: none;
 
}
 
}
 
 
#top_menu_inside {
 
#top_menu_inside {
 
     box-sizing: content-box;
 
     box-sizing: content-box;
 
}
 
}
 
 
 
#top_menu_14 {
 
#top_menu_14 {
 
     box-sizing: content-box;
 
     box-sizing: content-box;
 
}
 
}
 
 
 
#top_menu_under {
 
#top_menu_under {
 
     box-sizing: content-box;
 
     box-sizing: content-box;
 
}
 
}
 
 
#bars_item img {
 
#bars_item img {
  vertical-align:baseline;
+
    vertical-align: baseline;
 
}
 
}
 
 
#content {
 
#content {
  width:100%;
+
    width: 100%;
  margin:0;
+
    margin: 0;
  padding:0;
+
    padding: 0;
  top:-10px;  
+
    top: -10px;
 
}
 
}
 
+
#mw-content-text {
 
+
     margin: 0;
#mw-content-text {  
+
     padding: 0;
     margin:0;
+
     left: 0;
     padding:0;
+
     top: 18px;
     left:0;
+
     font-size: 100%;
     top:18px;  
+
     font-size:100%;
+
 
     background-image: url("https://static.igem.org/mediawiki/2017/c/cc/T--Wageningen_UR--Team_background.jpg");
 
     background-image: url("https://static.igem.org/mediawiki/2017/c/cc/T--Wageningen_UR--Team_background.jpg");
 
}
 
}
 
 
 
/* 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,h2,h3,h4,h5,h6 {
+
h1,
  font-family: 'roboto', sans-serif !important;
+
h2,
  color:black;
+
h3,
  background:none;
+
h4,
  font-weight:normal;
+
h5,
  margin:0;
+
h6 {
  padding:0;
+
    font-family: 'roboto', sans-serif !important;
  overflow:visible;
+
    color: black;
 +
    background: none;
 +
    font-weight: normal;
 +
    margin: 0;
 +
    padding: 0;
 +
    overflow: visible;
 
}
 
}
 
 
/*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 {
 
p {
     font-size:1.1rem !important;
+
     font-size: 1.1rem !important;
     font-family: 'roboto', sans-serif !important;  
+
     font-family: 'roboto', sans-serif !important;
     line-height:normal;
+
     line-height: normal;
     text-justify:none!important;
+
     text-justify: none!important;
     color:#1d2129;
+
     color: #1d2129;
 
}
 
}
 
 
h1 {
 
h1 {
  font-size: 3.0rem;
+
    font-size: 3.0rem;
  line-height:normal;
+
    line-height: normal;
  padding-bottom:1.4rem;
+
    padding-bottom: 1.4rem;
  padding-top:0.6rem;
+
    padding-top: 0.6rem;
  text-align:center;
+
    text-align: center;
 
}
 
}
 
 
h2 {
 
h2 {
  font-size: 2.4rem;
+
    font-size: 2.4rem;
  line-height:normal;
+
    line-height: normal;
  border-bottom: 1px solid #aaa;
+
    border-bottom: 1px solid #aaa;
  padding-bottom:1.4rem;
+
    padding-bottom: 1.4rem;
  padding-top:0.6rem;
+
    padding-top: 0.6rem;
 
}
 
}
 
 
h3 {
 
h3 {
  font-size: 1.8rem;
+
    font-size: 1.8rem;
line-height:normal;
+
    line-height: normal;
  padding-bottom:0.4rem;
+
    padding-bottom: 0.4rem;
  padding-top:0.6rem;
+
    padding-top: 0.6rem;
 
}
 
}
 
 
h4 {
 
h4 {
  font-size: 1.5rem;
+
    font-size: 1.5rem;
  line-height:normal;
+
    line-height: normal;
  padding-bottom:0.4rem;
+
    padding-bottom: 0.4rem;
  padding-top:0.6rem;
+
    padding-top: 0.6rem;
 
}
 
}
 
 
h5 {
 
h5 {
  font-weight: bold;
+
    font-weight: bold;
  line-height:normal;
+
    line-height: normal;
  font-size: 1.2rem;
+
    font-size: 1.2rem;
  padding-bottom:0rem;
+
    padding-bottom: 0rem;
  padding-top:0rem;
+
    padding-top: 0rem;
 
}
 
}
 
 
.OurContent {
 
.OurContent {
  font-size:1.1rem;
+
    font-size: 1.1rem;
  position:relative;
+
    position: relative;
  top:-2.45rem;
+
    top: -2.45rem;
  padding-bottom:100px;
+
    padding-bottom: 100px;
 
}
 
}
 
 
 
.OurContent p {
 
.OurContent p {
  padding-bottom:0.6rem;
+
    padding-bottom: 0.6rem;
 
}
 
}
 
 
.Main-Center-Column {
 
.Main-Center-Column {
     background-color:white;
+
     background-color: white;
 
}
 
}
 
 
.Center-Content-Column {
 
.Center-Content-Column {
 
     max-width: 980px;
 
     max-width: 980px;
 
     margin: auto;
 
     margin: auto;
     clear:both;
+
     clear: both;
 
     position: relative;
 
     position: relative;
     background-color:white;
+
     background-color: white;
 
}
 
}
 
 
 
.Main-Border {
 
.Main-Border {
 
     max-width: 980px;
 
     max-width: 980px;
 
     margin: auto;
 
     margin: auto;
 
     position: relative;
 
     position: relative;
     box-shadow: 0px 0px 8px 4px rgba(0,0,0,0.5);
+
     box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.5);
     background-color:white;
+
     background-color: white;
     clear:both;
+
     clear: both;
     padding-left:3.0rem;
+
     padding-left: 3.0rem;
     padding-right:3.0rem;
+
     padding-right: 3.0rem;
     padding-bottom:2.0rem;
+
     padding-bottom: 2.0rem;
     padding-top:1rem;
+
     padding-top: 1rem;
 
+
 
}
 
}
 
 
.Main-Center-Content-Column {
 
.Main-Center-Content-Column {
 
     max-width: 980px;
 
     max-width: 980px;
 
     margin: auto;
 
     margin: auto;
 
     position: relative;
 
     position: relative;
     background-color:white;
+
     background-color: white;
   
+
 
}
 
}
 
 
.col-centered {
 
.col-centered {
     padding:0;
+
     padding: 0;
 
}
 
}
 
 
.clearer {
 
.clearer {
 
     clear: both;
 
     clear: both;
 
}
 
}
 
 
 
.nested-ordered-list ol ol li {
 
.nested-ordered-list ol ol li {
 
     margin-left: 2rem;
 
     margin-left: 2rem;
 
}
 
}
 
 
.nested-ordered-list ol {
 
.nested-ordered-list ol {
     list-style-type: decimal;
+
     list-style-type: decimal;
 
}
 
}
 
 
.nested-ordered-list ol ol {
 
.nested-ordered-list ol ol {
     list-style-type: lower-alpha;  
+
     list-style-type: lower-alpha;
 
}
 
}
 +
/*images and boxes */
  
 
/*images and boxes */
 
 
.figure-center {
 
.figure-center {
width:75%;
+
    width: 75%;
margin: 0 auto;
+
    margin: 0 auto;
 
     text-align: center;
 
     text-align: center;
 
}
 
}
 
 
.figure-bordered-center {
 
.figure-bordered-center {
width:75%;
+
    width: 75%;
margin: 0 auto;
+
    margin: 0 auto;
border: 1px solid #000000;
+
    border: 1px solid #000000;
 
}
 
}
 
+
.figure-center-imagebox {
.figure-center-imagebox {  
+
     padding-top: 0.4rem;
     padding-top:0.4rem;
+
    padding-left: 0.4rem;
      padding-left:0.4rem;
+
    padding-right: 0.4rem;
      padding-right:0.4rem;
+
    padding-bottom: 0rem;
      padding-bottom:0rem;
+
 
}
 
}
 
 
.figure-bordered-center-imagebox {
 
.figure-bordered-center-imagebox {
  padding-top:0.4rem;
+
    padding-top: 0.4rem;
      padding-left:0.4rem;
+
    padding-left: 0.4rem;
      padding-right:0.4rem;
+
    padding-right: 0.4rem;
      padding-bottom:0rem;
+
    padding-bottom: 0rem;
 
     border: 1px solid #000000;
 
     border: 1px solid #000000;
 
 
 
}
 
}
 
 
.figure-center-img {
 
.figure-center-img {
     width:100%;
+
     width: 100%;
display: block;
+
    display: block;
 
}
 
}
 
 
.figure-center-caption {
 
.figure-center-caption {
        font-size:1.0rem;
+
    font-size: 1.0rem;
padding-bottom:0.4rem;
+
    padding-bottom: 0.4rem;
        text-align:left;
+
    text-align: left;
 
}
 
}
 
 
.figure-bordered-center-caption {
 
.figure-bordered-center-caption {
padding:0.4rem;
+
    padding: 0.4rem;
     border: 1px solid #000000;
+
     border: 1px solid #000000;
 
}
 
}
 
 
.figure-fullwidth {
 
.figure-fullwidth {
     width:100%;
+
     width: 100%;
margin: 0 auto;
+
    margin: 0 auto;
 
     text-align: center;
 
     text-align: center;
 
}
 
}
 
 
 
.figure-center-accordion {
 
.figure-center-accordion {
width:100%;
+
    width: 100%;
margin: 0 auto;
+
    margin: 0 auto;
 
     text-align: center;
 
     text-align: center;
 
}
 
}
 
 
.YoutubeVideo {
 
.YoutubeVideo {
 
     margin-left: auto;
 
     margin-left: auto;
 
     margin-right: auto;
 
     margin-right: auto;
     width:50%;
+
     width: 50%;
     margin-top:2rem;
+
     margin-top: 2rem;
     margin-bottom:2rem;
+
     margin-bottom: 2rem;
 
}
 
}
 +
/*Bootstrap accordion titles */
  
 
/*Bootstrap accordion titles */
 
 
.panel-title {
 
.panel-title {
  padding-bottom:.8rem;
+
    padding-bottom: .8rem;
 
}
 
}
 
 
/*Accordion box formatting*/
 
/*Accordion box formatting*/
 
/*Accordion panel heading text formatting*/
 
/*Accordion panel heading text formatting*/
 +
 
.panel-heading h4 {
 
.panel-heading h4 {
padding-top: .5rem;
+
    padding-top: .5rem;
padding-bottom: .17rem;
+
    padding-bottom: .17rem;
margin: 0;
+
    margin: 0;
font-weight: 500;
+
    font-weight: 500;
line-height: 1.1;
+
    line-height: 1.1;
font-size: 1.25rem;
+
    font-size: 1.25rem;
overflow:hidden;
+
    overflow: hidden;
text-align: left;
+
    text-align: left;
direction: ltr;
+
    direction: ltr;
 
}
 
}
 
 
.Title-centered {
 
.Title-centered {
 
     text-align: center;
 
     text-align: center;
 
}
 
}
 
 
.Textbox {
 
.Textbox {
margin-top: 0.2rem;
+
    margin-top: 0.2rem;
margin-bottom: 0.2rem;
+
    margin-bottom: 0.2rem;
font-size: 1.2rem;
+
    font-size: 1.2rem;
 
}
 
}
 
 
.Textbox-Left {
 
.Textbox-Left {
     width:50%;
+
     width: 50%;
margin-top: 0.2rem;
+
    margin-top: 0.2rem;
margin-bottom: 0.2rem;
+
    margin-bottom: 0.2rem;
font-size: 1.2rem;
+
    font-size: 1.2rem;
     float: left;  
+
     float: left;
 
}
 
}
 
 
.Textbox-Right {
 
.Textbox-Right {
     width:50%;
+
     width: 50%;
margin-top: 0.2rem;
+
    margin-top: 0.2rem;
margin-bottom: 0.2rem;
+
    margin-bottom: 0.2rem;
font-size: 1.2rem;
+
    font-size: 1.2rem;
     float: right;  
+
     float: right;
 
}
 
}
 
 
 
.Textbox-center {
 
.Textbox-center {
 
     text-align: center;
 
     text-align: center;
margin-top: 0.2rem;
+
    margin-top: 0.2rem;
margin-bottom: 0.2rem;
+
    margin-bottom: 0.2rem;
font-size: 1.2rem;
+
    font-size: 1.2rem;
 
}
 
}
 
 
a.anchor {
 
a.anchor {
 
     display: block;
 
     display: block;
Line 323: Line 272:
 
     visibility: hidden;
 
     visibility: hidden;
 
}
 
}
 +
/*bullet points properties */
  
/*bullet points properties */
 
 
ul {
 
ul {
 
     list-style-position: inside;
 
     list-style-position: inside;
     list-style-image:none;
+
     list-style-image: none;
 
}
 
}
 
 
.nested-ordered-list ol ol li {
 
.nested-ordered-list ol ol li {
 
     margin-left: 2rem;
 
     margin-left: 2rem;
 
}
 
}
 
 
.nested-ordered-list ol {
 
.nested-ordered-list ol {
 
     list-style-type: decimal;
 
     list-style-type: decimal;
     list-style-position: inside;
+
     list-style-position: inside;
 
}
 
}
 
 
.nested-ordered-list ol ol {
 
.nested-ordered-list ol ol {
     list-style-type: lower-alpha;  
+
     list-style-type: lower-alpha;
 
}
 
}
 
 
/*specific elements that do not have their own dedicated css file */
 
/*specific elements that do not have their own dedicated css file */
 
  
 
.TeamPageColumn p {
 
.TeamPageColumn p {
     margin-left:20px;  
+
     margin-left: 20px;
     margin-right:20px;
+
     margin-right: 20px;
     margin-top:20px;
+
     margin-top: 20px;
     margin-bottom:20px;
+
     margin-bottom: 20px;
 
}
 
}
 
 
.FooterWrapper {
 
.FooterWrapper {
  position:absolute;
+
    position: absolute;
  bottom:0;
+
    bottom: 0;
  text-align: center;
+
    text-align: center;
        width: 100%;
+
    width: 100%;
        height: 100px;
+
    height: 100px;
     padding:0!important;
+
     padding: 0!important;
     margin:-80px;
+
     margin: -80px;
     background-image:url(https://static.igem.org/mediawiki/2014/c/c5/Wageningen_UR_footer.png);
+
     background-image: url(https://static.igem.org/mediawiki/2014/c/c5/Wageningen_UR_footer.png);
     background-color:white;
+
     background-color: white;
 
     background-position: 0% -8%;
 
     background-position: 0% -8%;
background-repeat: repeat-x;
+
    background-repeat: repeat-x;
 
+
 
}
 
}
 
.FooterMainColumn {
 
.FooterMainColumn {
     position:relative;
+
     position: relative;
     height:100%;
+
     height: 100%;
     background-color:transparent;
+
     background-color: transparent;
     padding:0!important;
+
     padding: 0!important;
 
}
 
}
 
 
 
#Footer {
 
#Footer {
        position:relative;
+
    position: relative;
        text-align: center;
+
    text-align: center;
        width: 100%;
+
    width: 100%;
        height: 100%;
+
    height: 100%;
        top:0px;
+
    top: 0px;
    }
+
}
    #Footer p {      
+
#Footer p {
        margin:0;
+
    margin: 0;
        padding:0;
+
    padding: 0;
        font-family: roboto, sans-serif;
+
    font-family: roboto, sans-serif;
        text-align: center;
+
    text-align: center;
    }
+
}
    .clearer {
+
.clearer {
        clear: both;
+
    clear: both;
    }
+
}
 
}
 
}
 
 
#breadcrumb-wrapper {
 
#breadcrumb-wrapper {
margin:0;
+
    margin: 0;
     padding-bottom:2rem;
+
     padding-bottom: 2rem;
position:relative;
+
    position: relative;
 
}
 
}
 
 
.breadcrumb {
 
.breadcrumb {
position:relative;
+
    position: relative;
 
}
 
}
 +
/* Style the list */
  
/* Style the list */
 
 
ul.breadcrumb {
 
ul.breadcrumb {
     margin:0;
+
     margin: 0;
     padding:0;
+
     padding: 0;
 
     list-style: none;
 
     list-style: none;
 
     background-color: #FFFFFF;
 
     background-color: #FFFFFF;
 
}
 
}
 
 
/* Display list items side by side */
 
/* Display list items side by side */
 +
 
ul.breadcrumb li {
 
ul.breadcrumb li {
 
     display: inline;
 
     display: inline;
font-size: 1.2rem;
+
    font-size: 1.2rem;
 
}
 
}
 
 
/* Add a slash symbol (/) before/behind each list item */
 
/* Add a slash symbol (/) before/behind each list item */
 +
 
ul.breadcrumb li+li:before {
 
ul.breadcrumb li+li:before {
 
     padding: 0.1rem;
 
     padding: 0.1rem;
Line 423: Line 361:
 
     content: "/\00a0";
 
     content: "/\00a0";
 
}
 
}
 
 
/* Add a color to all links inside the list */
 
/* Add a color to all links inside the list */
 +
 
ul.breadcrumb li a {
 
ul.breadcrumb li a {
 
     color: #0275d8;
 
     color: #0275d8;
 
     text-decoration: none;
 
     text-decoration: none;
 
}
 
}
 +
/* Add a color on mouse-over */
  
/* Add a color on mouse-over */
 
 
ul.breadcrumb li a:hover {
 
ul.breadcrumb li a:hover {
 
     color: #01447e;
 
     color: #01447e;
 
     text-decoration: underline;
 
     text-decoration: underline;
}
 
 
.Citations li{
 
font-size: 0.7rem;
 
 
 
}
 
}
 +
.Citations li {
 +
    font-size: 0.7rem;
 +
}
 +
/*Split page in top 90% and bottom 10% for down arrow*/
  
 
/*Split page in top 90% and bottom 10% for down arrow*/
 
 
#DownArrow {
 
#DownArrow {
 
     display: none;
 
     display: none;
Line 452: Line 387:
 
     margin-top: -100px;
 
     margin-top: -100px;
 
     margin-left: -100px;
 
     margin-left: -100px;
opacity: 0.5;
+
    opacity: 0.5;
z-index: 999;
+
    z-index: 999;
 
}
 
}
 +
</style> <script>
 +
/*after all code was executed, unhide page */
  
</style>
+
document.getElementById('loading-mask').style.display='none';
 
+
<script>
+
/*after all code was executed, unhide page */
+
  document.getElementById('loading-mask').style.display='none';
+
 
</script>
 
</script>
  

Revision as of 12:51, 23 October 2017