Difference between revisions of "Template:Groningen/CSS"

 
(167 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
<style>
 
<style>
  
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
+
/* HIER MOET DE CSS*/
+
/* 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; }
+
  
+
#menu-btn {
+
    top: 5em !important;
+
    right: 0.3em !important;
/**************************************************************** MENU ***************************************************************/
+
}
/* Wrapper for the menu */
+
.igem_2017_menu_wrapper {  
+
width: 15%;  
+
height:100vh;
+
position:fixed;
+
right:0%;
+
padding:0px;
+
float:right;
+
border-left: 1px solid #d3d3d3;
+
background-color:#dddddd;
+
text-align:left;
+
font-family:Tahoma, Geneva, sans-serif;
+
overflow-y: auto;
+
overflow-x: hidden;
+
}
+
  
/* this hides the scrollbar to keep view consistency */
+
.fa-arrow-circle-down {
.igem_2017_menu_wrappe::-webkit-scrollbar {  
+
width:100px;height:100px;font-size: 4em;
display: none;  
+
}
}
+
.startbutton {
+
    color: #ffffff61 !important;
+
    font-weight: bold;
/* styling for links in the menu, removes the line under text */
+
    position: relative;
.igem_2017_menu_wrapper a {
+
    top: 500px;
text-decoration: none;  
+
}
}
+
.greenbutton {
 +
color: #009739 !important;
 +
}
  
 +
.blackbutton {
 +
color: #00140F !important;
 +
}
  
/* styling for the images in the menu */
+
.brownbutton {
.igem_2017_menu_wrapper img {  
+
color: #805113 !important;
width: 100%;
+
}
}
+
  
/* styling for the menu buttons */
+
.redbutton {
.igem_2017_menu_wrapper .menu_button {  
+
color: #E4140F !important;
width: 100%;
+
}
padding: 10px 0px 10px 15px;
+
float:left;
+
border-bottom: 1px solid #d3d3d3;
+
font-size: 12px;
+
font-weight: bold;
+
color: #5e5f5f;
+
cursor: pointer;
+
}
+
  
 +
.bluebutton {
 +
color: #174290 !important;
 +
}
  
.igem_2017_menu_wrapper .menu_bottom_padding {
 
width: 100%;
 
height: 30px;
 
float:left;
 
}
 
  
.menu_button.direct_to_page {
 
padding-left: 36px;
 
}
 
  
 +
figcaption {
 +
    display: block;
 +
}
 +
.box {
 +
    float: left;
 +
    width: 200px;
 +
    margin-left: 10px;
 +
    margin-top: 10px;
 +
    padding: 5px;
 +
    border: 2px white;
 +
}
 +
.boxed {
 +
  border: 10px solid green ;
 +
  padding: 20px
 +
}
  
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon {
 
width:10%;
 
float:left;
 
}
 
  
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon::before {
 
content: "+"; 
 
}
 
 
.open::before {
 
content: "-" !important; 
 
}
 
 
 
 
/* styling for the menu buttons on hover */
 
.igem_2017_menu_wrapper .menu_button:hover, .igem_2017_menu_wrapper .submenu_button:hover ,  .submenu_button.current_page:hover {
 
background-color: #3399ff;
 
text-decoration: none;
 
color:#ffffff;
 
}
 
  
/* styling for the menu button when it is the current page */
+
@media only screen and (max-width: 1100px) {
.current_page {  
+
  .startbutton {
background-color:#7fc1f7  !important;
+
    top: 200px;
color:#5e5f5f !important;
+
  }
}
+
}
 +
@media only screen and (max-width: 900px) {
 +
  .startbutton {
 +
    top: 20px;
 +
  }
  
 +
img.mainimg {
 +
display:none;
 +
}
 +
.greenbutton {display:none; }
 +
.blackbutton {display:none; }
 +
.brownbutton {display:none; }
 +
.bluebutton {display:none; }
 +
.redbutton {display:none; }
  
/* styling for the submenu buttons */
+
}
.igem_2017_menu_wrapper .submenu_button {  
+
.startbutton:hover, .startbutton:active  {
width: 100%;  
+
color:white !important;
padding: 10px 0px 10px 34px;
+
}
float:left;
+
.greenbutton:hover, .greenbutton:active {
background-color:#f2f2f2;
+
    color: #009739ad !important;
border-bottom: 1px solid #d3d3d3;
+
}
font-size: 12px;
+
color: #5e5f5f;
+
cursor: pointer;
+
}
+
  
/* wrapper for the submenu items, they are hidden by default*/
+
.blackbutton:hover, .blackbutton:active {
.igem_2017_menu_wrapper .submenu_wrapper {  
+
    color: #00140Fad !important;
display:none;
+
}
}
+
  
/* when the page size is bigger than 800px, this show/hide control is hidden by default */
+
.brownbutton:hover, .brownbutton:active {
.igem_2017_menu_wrapper #display_menu_control {
+
    color: #805113ad !important;
display:none;
+
}
text-align:center;
+
}
+
+
  
/***************************************************** CONTENT OF THE PAGE ****************************************************/
+
.bluebutton:hover, .bluebutton:active {
 +
    color: #174290ad !important;
 +
}
  
/* Wrapper for the content */
+
.redbutton:hover, .redbutton:active {
.igem_2017_content_wrapper {
+
    color: #E4140Fad !important;
width: 81%;
+
}
margin: 2%;
+
display:block;
+
float:left;
+
background-color:white;
+
font-family:Tahoma, Geneva, sans-serif;  
+
}
+
  
  
/********************************* HTML STYLING  *********************************/
 
  
/* styling for the titles h1 h2 */
+
.div1, div2{
.igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
+
padding:5px 15px;
+
border-bottom: 0px;
+
color: #3399ff;
+
}
+
  
 +
display: inline-block;
  
/* styling for the titles  h3 h4 h5 h6*/
+
}
.igem_2017_content_wrapper h3, .igem_2017_content_wrapper h4, .igem_2017_content_wrapper h5, .igem_2017_content_wrapper h6 {  
+
.tab {
padding:5px 15px;  
+
margin-left: 2.5em
border-bottom:0px;  
+
}
color: #000000;
+
.contentvid {
}
+
position: absolute;
 +
    top: 5%;
 +
    left: 30%;
 +
width:40%;
 +
z-index:200
 +
}
 +
#myVideo {
 +
    width: 100%;
 +
    position: relative;
 +
    z-index: 100;
 +
}
  
  
/* font and text */
 
.igem_2017_content_wrapper p {
 
padding: 0px 15px;
 
font-size: 13px;
 
}
 
  
/* Links */
+
#up-btn {
.igem_2017_content_wrapper a {  
+
    background-image: url(https://static.igem.org/mediawiki/2018/f/f2/T--Groningen--2018_tothetop.png) !important;
font-weight: bold;
+
}
text-decoration: underline;
+
#up-btn:hover {
text-decoration-color: #3399ff;
+
    opacity: .7;
color:  #3399ff;
+
}
-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;
+
}
+
  
/* hover for the links */
+
.igem_2018_team_content {
.igem_2017_content_wrapper a:hover {  
+
max-width: 1920px;
text-decoration:none;
+
    margin: 0 auto;
color:#000000;
+
}
}
+
  
/* non numbered lists */
+
h1, h2, h3, h4 {
.igem_2017_content_wrapper ul {
+
font-family: 'Lato', sans-serif !important;
padding:0px 20px;
+
}
font-size: 13px;
+
font-family:Tahoma, Geneva, sans-serif;  
+
}
+
  
/* numbered lists */
+
h1 {
.igem_2017_content_wrapper ol {
+
margin-left:0.5em !important;
padding:0px;  
+
border-bottom: 2px solid #0097392e !important;
font-size: 13px;
+
padding-bottom: 5px !important;
font-family:Tahoma, Geneva, sans-serif;  
+
    max-width: 95% !important;
}
+
font-weight: 900 !important;
 +
color: #009739 !important;
 +
margin-top: 0 !important;
 +
    padding-top: 0.4em !important;
 +
}
  
/* Table */
+
h4 {
.igem_2017_content_wrapper table {  
+
    font-weight: normal !important;
width: 97%;  
+
    color: #009739 !important;
margin:15px 10px;
+
}
border: 1px solid #d3d3d3;
+
border-collapse: collapse;  
+
}
+
  
/* table cells */
+
h5 {
.igem_2017_content_wrapper  td {  
+
    width: 95%;
padding: 10px;
+
    margin: 0 auto;
vertical-align: text-top;
+
}
border: 1px solid #d3d3d3;  
+
border-collapse: collapse;  
+
}
+
  
/* table headers */
+
ol li {
.igem_2017_content_wrapper th {  
+
opacity: 0.87 !important;
padding: 10px;
+
}
vertical-align: text-top;
+
border: 1px solid #d3d3d3;
+
border-collapse: collapse;
+
background-color:#f2f2f2;  
+
}
+
  
 +
.line_divider {
 +
border-top: 2px solid #00973933 !important;
 +
    margin: auto !important;
 +
    width: 95% !important;
 +
}
 +
footer .sponsors a img {
 +
opacity:0.8 !important;
 +
}
 +
footer .sponsors a img:hover {
 +
opacity:1 !important;
 +
}
  
/**********************************LAYOUT CLASSES **********************************/
+
header .row {
 +
background:#009739 !important;
 +
}
  
/* general class for column divs */
+
.igem_2018_team_content {background:#E2E2E2!important;}
.igem_2017_content_wrapper .column  {  
+
.igem_2018_team_column_wrapper {background:white !important;}
padding: 10px 0px;
+
float:left;  
+
}
+
  
/* class for a full width column */
 
.column .full_size {
 
width:100%;
 
}
 
  
/* styling for images in a full width column*/
+
#blok01 {
.column.full_size img {  
+
    position: absolute !important;
width:97%;  
+
    top: 324px !important;
padding: 10px 15px;
+
    left: 700px !important;
}
+
    z-index: 100 !important;
 +
    width: 450px !important;
 +
    a:link color: #000000;
 +
}
 +
#titleblok01 {
 +
    color:#3A3A3A !important;
 +
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
}
 +
#linkblok01 {
 +
    color: #42AC55 !important;
 +
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
    text-decoration-color: #42AC55 !important;
 +
}
  
/* 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;
 
}
 
  
  
 +
#blok02 {
 +
    position: absolute !important;
 +
    top: 988px !important;
 +
    z-index: 100 !important;
 +
    width: 450px !important;
 +
    left: 40px !important;
 +
}
 +
#titleblok02 {
 +
    color:#3A3A3A !important;
 +
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
}
 +
#linkblok02 {
 +
    color: #00140F !important;
 +
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
    text-decoration-color: #00140F !important;
 +
}
  
 +
#blok03 {
 +
    position: absolute !important;
 +
    top: 1578px !important ;
 +
    z-index: 100 !important ;
 +
    width: 450px !important;
 +
    left: 700px !important;
 +
}
 +
#titleblok03 {
 +
    color:#3A3A3A !important;
 +
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
}
 +
#linkblok03 {
 +
    color: #805113 !important;
 +
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
    text-decoration-color: #805113 !important;
 +
}
  
/********************************* SUPPORT CLASSES ********************************/
+
#blok04 {
 +
    position: absolute !important;
 +
    top: 2205px  !important;
 +
    z-index: 100 !important;
 +
    width: 450px !important;
 +
    left: 40px !important;
 +
}
 +
#titleblok04 {
 +
    color:#3A3A3A !important;
 +
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
}
 +
#linkblok04 {
 +
    color: #E4140F !important;
 +
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
    text-decoration-color: #E4140F !important;
 +
}
  
/* class that clears content below*/
+
#blok05 {
.igem_2017_content_wrapper .clear {
+
    position: absolute !important;
clear:both;
+
    top: 2828px !important;
}
+
    z-index: 100 !important;
+
    width: 450px !important;
+
    left: 700px !important;
/* adds extra spacing when clearing content */
+
}
.igem_2017_content_wrapper  .clear.extra_space {
+
#titleblok05 {
height: 30px;
+
    color:#3A3A3A !important;
}
+
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
}
 +
#linkblok05 {
 +
    color: #174290 !important;
 +
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
    text-decoration-color: #174290 !important;
 +
}
  
 +
#blok06 {
 +
    position: absolute !important;
 +
    top: 3528px !important;
 +
    z-index: 100 !important;
 +
    width: 450px !important;
 +
    left: 40px !important;
 +
}
 +
#titleblok06 {
 +
    color:#3A3A3A !important;
 +
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
}
 +
#linkblok06 {
 +
    color: #93B131 !important;
 +
    font-weight: 600 !important;
 +
    text-align: center !important;
 +
    text-decoration-color: #93B131 !important;
 +
}
  
/* highlight class, makes content slightly smaller */
+
h4.mainpageh4{
.igem_2017_content_wrapper .highlight {  
+
    color: #020203;
margin: 0px 15px;
+
    font-weight: bold;
padding: 15px 0px;
+
    text-align: left;
}
+
}
  
 +
.mainpageblok {
 +
}
 +
    font-seize: 3em; !important
 +
    .zwart {color:black;}
  
/* highlight class, adds a gray background */
+
#tocc {
.igem_2017_content_wrapper .highlight.gray {
+
    padding: 0.1px;
background-color: #f2f2f2;  
+
    position: fixed;
}
+
    top: 22vh;
 +
    right: 30px;
 +
}
  
/* highlight with decoration blue line on top */
+
.HP .collapsible-header {
.igem_2017_content_wrapper .highlight.blue_top {
+
    background-color: #009739 !important;
    border-top: 4px solid #3399ff;
+
}
}
+
  
/* highlight with a full blue border decoration */
+
a.tree_block {
.igem_2017_content_wrapper .highlight.blue_border {
+
    height: 4.3%;
    border: 4px solid  #3399ff;
+
    width: 12%;
}
+
        background: #0000001c;
 +
    border-radius: 50%;
 +
}
 +
a.design_block {
 +
    height: 11%;
 +
    width: 21.6%;
 +
    background: #00973917;
 +
    border-radius: 2%;
 +
}
 +
a.tree_block:hover {
 +
    background: #ffffff24;
 +
}
 +
a.design_block:hover {
 +
    background: #ffffff24;
 +
}
 +
a.tree_block_big {
 +
    height: 5.3%;
 +
    width: 14.5%;
 +
    background: #0000001c;
 +
    border-radius: 50%;
 +
}
 +
a.tree_block_big:hover {
 +
    background: #ffffff24;
 +
}
 +
div.collapsible-header {
 +
background:#009739;
 +
color:white;
 +
}
 +
div.collapsible-header:hover {
 +
background:#009739bf;
 +
}
 +
div.collapsible-header:active {
 +
background:#009739;
 +
}
  
  
/* button class */
+
@media only screen and (max-width: 1450px) {
.igem_2017_content_wrapper .button{
+
    .startbutton {
max-width: 35%;
+
      top: 300px;
margin: 30px auto;
+
  }
padding: 12px 10px;
+
  .igem_2018_team_content .igem_2018_team_column_wrapper {
    background-color: #3399ff;
+
    margin: 0 auto;
    text-align: center;
+
    width:95%;
  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 */
+
@media only screen and (max-width: 1200px) {
.igem_2017_content_wrapper .button:hover{
+
#blok01, #blok02, #blok03, #blok04, #blok05, #blok06 {
background-color: #3399ff;
+
    position: relative !important;
    color: #000000;
+
    width: 95% !important;
}
+
    top: 0 !important;
 +
    left: 0 !important;
 +
    margin: 50px 0 10px 0 !important;
 +
    background: #00973930;
 +
    padding: 20px;
 +
}
 +
.mainimg {display:none;}
 +
.startbutton {
 +
      display:none;
 +
  }
 +
#menu-btn {
 +
z-index:2000 !important;
 +
}
 +
}
  
  
  
 
+
h4 .quoteh4 {
/***************************************************** RESPONSIVE STYLING ****************************************************/
+
    text-align: center !important;
 
+
    font-style: italic !important;
/* IF THE SCREEN IS LESS THAN 1200PX */
+
    font-size: 1.6em !important;
@media only screen and (max-width: 1200px) {
+
    padding: 40px !important;
 
+
    background: #e2e2e2 !important;
#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: 800px) {
+
 
+
.igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;}
+
.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; }
+
#menu_content { display:none;}
+
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; }
+
.menu_bottom_padding {display:none;}
+
.menu_button.direct_to_page { padding-left: 36px; }
+
}
+
 
+
 
+
+
+
/* 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;
+
}
+
  
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 23:32, 17 October 2018