Line 174: | Line 174: | ||
}); | }); | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </script> | ||
Line 211: | Line 216: | ||
− | .logo_container { | + | .logo_container { 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;} |
− | + | ||
− | + | ||
− | .submenu > .submenu_access:hover { | + | .submenu > .submenu_access:hover { background-color: #ffffff;} |
− | + | ||
− | + | ||
− | .menu_icon { | + | .menu_icon { 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;} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | .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;} |
− | + | ||
− | + | ||
− | .submenu_item.with_submenu_items { | + | .submenu_item.with_submenu_items { 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;} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
.menu_title { | .menu_title { | ||
Line 349: | Line 331: | ||
− | + | .submenu_item { width: 100%; | |
− | + | background-color: #f2f2f2; | |
− | + | padding: 10px 0px 10px 10%; | |
− | + | float: left; | |
− | + | border-bottom: 1px solid #d3d3d3; | |
− | + | color: black; | |
− | + | font-weight: bold;} | |
− | + | ||
− | + | ||
Line 366: | Line 346: | ||
− | + | .collapsable_menu_control { | |
− | + | width: 100%; | |
− | + | padding: 15px 0px; | |
− | + | display: none; | |
− | + | float:left; | |
− | + | background-color: #f2f2f2; | |
− | + | text-align: center; | |
− | + | font-weight: bold; | |
− | + | color: #5e5f5f; | |
− | + | cursor: pointer; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | .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%; | ||
− | |||
− | |||
float:left; | float:left; | ||
− | |||
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 | + | |
+ | /*LAYOUT */ | ||
.column { | .column { | ||
− | padding: 0px | + | padding: 10px 0px; |
− | + | float:left; | |
− | float:left; | + | |
} | } | ||
− | + | ||
+ | |||
.full_size { | .full_size { | ||
− | width: | + | width:100%; |
} | } | ||
− | + | .full_size img { | |
− | . | + | padding: 10px 15px; |
− | width: | + | width:97.5%; |
} | } | ||
− | + | .half_size { | |
− | . | + | width: 50%; |
− | width: | + | |
} | } | ||
− | + | .half_size img { | |
− | . | + | padding: 10px 15px; |
− | width: | + | width: 93%; |
} | } | ||
− | + | ||
− | . | + | .third_size { |
− | width: | + | width: 33.3%; |
} | } | ||
− | + | .third_size img { | |
− | + | padding: 10px 15px; | |
− | . | + | width: 92%; |
− | width: | + | |
} | } | ||
+ | |||
+ | |||
+ | |||
+ | .fourth_size { | ||
+ | width: 25%; | ||
+ | } | ||
+ | .fourth_size img { | ||
+ | padding: 10px 15px; | ||
+ | width: 92%; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
.clear { | .clear { | ||
Line 441: | Line 433: | ||
} | } | ||
− | + | .clear.extra_space { | |
− | + | height: 30px; | |
− | + | } | |
+ | |||
+ | |||
+ | .line_divider { | ||
+ | border-top: 1px solid #d3d3d3; | ||
+ | width: 98%; | ||
+ | margin: auto; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
.highlight { | .highlight { | ||
Line 477: | Line 471: | ||
} | } | ||
− | + | .highlight.turquoise_top { | |
border-top: 4px solid #10996a; | border-top: 4px solid #10996a; | ||
} | } | ||
− | . | + | .highlight.turquoise_border { |
− | + | border: 4px solid #10996a; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | .patrollink {display:none;} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | .turquoise_full { | |
− | + | border: 4px solid #10996a; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | .yellow_full { | |
− | + | border: 4px solid #ffe000; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | .blue_full { | |
− | + | border: 4px solid #00bccc; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | .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; | |
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.expand_content.first{ | .expand_content.first{ | ||
float:left; | float:left; | ||
Line 635: | Line 558: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | .button { | |
− | . | + | margin: auto; |
− | + | text-align: center; | |
+ | font-size: 15px; | ||
+ | margin: 30px 0px; | ||
} | } | ||
− | . | + | .button a, #bodyContent a[href ^="https://"], .link-https { |
− | color: # | + | 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 */ | |
ul.image_slider { | ul.image_slider { | ||
list-style: none; | list-style: none; | ||
Line 675: | Line 603: | ||
− | |||
− | |||
− | |||
− | |||
− | + | .column.full_size.navigation_support { | |
− | + | padding: 0px 0px 0px 20px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | .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 { | |
+ | 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 { | |
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 { | |
− | + | background-color: #10996a; | |
− | + | color: #ffffff; | |
− | + | border: 2px solid #00bdcd; | |
− | + | } | |
− | + | ||
− | color: #00bdcd; | + | |
− | + | ||
+ | .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; | ||
} | } | ||
− | . | + | |
− | + | ||
− | + | .igem_content_wrapper h3, .igem_content_wrapper h4, .igem_content_wrapper h5, .igem_content_wrapper h6 { | |
− | + | padding:5px 15px; | |
+ | border-bottom:0px; | ||
+ | color: #000000; | ||
} | } | ||
− | . | + | |
− | + | /* font and text */ | |
− | + | .igem_content_wrapper p { | |
− | padding: | + | padding:0px 15px; |
− | + | font-size: 13px; | |
− | + | font-family:Tahoma, Geneva, sans-serif; | |
} | } | ||
− | . | + | /* Links */ |
− | + | .igem_content_wrapper a { | |
+ | font-weight: bold; | ||
text-decoration: underline; | text-decoration: underline; | ||
− | + | text-decoration-color:#10996a; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
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; | ||
+ | } | ||
− | . | + | /* non numbered lists */ |
− | + | .igem_content_wrapper ul { | |
+ | 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 */ |
− | width: | + | .igem_content_wrapper table { |
− | + | width: 97%; | |
− | + | margin:15px 10px; | |
− | + | border: 1px solid #d3d3d3; | |
− | + | border-collapse: collapse; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | /* table cells */ | |
− | . | + | .igem_content_wrapper td { |
− | + | padding: 10px; | |
− | + | vertical-align: text-top; | |
− | + | border: 1px solid #d3d3d3; | |
− | + | border-collapse: collapse; | |
− | + | ||
} | } | ||
− | . | + | /* table headers */ |
− | + | .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 { | |
− | + | background-color: #10996a; | |
− | + | 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{ | |
− | + | font-size: 40px; | |
− | + | padding: 15px 10px; | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | .right_column { | |
− | + | padding: 10px 0px 15px 0px; | |
− | + | float: left; | |
+ | width: 80%; | ||
+ | } | ||
+ | |||
+ | .right_column.event_content { | ||
+ | border-top: 1px solid #d3d3d3; | ||
+ | } | ||
+ | |||
+ | |||
+ | #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