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

 
(223 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Wageningen_UR/BootstrapCSS}}
 
{{Wageningen_UR/BootstrapCSS}}
{{Wageningen_UR/FontAwesomeCSS}}
 
  
 
<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;
  min-height:100%;
+
    margin: 0;
  min-width:100%;
+
    overflow-y: scroll;
 
}
 
}
 
 
body {
 
body {
     position:fixed;
+
     height: 100%;
     min-height:100%;
+
     padding: 0;
     min-width:100%;
+
     margin: 0;
 +
    background-color: white;
 
}
 
}
 
 
#globalWrapper {
 
#globalWrapper {
  position:fixed;
+
    min-height: 100%;
  min-height:100%;
+
    margin: 0;
  min-width;100%;
+
    padding: 0!important;
 +
    font-size: initial;
 
}
 
}
  
#sideMenu, #top_title {
+
#sideMenu,
 +
#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 {
 +
    width:100%;
 +
    min-width: 100%!important;
 +
    margin: 0;
 +
    padding: 0;
 +
    top: -10px;
 
}
 
}
 
 
#mw-content-text {
 
#mw-content-text {
     position:fixed;
+
     position:relative;
     margin:0;
+
     margin: 0;
     padding:0;
+
     padding: 0;
     left:0;
+
     left: 0;  
    top:18px;
+
     font-size: 100%;
     font-size:100%;
+
    min-width:100%;
+
    min-height: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");
 +
    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,h2,h3,h4,h5,h6 {
+
h1,
  color:black;
+
h2,
  background:none;
+
h3,
  font-weight:normal;
+
h4,
  margin:0;
+
h5,
  overflow:hidden;
+
h6 {
  padding-top:.5rem;
+
    font-family: 'roboto', sans-serif !important;
  padding-bottom:.17rem;
+
    color: black;
 +
    background: none;
 +
    font-weight: normal;
 +
    margin-bottom: 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 {
     margin:0;
+
     font-size: 1.1rem !important;
     padding:0;
+
     font-family: 'roboto', sans-serif !important;
 +
    line-height:1.5;
 +
    text-align:left!important;
 +
    color: #1d2129;
 
}
 
}
 
 
h1 {
 
h1 {
  font-size: 3.125rem;
+
    font-size: 3.0rem;
  margin-bottom:20px;
+
    line-height: normal;
  text-align:center;
+
    padding-bottom: 1.4rem;
 +
    margin-top: 3rem;
 +
    text-align: center;
 
}
 
}
 
 
h2 {
 
h2 {
  font-size: 2.25rem;
+
    font-size: 2.4rem;
  border-bottom: 1px solid #aaa;
+
    line-height: normal;
  margin-bottom:20px;
+
    border-bottom: 1px solid #aaa;
 +
    padding-bottom: 0.4rem;
 +
    padding-top: 1.0rem;
 
}
 
}
 
 
h3 {
 
h3 {
  font-size: 1.75rem;
+
    font-size: 1.8rem;
 +
    line-height: normal;
 +
    padding-bottom: 0.4rem;
 +
    padding-top: 0.6rem;
 
}
 
}
 
 
h4 {
 
h4 {
  font-size: 1.25rem;
+
    font-size: 1.5rem;
 +
    line-height: normal;
 +
    padding-bottom: 0.4rem;
 +
    padding-top: 0.6rem;
 
}
 
}
 
 
h5 {
 
h5 {
  font-weight: bold;
+
    font-weight: bold;
  font-size: 1.0rem;
+
    line-height: normal;
 +
    font-size: 1.2rem;
 +
    padding-bottom: 0rem;
 +
    padding-top: 0rem;
 
}
 
}
  
  
 +
.OurContent {
 +
    font-size: 1.1rem;
 +
    position: relative;
 +
    top: -0.6rem;
 +
    padding-bottom: 100px;
 +
}
 +
.OurContent p {
 +
    padding-bottom: 0.6rem;
 +
}
 
.Main-Center-Column {
 
.Main-Center-Column {
     background-color:white;
+
     background-color: transparant;  
    border-left: 2px solid gray;
+
}
    border-right: 2px solid gray;
+
 
    border-bottom: 2px solid gray;
+
.Main-Left-Column {
 +
  padding:0;
 +
}
 +
 
 +
.Main-Right-Column {
 +
  padding:0;
 
}
 
}
  
 
.Center-Content-Column {
 
.Center-Content-Column {
     max-width: 1024px;
+
     max-width: 980px;
 
     margin: auto;
 
     margin: auto;
    position: relative;
 
 
     clear: both;
 
     clear: both;
     background-color:white;
+
    position: relative;
     border-left: 2px solid gray;
+
     background-color: white;
     border-right: 2px solid gray;
+
}
     border-bottom: 2px solid gray;
+
.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 {
 
.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;
margin:12px;
+
    padding-left: 0.4rem;
 +
    padding-right: 0.4rem;
 +
    padding-bottom: 0rem;
 
}
 
}
 
 
.figure-bordered-center-imagebox {
 
.figure-bordered-center-imagebox {
     margin:12px;
+
     padding-top: 0.4rem;
     border: 1px solid #000000;
+
    padding-left: 0.4rem;
 +
    padding-right: 0.4rem;
 +
    padding-bottom: 0rem;
 +
     border: 1px solid #000000;
 
}
 
}
 
 
.figure-center-img {
 
.figure-center-img {
     width:100%;
+
     width: 100%;
display: block;
+
    display: block;
 
}
 
}
 
 
.figure-center-caption {
 
.figure-center-caption {
margin:12px;
+
    font-size: 0.8rem;
 +
    padding-bottom: 0.8rem;
 
}
 
}
 
 
.figure-bordered-center-caption {
 
.figure-bordered-center-caption {
margin:12px;
+
    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;
 
}
 
}
 +
 +
.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 {
 
.YoutubeVideo {
 
     margin-left: auto;
 
     margin-left: auto;
 
     margin-right: auto;
 
     margin-right: auto;
     width:50%;
+
     width: 50%;
     margin-top:20px;
+
     margin-top: 2rem;
     margin-bottom:20px;
+
     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 {
 
.Title-centered {
 
     text-align: center;
 
     text-align: center;
 
}
 
}
 
 
.Textbox {
 
.Textbox {
margin-top: 4px;
+
    margin-top: 0.2rem;
margin-bottom: 4px;
+
    margin-bottom: 0.2rem;
font-size: 1.0rem;
+
    font-size: 1.2rem;
 
}
 
}
 
 
.Textbox-Left {
 
.Textbox-Left {
     width:50%;
+
     width: 50%;
margin-top: 4px;
+
    margin-top: 0.2rem;
margin-bottom: 4px;
+
    margin-bottom: 0.2rem;
font-size: 1.0rem;
+
    font-size: 1.2rem;
     float: left;  
+
     float: left;
 
}
 
}
 
 
.Textbox-Right {
 
.Textbox-Right {
     width:50%;
+
     width: 50%;
margin-top: 4px;
+
    margin-top: 0.2rem;
margin-bottom: 4px;
+
    margin-bottom: 0.2rem;
font-size: 1.0rem;
+
    font-size: 1.2rem;
     float: right;  
+
     float: right;
 
}
 
}
 
 
 
.Textbox-center {
 
.Textbox-center {
 
     text-align: center;
 
     text-align: center;
margin-top: 4px;
+
    margin-top: 0.2rem;
margin-bottom: 4px;
+
    margin-bottom: 0.2rem;
font-size: 1.0rem;
+
    font-size: 1.2rem;
 
}
 
}
 
.Overviewbox-Left {
 
    width:50%;
 
margin-top: 4px;
 
margin-bottom: 4px;
 
font-size: 1.0rem;
 
    float: left;   
 
}
 
 
.Overviewbox-Right {
 
    width:50%;
 
margin-top: 4px;
 
margin-bottom: 4px;
 
font-size: 1.0rem;
 
    float: right; 
 
 
}
 
 
.Overviewbox {
 
    width:100%;
 
margin: 0 auto;
 
    text-align: center;
 
    padding:2%;
 
}
 
 
.overview-figure {
 
    width:100%;
 
    margin:auto;
 
}
 
 
.Overviewbox:hover {
 
    -moz-transform: scale(1.05);
 
    -webkit-transform: scale(1.05);
 
    -o-transform: scale(1.05);
 
    transform: scale(1.05); 
 
}
 
 
 
a.anchor {
 
a.anchor {
 
     display: block;
 
     display: block;
 
     position: relative;
 
     position: relative;
     top: -105px;
+
     top: -16px;
 
     visibility: hidden;
 
     visibility: hidden;
 
}
 
}
 
 
/*bullet points properties */
 
/*bullet points properties */
 +
 
ul {
 
ul {
 
     list-style-position: inside;
 
     list-style-position: inside;
 +
    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 {
 +
    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;
 
}
 
}
  
.Member-Profile {
+
.FooterMainColumn {   
     display:table;
+
    position: relative;
     margin: auto;
+
    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;
 
}
 
}
  
.Member-Photo {
+
.clearer {
     width:200px;
+
     clear: both;
    position:relative;
+
    float:left;
+
 
}
 
}
 +
#breadcrumb-wrapper {
 +
    margin: 0;
 +
    padding-bottom: 2rem;
 +
    position: relative;
 +
}
 +
.breadcrumb {
 +
    position: relative;
 +
}
 +
/* Style the list */
  
.Member-desc {
+
ul.breadcrumb {
     position:relative;
+
     margin: 0;
     overflow:hidden;
+
     padding: 0;
     padding-left:20px;
+
     list-style: none;
 +
    background-color: #FFFFFF;
 
}
 
}
 +
/* Display list items side by side */
  
.Member-desc p {
+
ul.breadcrumb li {
     line-height:1.0;
+
     display: inline;
 +
    font-size: 1.2rem;
 
}
 
}
 +
/* Add a slash symbol (/) before/behind each list item */
  
 
+
ul.breadcrumb li+li:before {
.FooterWrapper {
+
    padding: 0.1rem;
  position:fixed;
+
    color: black;
  bottom:0;
+
     content: "/\00a0";
  text-align: center;
+
        width: 100%;
+
        height: 48px;
+
     background-color:white;
+
 
+
 
}
 
}
 +
/* Add a color to all links inside the list */
  
#Footer {
+
ul.breadcrumb li a {
        position:relative;
+
    color: #0275d8;
        text-align: center;
+
     text-decoration: none;
        width: 100%;
+
        height: 100%;
+
        top:-48px;
+
     }
+
    #Footer p {       
+
        padding-top: 32px;
+
        margin-top: 0px;
+
        margin-bottom: 0px;
+
        vertical-align: baseline;
+
        font-family: roboto, sans-serif;
+
        text-align: center;
+
        line-height: 3rem;
+
        font-size: 0.7rem;
+
    }
+
    .clearer {
+
        clear: both;
+
    }
+
 
}
 
}
 +
/* 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*/
 
/*Split page in top 90% and bottom 10% for down arrow*/
 +
 
#DownArrow {
 
#DownArrow {
 
     display: none;
 
     display: none;
Line 372: Line 436:
 
     margin-top: -100px;
 
     margin-top: -100px;
 
     margin-left: -100px;
 
     margin-left: -100px;
opacity: 0.5;
+
    opacity: 0.5;
z-index: 999;
+
    z-index: 10;
 
}
 
}
 +
</style> <script>
 +
/*after all code was executed, unhide page */
 +
 +
document.getElementById('loading-mask').style.display='none';
 +
</script>
  
</style>
 
 
</html>
 
</html>
 +
 +
{{Wageningen_UR/FontAwesomeCSS}}

Latest revision as of 19:34, 1 November 2017