Line 31: | Line 31: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 19:40, 17 July 2017
/****************************************************************************************************************/ /************************************** OVERWRITES DEFAULT WIKI SETTINGS ****************************************/ /************************************************* (iGEM CODE) **************************************************/ /****************************************************************************************************************/
/* Clear the default wiki settings */ #home_logo, #sideMenu { display:none; } #sideMenu, #top_title, .patrollink { display:none; } #content { width: 100%; padding: 0px; margin-top: -7px; margin-left: 0px; }
body { background-color: white; }
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
/****************************************************************************************************************/ /************************************* PARALLAX IMAGE (WHOLE SPLASH SCREEN) *************************************/ /****************************************************************************************************************/
/***** creates the parallax effect on main page when scrooling *****/ #windowcontent .parallax { position: relative; z-index: -1; background-image: url(""); width: inherit;
/***** height is viewport height +1.5% of viewport height (matches with the height of .parralaxfade) *****/ height: 101.5vh; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; min-width: 1000px; }
/***** sets position and style for the headline text on main page *****/
#windowcontent .homepageheadline { display: block; margin: auto; width: 700px; padding-top: 15vh; }
/***** styles line one in the headline text on main page *****/
#windowcontent #homepageheadline1 { font-size: 5em; color: white; font-family: sans-serif; text-shadow: 2px 2px 6px #727272; text-align: center; }
/***** styles line two in the headline text on main page *****/
#windowcontent #homepageheadline2 { font-size: 3em; color: white; font-family: sans-serif; text-shadow: 0px 0px 5px #727272; text-align: center; }
/***** creates a fade from parallax image to main content. Height fits extra height in .parallax *****/
#windowcontent .parallaxfade { width: inherit; height: 1.5vh; position: absolute; bottom: 0px; background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.1)); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.1)); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.1)); /* For Firefox 3.6 to 15 */ background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,1)); /* Standard syntax (must be last) */ }
/****************************************************************************************************************/
/************************************************* MAIN CONTENT *************************************************/
/****************************************************************************************************************/
/***** styles main text area on main page *****/
#windowcontent .maincontainer { margin: 100px auto; width: 1000px; text-align: justify; clear: both; display: table; }
/***** container for the two pictures in top of main content *****/ #windowcontent .imgmenu { max-width: 100%; margin: 70px auto 100px auto; overflow: hidden; }
/***** sets container for the individual pictures *****/
#windowcontent .imgmenuitem { position: relative; width: 100%; max-width: 700px; margin: 0px auto; height: 400px; border-radius: 20px; overflow: hidden; cursor: pointer; }
/***** sets layout for the pictures themselves *****/ #windowcontent .imgmenucontent { height: 100%; width: 100%; background-size: cover; background-repeat: no-repeat; -webkit-transition: all .5s; -moz-transition: all .5s; -o-transition: all .5s; transition: all .5s; }
/***** the different images are styled *****/
#windowcontent .img1 { background-image: url(""); opacity: 0.9; -webkit-filter: brightness(1.2); filter: brightness(1.2); background-position: -200px center; } #windowcontent .img2 { background-image: url(""); background-position: -200px -20px; }
/***** zooms picture when hovered *****/ #windowcontent .imgmenuitem:hover .imgmenucontent, #windowcontent .imgmenuitem:focus .imgmenucontent { -ms-transform: scale(1.1); -moz-transform: scale(1.1); -webkit-transform: scale(1.1); -o-transform: scale(1.1); transform: scale(1.1); opacity: 0.5; }
/***** sets layout of picture overlay *****/
#windowcontent .imgmenuoverlay { position: absolute; transition: 0.5s ease; background-color: rgba(50,50,50,0.6); padding: 16px 12px; width: 100%; height: 40%; bottom: 0px; }
/***** changes layout of overlay on pictures when hovered *****/
#windowcontent .imgmenuitem:hover .imgmenuoverlay, #windowcontent .imgmenuitem:focus .imgmenuoverlay { background-color: rgba(50,50,50,0.9); }
/***** sets style of the text in the overlay *****/ #windowcontent .imgmenuitem a * { color: white; cursor: pointer; text-decoration: none; }
/***** sets style of the header in the overlay *****/
#windowcontent .imgmenuitem a *:first-child { width: 100%; border-bottom: 1px solid white; text-align: center; }
/***** styles the paragraph in the overlay *****/ #windowcontent .imgmenuitem a p { font-size: 14px; }
/****************************************************************************************************************/ /**************************************************** FOOTER ****************************************************/ /****************************************************************************************************************/
/***** styles main footer area *****/ #windowcontent footer { background: #848282; color: white; width: 100%; min-width: 1000px; position: absolute; text-align: center; color: white; font-size: x-small; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; }
/***** defines a container of same width as main content that contains footer content *****/
#windowcontent .footercontainer { width: 1000px; margin: 20px auto 25px auto; }
/***** centers footer content in the individual columns *****/ #windowcontent .footercolstyle * { align-content: center; text-align: center; }
#windowcontent .footercolstyle a { padding: 0px; }
/***** styles left footer column *****/ #windowcontent .leftfootercol { float: left; }
/***** styles right footer column *****/
#windowcontent .rightfootercol { float: right; }
/***** gives space between the "find us at" icons *****/ #windowcontent footer img { margin: 10px; }