Line 441: | Line 441: | ||
img { max-width: 100%; height: auto; } | img { max-width: 100%; height: auto; } | ||
+ | .thumbinner { width: 100%; } |
Revision as of 18:19, 1 November 2017
html {
box-sizing: border-box;
}
- , *:before, *:after {
box-sizing: inherit;
}
- target {
display:inline-block; padding-top: 3em; margin-top: -3em;
}
- pageTitle h1:empty { display: none; }
/********************************************* DEFAULT WIKI SETTINGS *********************************************/
/* 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; background: #232323; color: #fff;} body {background-color:#232323; color:#fff; } #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
/***************************************************** MENU *******************************************************/ h1, h2, h3, h4, h5, h6 { color: #fff; border: none; } div.thumb div, div.thumb, div.thumbinner { border: 0; background: #232323; } div.thumb div a img { border: 0; }
- toc h2, .toc h2 { color: #ffffff; }
- toc, .toc {background: #232323; border: 0; padding:0; padding-bottom: 1em;}
- toctitle { display : none; }
.tocnumber { display: none; } .igem_2017_content_wrapper #toc a { text-decoration : none; }
/* Wrapper for the menu */ .igem_2017_menu_wrapper { background-color: #f6da05; color: #232323;
position: sticky; top: 16px; z-index: 1;
}
.igem_2017_menu_wrapper ul { display: flex; list-style: none; padding: 1em 0; margin: 0 auto; max-width: 60em; }
.igem_2017_menu_wrapper #menu_content li { margin: 0; padding: 0; }
/* styling for links in the menu, removes the line under text */ .igem_2017_menu_wrapper a { text-decoration: none; color: #232323; padding: 0.5em 0; margin: 0 1em; font-weight: bold; cursor: pointer; }
.igem_2017_menu_wrapper a:hover { border-bottom: 4px #232323 solid; }
/* styling for the images in the menu */ .igem_2017_menu_wrapper img { width: 50%; }
/* when the page size is bigger than 800px, this show/hide control is hidden by default */
.igem_2017_menu_wrapper #display_menu_control {
display:none;
text-align:center;
cursor: pointer; padding: 0.5em;
}
/******************************************* CONTENT OF THE PAGE **************************************************/
- bodyContent {
font-size: 16px; line-height: 21px;
}
/* Wrapper for the content */
.igem_2017_content_wrapper { margin: 0 auto; padding: 1em; max-width: 60em; font-family: Lato, sans-serif; font-family: sans-serif; font-size: 1em; line-height: 1.3125em; }
/********************************* HTML STYLING *********************************/
.igem_2017_content_wrapper p img { max-width: 100%; height: auto; }
- bodyContent h1 {
font-size: 3.375em; line-height: 1.16666667em; margin-top: 0.38888889em; margin-bottom: 0.77777778em; padding-top: 0; padding-bottom: 0; border-bottom: 0px; color: #fff; font-family: 'Merriweather Sans', sans-serif;
}
- bodyContent .igem_2017_content_wrapper h2 {
font-size: 2.27777778em; line-height: 1.12195122em; margin-top: 0.56097561em; margin-bottom: 0.56097561em; padding-top: 0; padding-bottom: 0; border-bottom: 0px; color: #fff; font-family: 'Merriweather Sans', sans-serif;
}
/* styling for the titles h3 h4 h5 h6*/
- bodyContent .igem_2017_content_wrapper h3, #bodyContent .igem_2017_content_wrapper h4, #bodyContent .igem_2017_content_wrapper h5, #bodyContent .igem_2017_content_wrapper h6 {
border-bottom:0px; padding-top: 0; padding-bottom: 0; color: #fff; font-family: 'Merriweather Sans', sans-serif;
}
- bodyContent .igem_2017_content_wrapper h3 {
font-size: 1.5em; line-height: 1.7037037em; margin-top: 0.85185185em; margin-bottom: 0em;
}
- bodyContent .igem_2017_content_wrapper h4 {
font-size: 1em; line-height: 1.27777778em; margin-top: 1.27777778em; margin-bottom: 0em;
}
- bodyContent .igem_2017_content_wrapper h5 {
font-size: 1em; line-height: 1.27777778em; margin-top: 1.27777778em; margin-bottom: 0em;
}
.igem_2017_content_wrapper p, .igem_2017_content_wrapper ul, .igem_2017_content_wrapper ol, .igem_2017_content_wrapper pre, .igem_2017_content_wrapper table, .igem_2017_content_wrapper blockquote {
margin-top: 0em; margin-bottom: 1.27777778em; padding-top: 0; padding-bottom: 0; text-align: justify; padding:0;
}
.igem_2017_content_wrapper ul {
list-style: circle;
}
.igem_2017_content_wrapper ul ul, .igem_2017_content_wrapper ol ol, .igem_2017_content_wrapper ul ol, .igem_2017_content_wrapper ol ul {
margin-top: 0em; margin-bottom: 0em; padding-top: 0; padding-bottom: 0;
}
/* Links */
.igem_2017_content_wrapper a, .igem_2017_content_wrapper a.external {
font-weight: bold;
text-decoration: none;
color: #f6da05;
-webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;
-ms-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
transition: all 0.4s ease;
}
.igem_2017_content_wrapper a.external, #bodyContent .igem_2017_content_wrapper a.link-https { background: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjEyOHB4IiBoZWlnaHQ9IjEyOHB4IiB2aWV3Qm94PSIwIDAgNDM4LjUzNiA0MzguNTM2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MzguNTM2IDQzOC41MzY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNNDE0LjQxLDI0LjEyM0MzOTguMzMzLDguMDQyLDM3OC45NjMsMCwzNTYuMzE1LDBIODIuMjI4QzU5LjU4LDAsN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WMjI4LjQwMnoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K) center right no-repeat; background-size: 0.8em 0.8em; padding-right: 1em; }
.mw-body .igem_2017_content_wrapper a.external:visited, .mw-body .igem_2017_content_wrapper a.link-https:visited .mw-body .igem_2017_content_wrapper a:visited { color: #ddb204; }
/* hover for the links */ .igem_2017_content_wrapper a:hover { text-decoration:none; color:#fff; }
/* Table */ .igem_2017_content_wrapper table { /*width: 97%;*/ margin:15px 10px; border: 1px solid #d3d3d3; border-collapse: collapse; }
/* table cells */ .igem_2017_content_wrapper td { padding: 10px; vertical-align: text-top; border: 1px solid #d3d3d3; border-collapse: collapse; }
/* table headers */ .igem_2017_content_wrapper th { padding: 10px; vertical-align: text-top; border: 1px solid #d3d3d3; border-collapse: collapse; background-color:#222; }
/**********************************LAYOUT CLASSES **********************************/
/* general class for column divs */ .igem_2017_content_wrapper .column { padding: 10px 0px; float:left; }
/* class for a full width column */ .column .full_size { width:100%; }
/* styling for images in a full width column*/ .column.full_size img { width:97%; padding: 10px 15px; }
/* class for a half width column */ .column.half_size { width: 50%; }
/* styling for images in a half width column*/ .column.half_size img { width: 94.5%; padding: 10px 15px; }
/********************************* SUPPORT CLASSES ********************************/
/* class that clears content below*/ .igem_2017_content_wrapper .clear { clear:both; }
/* adds extra spacing when clearing content */
.igem_2017_content_wrapper .clear.extra_space {
height: 30px;
}
/* highlight class, makes content slightly smaller */
.igem_2017_content_wrapper .highlight {
margin: 0px 15px;
padding: 15px 0px;
}
/* highlight class, adds a gray background */
.igem_2017_content_wrapper .highlight.gray {
background-color: #f2f2f2;
}
/* highlight with decoration blue line on top */ .igem_2017_content_wrapper .highlight.blue_top {
border-top: 4px solid #3399ff;
}
/* highlight with a full blue border decoration */ .igem_2017_content_wrapper .highlight.blue_border {
border: 4px solid #3399ff;
}
/* button class */
.igem_2017_content_wrapper .button{
max-width: 35%;
margin: 30px auto;
padding: 12px 10px;
background-color: #3399ff; text-align: center; color: #ffffff;
-webkit-transition: all 0.4s ease; -moz-transition: all 0.4s ease; -ms-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease; }
/* styling for button on hover */ .igem_2017_content_wrapper .button:hover{ background-color: #3399ff;
color: #000000;
}
/************************************************ RESPONSIVE STYLING **********************************************/
/* IF THE SCREEN IS LESS THAN 1200PX @media only screen and (max-width: 1200px) {
#content {width:100%; } .igem_2017_menu_wrapper {width:15%; right:0;} .highlight {padding:10px 0px;} .igem_2017_menu_wrapper #display_menu_control { display:none; } #menu_content { display:block;} .menu_button.direct_to_page {padding-left: 17px;}
}*/
/* IF THE SCREEN IS LESS THAN 800PX */ @media only screen and (max-width: 1200px) {
.igem_2017_menu_wrapper { width:100%; /*height: 15%;*/ position:relative; left:0%;} .igem_2017_menu_wrapper ul { flex-direction: column; }
/*.igem_2017_content_wrapper {width:100%; margin-left:0px;}*/ .column.half_size {width:100%; } .column.full_size img, .column.half_size img { width: 100%; padding: 10px 0px;} .highlight {padding:15px 5px;} .igem_2017_menu_wrapper #display_menu_control { display:block; } .igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; } .menu_bottom_padding {display:none;} .menu_button.direct_to_page { padding-left: 36px; }
.igem_2017_menu_wrapper a:hover { border-bottom: 0; padding: 0; } .hide_menu { display: none !important; }
}
/* special class that the system uses to make sure the team wants a page to be evaluated */ .judges-will-not-evaluate {
width: 96.6%; margin: 5px 15px; display: block; border: 4px solid #3399ff; font-weight: bold;
} .row-icons { margin: 1em 0; clear: both; } .row-icons ul { display: flex; flex-wrap: wrap; justify-content: space-around; margin: 0; padding: 0; text-align: left;
}
.row-icons ul li { list-style: none; } .row-icons ul li a {
/*background: #fff;*/ padding: 1.5em; border-radius: 50%; width: 9em; height: 9em; box-shadow: 0 0 0 2px #fff;
}
.row-icons ul li a, .row-icons ul li .legend {
display: flex; align-items: center; justify-content: center;
}
.row-icons ul li .legend {
padding-top: 1em;
} .row-icons ul li a:hover, .row-icons ul li a:focus {
box-shadow: 0 0 0 3px #f6da05;
}
.row-icons ul li a:hover img, .row-icons ul li a:focus img {
-webkit-transition: all 0.4s ease; -moz-transition: all 0.4s ease; -ms-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease;
}
.row-icons ul li a:hover img, .row-icons ul li a:focus img {
transform: scale(1.0);
}
.white-icons ul li a:hover img, .white-icons ul li a:focus img {
filter: sepia(100%) saturate(10000%) hue-rotate(-20deg);
} .row-icons ul li a:hover + .legend, .row-icons ul li a:focus + .legend {
color: #f6da05;
}
.row-icons img { max-width: 100%; max-height: 100%; height: auto; width: auto;
transform: scale(0.9); transition: all 0.4s ease;
}
- home_head {
background-image: url('https://static.igem.org/mediawiki/2017/c/c4/T--Aix-Marseille--principal-bg.jpg'); background-size: cover; background-repeat: no-repeat; background-position: center center; background-attachment: fixed; min-height: 100vh; display: flex; justify-content: center; align-items: center;
}
- home_head h1 img {
max-height: 80vh; width: auto; filter: drop-shadow(3px 3px 3px black);
}
- globalWrapper { padding-bottom: 0; }
- sponsors ul, #sponsors li { margin: 0; padding: 0; }
- sponsors ul { list-style: none; display: flex; align-items: center; overflow-x: auto; padding: 1em; }
- sponsors li { margin-right: 1em; }
- sponsors img { height: auto; max-height: 8em; width: 100%; }
.igem_2017_content_wrapper th { color: #fff }
img { max-width: 100%; height: auto; } .thumbinner { width: 100%; }