(223 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Wageningen_UR/BootstrapCSS}} | {{Wageningen_UR/BootstrapCSS}} | ||
− | |||
<html> | <html> | ||
<style> | <style> | ||
− | |||
/*Remove standard formatting of iGEM HQ */ | /*Remove standard formatting of iGEM HQ */ | ||
+ | /* set page to fill window*/ | ||
− | + | html { | |
− | + | height: 100%; | |
− | html { | + | padding: 0; |
− | + | margin: 0; | |
− | + | overflow-y: scroll; | |
} | } | ||
− | |||
body { | body { | ||
− | + | height: 100%; | |
− | + | padding: 0; | |
− | + | margin: 0; | |
+ | background-color: white; | ||
} | } | ||
− | |||
#globalWrapper { | #globalWrapper { | ||
− | + | min-height: 100%; | |
− | + | margin: 0; | |
− | + | 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; | |
+ | } | ||
+ | #content { | ||
+ | width:100%; | ||
+ | min-width: 100%!important; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | top: -10px; | ||
} | } | ||
− | |||
#mw-content-text { | #mw-content-text { | ||
− | position: | + | position:relative; |
− | margin:0; | + | margin: 0; |
− | padding:0; | + | padding: 0; |
− | left:0; | + | left: 0; |
− | + | font-size: 100%; | |
− | font-size | + | |
− | + | ||
− | + | ||
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 { | |
− | + | font-family: 'roboto', sans-serif !important; | |
− | + | 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 { | ||
− | + | font-size: 1.1rem !important; | |
− | + | font-family: 'roboto', sans-serif !important; | |
+ | line-height:1.5; | ||
+ | text-align:left!important; | ||
+ | color: #1d2129; | ||
} | } | ||
− | |||
h1 { | h1 { | ||
− | + | font-size: 3.0rem; | |
− | + | line-height: normal; | |
− | + | padding-bottom: 1.4rem; | |
+ | margin-top: 3rem; | ||
+ | text-align: center; | ||
} | } | ||
− | |||
h2 { | h2 { | ||
− | + | font-size: 2.4rem; | |
− | + | line-height: normal; | |
− | + | border-bottom: 1px solid #aaa; | |
+ | padding-bottom: 0.4rem; | ||
+ | padding-top: 1.0rem; | ||
} | } | ||
− | |||
h3 { | h3 { | ||
− | + | font-size: 1.8rem; | |
+ | line-height: normal; | ||
+ | padding-bottom: 0.4rem; | ||
+ | padding-top: 0.6rem; | ||
} | } | ||
− | |||
h4 { | h4 { | ||
− | + | font-size: 1.5rem; | |
+ | line-height: normal; | ||
+ | padding-bottom: 0.4rem; | ||
+ | padding-top: 0.6rem; | ||
} | } | ||
− | |||
h5 { | h5 { | ||
− | + | font-weight: bold; | |
− | + | 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: | + | background-color: transparant; |
− | + | } | |
− | + | ||
− | + | .Main-Left-Column { | |
+ | padding:0; | ||
+ | } | ||
+ | |||
+ | .Main-Right-Column { | ||
+ | padding:0; | ||
} | } | ||
.Center-Content-Column { | .Center-Content-Column { | ||
− | max-width: | + | max-width: 980px; |
margin: auto; | margin: auto; | ||
− | |||
clear: both; | clear: both; | ||
− | background-color:white; | + | 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 { | .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 */ | ||
− | |||
− | |||
.figure-center { | .figure-center { | ||
− | + | width: 75%; | |
− | + | margin: 0 auto; | |
text-align: center; | text-align: center; | ||
} | } | ||
− | |||
.figure-bordered-center { | .figure-bordered-center { | ||
− | + | width: 75%; | |
− | + | margin: 0 auto; | |
− | + | border: 1px solid #000000; | |
} | } | ||
− | + | .figure-center-imagebox { | |
− | .figure-center-imagebox { | + | padding-top: 0.4rem; |
− | + | padding-left: 0.4rem; | |
+ | padding-right: 0.4rem; | ||
+ | padding-bottom: 0rem; | ||
} | } | ||
− | |||
.figure-bordered-center-imagebox { | .figure-bordered-center-imagebox { | ||
− | + | 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; | |
} | } | ||
− | |||
.figure-center-caption { | .figure-center-caption { | ||
− | + | font-size: 0.8rem; | |
+ | padding-bottom: 0.8rem; | ||
} | } | ||
− | |||
.figure-bordered-center-caption { | .figure-bordered-center-caption { | ||
− | + | padding: 0.4rem; | |
− | border: 1px solid #000000; | + | border: 1px solid #000000; |
} | } | ||
− | |||
.figure-fullwidth { | .figure-fullwidth { | ||
− | width:100%; | + | width: 100%; |
− | + | margin: 0 auto; | |
text-align: center; | text-align: center; | ||
} | } | ||
− | |||
− | |||
.figure-center-accordion { | .figure-center-accordion { | ||
− | + | width: 100%; | |
− | + | 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: | + | margin-top: 2rem; |
− | margin-bottom: | + | 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: 0.2rem; | |
− | + | margin-bottom: 0.2rem; | |
− | + | font-size: 1.2rem; | |
} | } | ||
− | |||
.Textbox-Left { | .Textbox-Left { | ||
− | width:50%; | + | width: 50%; |
− | + | margin-top: 0.2rem; | |
− | + | margin-bottom: 0.2rem; | |
− | + | font-size: 1.2rem; | |
− | float: left; | + | float: left; |
} | } | ||
− | |||
.Textbox-Right { | .Textbox-Right { | ||
− | width:50%; | + | width: 50%; |
− | + | margin-top: 0.2rem; | |
− | + | margin-bottom: 0.2rem; | |
− | + | font-size: 1.2rem; | |
− | float: right; | + | float: right; |
} | } | ||
− | |||
− | |||
.Textbox-center { | .Textbox-center { | ||
text-align: center; | text-align: center; | ||
− | + | margin-top: 0.2rem; | |
− | + | margin-bottom: 0.2rem; | |
− | + | font-size: 1.2rem; | |
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
a.anchor { | a.anchor { | ||
display: block; | display: block; | ||
position: relative; | position: relative; | ||
− | top: - | + | 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; | ||
} | } | ||
− | . | + | .FooterMainColumn { |
− | + | position: relative; | |
− | margin: | + | 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*/ | /*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; | |
− | + | z-index: 10; | |
} | } | ||
+ | </style> <script> | ||
+ | /*after all code was executed, unhide page */ | ||
+ | |||
+ | document.getElementById('loading-mask').style.display='none'; | ||
+ | </script> | ||
− | |||
</html> | </html> | ||
+ | |||
+ | {{Wageningen_UR/FontAwesomeCSS}} |
Latest revision as of 19:34, 1 November 2017