Difference between revisions of "Template:Main2018"

Line 174: Line 174:
 
});
 
});
  
 +
 +
 +
 +
 +
</script>
  
  
Line 211: Line 216:
  
  
.logo_container {  
+
.logo_container { float:left; width:80%; }
float:left;  
+
width:80%;  
+
}
+
  
 
/* class that shows the menu is displayed while the menu is loading */
 
/* class that shows the menu is displayed while the menu is loading */
Line 246: Line 248:
 
}
 
}
  
.submenu_access:hover {  
+
.submenu_access:hover { background-color: #f2f2f2;}
background-color: #f2f2f2;
+
}
+
  
  .submenu > .submenu_access:hover {  
+
  .submenu > .submenu_access:hover { background-color: #ffffff;}
background-color: #ffffff;
+
}
+
  
  
.menu_icon {  
+
.menu_icon { width: 20%; float:left;}
width: 20%;  
+
float:left;
+
}
+
  
  
Line 267: Line 262:
 
   
 
   
 
/* styling for menu items in the menu */
 
/* styling for menu items in the menu */
.menu_item {  
+
.menu_item { float:left; padding: 9px 0px 7px 0px; font-weight: bold;  color: #000000;}
float:left;  
+
padding: 9px 0px 7px 0px;  
+
font-weight: bold;   
+
color: #000000;
+
}
+
  
.submenu_item.current_page, .menu_item_wrapper.current_page, .sub_submenu_item.current_page {  
+
.submenu_item.current_page, .menu_item_wrapper.current_page, .sub_submenu_item.current_page { background-color: #97c998;}
background-color: #97c998;
+
}
+
  
.submenu_item.with_submenu_items {  
+
.submenu_item.with_submenu_items { width: 70%;}
width: 70%;
+
}
+
  
 
/* defines width - for menu items that take you to a page */
 
/* defines width - for menu items that take you to a page */
Line 331: Line 317:
 
}
 
}
  
.submenu > .submenu_access {  
+
.submenu > .submenu_access { background-color: #f2f2f2;    border-bottom: 1px solid #d3d3d3; margin:0px;}
background-color: #f2f2f2;     
+
border-bottom: 1px solid #d3d3d3;  
+
margin:0px;
+
}
+
  
 
.menu_title {
 
.menu_title {
Line 349: Line 331:
  
  
.submenu_item {     
+
.submenu_item {    width: 100%;
width: 100%;
+
    background-color: #f2f2f2;
    background-color: #f2f2f2;
+
    padding: 10px 0px 10px 10%;
  padding: 10px 0px 10px 10%;
+
    float: left;
    float: left;
+
    border-bottom: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
+
    color: black;
    color: black;
+
    font-weight: bold;}
    font-weight: bold;
+
}
+
 
 
  
Line 366: Line 346:
  
  
.collapsable_menu_control {
+
.collapsable_menu_control {
    width: 100%;
+
    width: 100%;
  padding: 15px 0px;
+
    padding: 15px 0px;
    display: none;
+
    display: none;
float:left;
+
float:left;
    background-color: #f2f2f2;
+
    background-color: #f2f2f2;
    text-align: center;
+
    text-align: center;
    font-weight: bold;
+
    font-weight: bold;
    color: #5e5f5f;
+
    color: #5e5f5f;
    cursor: pointer;
+
    cursor: pointer;
}
+
}
 
+
 
+
.collapsable_menu_control:hover {
+
background-color: #10996a;
+
color: #ffffff;
+
}
+
 
+
  
  
 +
.collapsable_menu_control:hover {
 +
background-color: #10996a;
 +
color: #ffffff;
 +
}
  
 
/********************************* CONTENT OF THE PAGE ********************************/
 
/********************************* CONTENT OF THE PAGE ********************************/
Line 392: Line 369:
 
.igem_content_wrapper {
 
.igem_content_wrapper {
 
width: 81%;
 
width: 81%;
max-width: 1600px;
 
margin: 2%;
 
 
float:left;  
 
float:left;  
display:block;
 
 
background-color:white;  
 
background-color:white;  
 +
margin: 2%;
 +
display:block;
 
}
 
}
  
 +
/* class for when the menu is not shown and the content occupies the whole screen */
 +
.igem_content_wrapper.full_screen {
 +
width: 96%;
 +
}
  
/*LAYOUT CLASSES*/
+
 
 +
/*LAYOUT */
 
.column  {  
 
.column  {  
padding: 0px;
+
padding: 10px 0px;
margin: 1% 2%;
+
float:left;  
float:left;
+
 
}
 
}
  
/* 100% */
+
 
 +
 
 
.full_size {
 
.full_size {
width:96%;  
+
width:100%;  
 
}
 
}
  
/* 66% */
+
.full_size img {  
.two_thirds_size {
+
padding: 10px 15px;
width: 62.6%;  
+
width:97.5%;  
 
}
 
}
  
/* 33% */
+
.half_size {
.third_size {
+
width: 50%;  
width: 29.3%;  
+
 
}
 
}
  
/* 75% */
+
.half_size img {  
.three_quarter_size {
+
padding: 10px 15px;
width: 71%;  
+
width: 93%;  
 
}
 
}
  
/* 50% */
+
 
.half_size {
+
.third_size {
width: 46%;  
+
width: 33.3%;  
 
}
 
}
+
.third_size img {  
/* 25% */
+
padding: 10px 15px;
.quarter_size {
+
width: 92%;  
width: 21%;  
+
 
}
 
}
 +
 +
 +
 +
.fourth_size {
 +
width: 25%;
 +
}
 +
.fourth_size img {
 +
padding: 10px 15px;
 +
width: 92%;
 +
}
 +
 +
 +
  
 
.clear {
 
.clear {
Line 441: Line 433:
 
}
 
}
  
.clear.extra_space {
+
.clear.extra_space {
height: 30px;
+
height: 30px;
}
+
}
 +
 
 +
 
 +
.line_divider {
 +
    border-top: 1px solid #d3d3d3;
 +
    width: 98%;
 +
    margin: auto;
 +
}
  
  
.line_divider {
 
    border-top: 1px solid #d3d3d3;
 
  width: 98%;
 
    margin: auto;
 
}
 
  
 
.highlight {  
 
.highlight {  
Line 477: Line 471:
 
}
 
}
  
.highlight.decoration_top, .highlight.turquoise_top {
+
.highlight.turquoise_top {
 
     border-top: 4px solid #10996a;
 
     border-top: 4px solid #10996a;
 
}
 
}
  
  
.patrollink {display:none;}
+
.highlight.turquoise_border {
 
+
    border: 4px solid #10996a;
 
+
/*STYLING */
+
 
+
/* styling for the titles */
+
.igem_content_wrapper h1, .igem_content_wrapper h2 {
+
padding:5px 15px;
+
border-bottom:0px;
+
color: #009d77;
+
 
}
 
}
  
  
.igem_content_wrapper h3, .igem_content_wrapper h4, .igem_content_wrapper h5, .igem_content_wrapper h6 {
 
padding:5px 15px;
 
border-bottom:0px;
 
color: #000000; 
 
}
 
  
 +
.patrollink {display:none;}
  
/* font and text */
 
.igem_content_wrapper p {
 
padding:0px 15px;
 
font-size: 13px;
 
font-family:Tahoma, Geneva, sans-serif;
 
}
 
  
/* Links */
+
.turquoise_full {
.igem_content_wrapper a {  
+
border: 4px solid #10996a;
font-weight: bold;
+
}
text-decoration: underline;
+
text-decoration-color:#10996a;
+
color: #10996a;
+
-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 */
+
.yellow_full {
.igem_content_wrapper a:hover {  
+
border: 4px solid #ffe000;
text-decoration:none;
+
}
color:#000000;
+
}
+
  
/* non numbered lists */
+
.blue_full {
.igem_content_wrapper ul {
+
border: 4px solid #00bccc;
padding:0px 20px;
+
}
font-size: 13px;
+
font-family:Tahoma, Geneva, sans-serif;  
+
}
+
  
/* numbered lists */
 
.igem_content_wrapper ol {
 
padding:0px;
 
font-size: 13px;
 
font-family:Tahoma, Geneva, sans-serif;
 
}
 
  
/* Table */
+
.highlight.news_item {
.igem_content_wrapper table {  
+
    border: 2px solid #d3d3d3;
width: 97%;  
+
    margin: auto;
margin:15px 10px;  
+
    height: auto;
border: 1px solid #d3d3d3;  
+
    overflow: auto;
border-collapse: collapse;  
+
width: 97%;
}
+
}
  
/* table cells */
+
.news_date {
.igem_content_wrapper  td {  
+
font-style: italic;
padding: 10px;
+
    display: inline-block;
vertical-align: text-top;  
+
    color: #333333;
border: 1px solid #d3d3d3;  
+
    float: right;
border-collapse: collapse;  
+
    padding-top: 5px;
}
+
    padding-right: 15px;
 +
}
  
/* table headers */
 
.igem_content_wrapper th {
 
padding: 10px;
 
vertical-align: text-top;
 
border: 1px solid #d3d3d3;
 
border-collapse: collapse;
 
background-color:#f2f2f2;
 
}
 
 
 
/* SUPPORT CLASSES*/
 
 
/*Button class */
 
.button {
 
margin: auto;
 
text-align: center;
 
font-size: 15px;
 
margin: 30px 0px;
 
}
 
 
.button a,  #bodyContent a[href ^="https://"], .link-https {
 
color: #414042 !important;
 
font-weight: bold;
 
margin: auto;
 
text-decoration: none !important;
 
background-color: #97c998;
 
padding: 10px 15px;
 
}
 
 
.button a:hover , #bodyContent a[href ^="https://"]:hover, .link-https {
 
background-color: #414042; 
 
color: #97c998 !important;
 
}
 
  
/*Expand collapse button */
 
 
.expand_content.first{
 
.expand_content.first{
 
float:left;  
 
float:left;  
Line 635: Line 558:
 
}
 
}
  
/*News items */
 
.highlight.news_item {
 
    border: 2px solid #d3d3d3;
 
    margin: auto;
 
    height: auto;
 
    overflow: auto;
 
width: 97%;
 
}
 
  
.news_date {
 
font-style: italic;
 
    display: inline-block;
 
    color: #333333;
 
    float: right;
 
    padding-top: 5px;
 
    padding-right: 15px;
 
}
 
  
/*Multiple links */
+
.button {
.multiple_links a{
+
margin: auto;
color: black !important;
+
text-align: center;
 +
font-size: 15px;
 +
margin: 30px 0px;
 
}
 
}
  
.multiple_links a:hover {
+
.button a,  #bodyContent a[href ^="https://"], .link-https {
color: #10996a !important;
+
color: #414042 !important;
 +
font-weight: bold;
 +
margin: auto;
 +
text-decoration: none !important;
 +
background-color: #97c998;
 +
padding: 10px 15px;
 
}
 
}
 +
 +
.button a:hover , #bodyContent a[href ^="https://"]:hover, .link-https {
 +
background-color: #414042; 
 +
color: #97c998 !important;
 +
}
 +
 +
.multiple_links a{
 +
color: black !important;
 +
}
 +
 +
.multiple_links a:hover {
 +
color: #10996a !important;
 +
}
 +
  
  
/* image slider styling */
+
/* image slider styling */
 
ul.image_slider {
 
ul.image_slider {
 
list-style: none;
 
list-style: none;
Line 675: Line 603:
  
  
/*Navigation support */
 
.column.full_size.navigation_support {
 
    padding: 0px 0px 0px 20px;
 
}
 
  
.navigation_button {  
+
.column.full_size.navigation_support {
    background-color: #ffffff;
+
    padding: 0px 0px 0px 20px;
    border: 2px solid #5e5f5f;
+
}
  color: #10996a;
+
    max-width: 40px;
+
    text-align: center;
+
    padding: 3px 0px;
+
    font-size: 13px;
+
    cursor: pointer;
+
    border-radius: 50%;
+
    float: left;
+
    width: 25px;
+
    margin-right: 10px;
+
margin-top: 3px;
+
}
+
  
 +
.navigation_button { 
 +
    background-color: #ffffff;
 +
    border: 2px solid #5e5f5f;
 +
    color: #10996a;
 +
    max-width: 40px;
 +
    text-align: center;
 +
    padding: 3px 0px;
 +
    font-size: 13px;
 +
    cursor: pointer;
 +
    border-radius: 50%;
 +
    float: left;
 +
    width: 25px;
 +
    margin-right: 10px;
 +
margin-top: 3px;
 +
}
  
.navigation_button.arrow_navigation {
 
border: 2px solid white;
 
margin-top: 0px;
 
}
 
  
.navigation_button.arrow_navigation:hover {
+
.navigation_button.arrow_navigation {
color: #10996a;  
+
border: 2px solid white;
background-color: #ffffff;
+
margin-top: 0px;
border: 2px solid white;
+
}
}
+
  
.navigation_button.arrow_navigation.previous_item::before {
+
.navigation_button.arrow_navigation:hover {
 +
color: #10996a;
 +
background-color: #ffffff;
 +
border: 2px solid white;
 +
}
 +
 
 +
.navigation_button.arrow_navigation.previous_item::before {
 
content: url(https://static.igem.org/mediawiki/2018/f/ff/Previous_demo_icon-14-21.svg);  
 
content: url(https://static.igem.org/mediawiki/2018/f/ff/Previous_demo_icon-14-21.svg);  
}
+
}
  
  
.navigation_button.arrow_navigation.next_item::before {
+
.navigation_button.arrow_navigation.next_item::before {
 
content: url(https://static.igem.org/mediawiki/2018/1/12/Next_demo_icon-14-21-22.svg);  
 
content: url(https://static.igem.org/mediawiki/2018/1/12/Next_demo_icon-14-21-22.svg);  
}
+
}
  
  
.navigation_button:hover , .title_extra:hover +  .navigation_button, .navigation_button.active_navigation_button:hover  {  
+
.navigation_button:hover , .title_extra:hover +  .navigation_button, .navigation_button.active_navigation_button:hover  {  
background-color: #10996a;  
+
background-color: #10996a;  
color: #ffffff;  
+
color: #ffffff;  
border: 2px solid #00bdcd;
+
border: 2px solid #00bdcd;
}
+
}
  
.navigation_button:hover + .title_extra , .title_extra:hover {   
+
 
color: #00bdcd;  
+
 
display:block;  
+
 
 +
.title_extra {color: #10996a; float:left; padding: 7px 0px; margin-right: 20px; display:none;}
 +
 
 +
.title_extra.main_item { display:block; text-decoration: underline;}
 +
.title_extra.support_item {display:block;margin-right:0px; margin-left: -17px;}
 +
.title_extra.support_item:hover { color: #10996a;}
 +
.navigation_button:hover + .title_extra , .title_extra:hover {  color: #00bdcd; display:block; }
 +
 
 +
.navigation_button.active_navigation_button {
 +
background-color: #d3d3d3;
 +
color: #5e5f5f;
 +
border: 2px solid #5e5f5f;
 +
}
 +
 
 +
 
 +
 
 +
 
 +
.igem_menu_wrapper::-webkit-scrollbar {
 +
    display: none;
 +
}
 +
 
 +
 
 +
 
 +
/*STYLING */
 +
 
 +
 
 +
 
 +
 
 +
 
 +
/* styling for the titles */
 +
.igem_content_wrapper h1, .igem_content_wrapper h2 {
 +
padding:5px 15px;
 +
border-bottom:0px;
 +
/* color: #00bdcd;*/
 +
color: #009d77;
 
}
 
}
  
.navigation_button.active_navigation_button {
+
 
background-color: #d3d3d3;  
+
 
color: #5e5f5f;
+
.igem_content_wrapper h3, .igem_content_wrapper h4, .igem_content_wrapper h5, .igem_content_wrapper h6 {  
border: 2px solid #5e5f5f;
+
padding:5px 15px;  
 +
border-bottom:0px;  
 +
color: #000000;
 
}
 
}
  
.title_extra {
+
 
color: #10996a;
+
/* font and text */
float:left;
+
.igem_content_wrapper p {  
padding: 7px 0px;  
+
padding:0px 15px;  
margin-right: 20px;  
+
font-size: 13px;
display:none;
+
font-family:Tahoma, Geneva, sans-serif;  
 
}
 
}
  
.title_extra.main_item {  
+
/* Links */
display:block;  
+
.igem_content_wrapper a {  
 +
font-weight: bold;  
 
text-decoration: underline;
 
text-decoration: underline;
}
+
text-decoration-color:#10996a;
+
.title_extra.support_item {
+
display:block;
+
margin-right:0px;
+
margin-left: -17px;
+
}
+
+
.title_extra.support_item:hover {
+
 
color: #10996a;
 
color: #10996a;
 +
-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_content_wrapper a:hover {
 +
text-decoration:none;
 +
color:#000000;
 +
}
  
.igem_menu_wrapper::-webkit-scrollbar {
+
/* non numbered lists */
    display: none;  
+
.igem_content_wrapper ul {
 +
padding:0px 20px;
 +
font-size: 13px;
 +
font-family:Tahoma, Geneva, sans-serif;  
 
}
 
}
  
 
+
/* numbered lists */
/*calendar classes*/
+
.igem_content_wrapper ol {
.vertical_line {
+
padding:0px;  
  position: absolute;
+
font-size: 13px;
  width: 5px;
+
font-family:Tahoma, Geneva, sans-serif;  
  background-color: #ccc;
+
  left: 20px;
+
  height: 100%;
+
  z-index: -1;
+
 
}
 
}
  
.left_column {
+
/* Table */
width: 12%;
+
.igem_content_wrapper table {  
    border: 4px solid #d3d3d3;
+
width: 97%;  
    text-align: center;
+
margin:15px 10px;  
    font-size: 25px;
+
border: 1px solid #d3d3d3;  
    float: left;
+
border-collapse: collapse;  
    border-radius: 10px;
+
    color: #666666;
+
    padding: 4% 0;
+
font-weight: bold;
+
 
}
 
}
  
 
+
/* table cells */
.left_column.month_access{
+
.igem_content_wrapper  td {  
  border: 4px solid #00bdcd;
+
padding: 10px;
    color: #10996a
+
vertical-align: text-top;  
    font-size: 40px;
+
border: 1px solid #d3d3d3;  
    font-weight: bold;
+
border-collapse: collapse;  
    cursor: pointer;
+
 
}
 
}
  
.left_column.month_access::before {
+
/* table headers */
content: "-";  
+
.igem_content_wrapper th {
 +
padding: 10px;
 +
vertical-align: text-top;
 +
border: 1px solid #d3d3d3;
 +
border-collapse: collapse;
 +
background-color:#f2f2f2;  
 
}
 
}
 +
 +
 +
 +
 +
 +
 +
 +
 +
.vertical_line {
 +
  position: absolute;
 +
  width: 5px;
 +
  background-color: #ccc;
 +
  left: 20px;
 +
  height: 100%;
 +
  z-index: -1;
 +
}
 +
 +
.left_column {
 +
width: 12%;
 +
    border: 4px solid #d3d3d3;
 +
    text-align: center;
 +
    font-size: 25px;
 +
    float: left;
 +
    border-radius: 10px;
 +
    color: #666666;
 +
    padding: 4% 0;
 +
font-weight: bold;
 +
 +
}
 +
 +
 +
.left_column.month_access{
 +
  border: 4px solid #00bdcd;
 +
 +
    color: #10996a
 +
    font-size: 40px;
 +
    font-weight: bold;
 +
    cursor: pointer;
 +
}
 +
 +
.left_column.month_access::before {
 +
content: "-";
 +
}
  
 
.left_column.month_access.plus::before {
 
.left_column.month_access.plus::before {
Line 804: Line 813:
  
  
.left_column.month_access:hover {
+
.left_column.month_access:hover {
background-color: #10996a;
+
background-color: #10996a;
color: white;
+
color: white;
 
-webkit-transition: all 0.4s ease;
 
-webkit-transition: all 0.4s ease;
 
-moz-transition: all 0.4s ease;  
 
-moz-transition: all 0.4s ease;  
Line 812: Line 821:
 
-o-transition: all 0.4s ease;  
 
-o-transition: all 0.4s ease;  
 
transition: all 0.4s ease;
 
transition: all 0.4s ease;
}
+
}
  
  
.right_column  h1{
+
.right_column  h1{
font-size: 40px;
+
font-size: 40px;
padding: 15px 10px;
+
padding: 15px 10px;
}
+
}
  
.right_column {
 
    padding: 10px 0px 15px 0px;
 
    float: left;
 
width: 80%;
 
}
 
  
.right_column.event_content {
+
.right_column {
border-top:  1px solid #d3d3d3;
+
    padding: 10px 0px 15px 0px;
}
+
    float: left;
 +
width: 80%;
 +
}
 +
 
 +
.right_column.event_content {
 +
border-top:  1px solid #d3d3d3;
 +
}
 +
 
 +
 
 +
#all_menu_items{ display:block;}
 +
 
  
#all_menu_items{ display:block;}
 
  
 
.full_size_image { margin-top:-55px; width:85%; }  
 
.full_size_image { margin-top:-55px; width:85%; }  
 +
  
  

Revision as of 17:12, 5 January 2018

MENU