|
|
(17 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| <html> | | <html> |
− | <script> | + | <head> |
− | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | + | <link href="https://2016.igem.org/Team:Imperial_College/Resources/CSS:Bootstrap?action=raw&ctype=text/css" rel="stylesheet"> |
| + | <link href="https://2016.igem.org/Team:Imperial_College/Resources/CSS:BootstrapStyling?action=raw&ctype=text/css" rel="stylesheet"> |
| | | |
− | $(document).ready(function() {
| + | <link href="https://fonts.googleapis.com/css?family=Quicksand:300,400|Roboto:400,400i" rel="stylesheet"> |
| | | |
− | $("#HQ_page").attr('id','');
| + | <link href="https://2016.igem.org/Team:Imperial_College/Resources/CSS:NEStyle?action=raw&ctype=text/css" rel="stylesheet"> |
− |
| + | |
| | | |
− | //highlight current page on the menu
| + | <script type="text/javascript" src="https://2016.igem.org/Team:Imperial_College/Resources/JS?action=raw&ctype=text/javascript"></script> |
− | highlight_current_page_menu();
| + | |
− |
| + | |
− | //accessing submenus
| + | |
− | $(".menu_item").click(function(){
| + | |
− | $(".submenu_control_icon", this).toggleClass("open");
| + | |
− | $(this).next(".submenu").fadeToggle(400);
| + | |
− | });
| + | |
− |
| + | |
− | //mobile menu access
| + | |
− | $(".igem_2018_team_mobile_bar").click(function(){
| + | |
− | $(this).next().toggleClass("displaying_menu");
| + | |
− | });
| + | |
− |
| + | |
− | });
| + | |
| | | |
| + | <link rel="stylesheet" href="https://2016.igem.org/Team:Imperial_College/Resources/CSS:VerticalScroll&action=raw&ctype=text/css"> |
| | | |
− | function highlight_current_page_menu() {
| + | <script type="text/javascript" src="https://use.fontawesome.com/2967839f93.js"></script> |
− |
| + | <meta name="viewport" content="width=device-width, initial-scale=1"> |
− | var page_url="https://2018.igem.org/";
| + | |
− | page_url = page_url + wgPageName;
| + | |
− | $("a[href$='"+ page_url +"']").children().addClass("current_page");
| + | |
− |
| + | |
− | //if the page is in a submenu, open the submenu and make the appropiate changes
| + | |
− | if( $( ".current_page" ).hasClass( "submenu_item" )){
| + | |
− |
| + | |
− | $(".current_page").parent().parent().fadeToggle(400);
| + | |
− | $(".current_page").parent().parent().prev().addClass("current_page");
| + | |
− | $(".menu_item.current_page > .submenu_control_icon").toggleClass("open");
| + | |
− |
| + | |
− | }
| + | |
− | }
| + | |
| | | |
| + | <script src="https://2016.igem.org/Team:Imperial_College/Resources/Modernizers&action=raw&ctype=text/javascript"></script> |
| + | <script src="https://2016.igem.org/Team:Imperial_College/Resources/JS:Bootstrap&action=raw&ctype=text/javascript"></script> |
| + | <script src="https://2016.igem.org/Team:Imperial_College/Resources/JS:Jquery&action=raw&ctype=text/javascript"></script> |
| | | |
− | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | + | <script src="https://2015.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> |
− | </script> | + | |
| | | |
| + | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> |
| + | |
| + | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> |
| | | |
| <style> | | <style> |
− | /**************************************************************************************************************************************************************************************************/
| |
| | | |
| + | /********************************* DEFAULT WIKI SETTINGS ********************************/ |
| | | |
| + | #sideMenu, |
| + | #top_title { |
| + | display: none; |
| + | } |
| | | |
− | /**************************************************************************************************************************************************************************************************/
| + | #content { |
− | /* DEFAULT WIKI SETTINGS */
| + | padding: 0px; |
− | /**************************************************************************************************************************************************************************************************/
| + | width: 100%; |
| + | } |
| | | |
| + | body { |
| + | background-color: white; |
| + | width: 100%; |
| + | } |
| | | |
− | #home_logo, #sideMenu { display:none; }
| + | #bodyContent h1, |
− | #sideMenu, #top_title, .patrollink {display:none;}
| + | #bodyContent h2, |
− | #content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;}
| + | #bodyContent h3, |
− | body {background-color:white; }
| + | #bodyContent h4, |
− | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
| + | #bodyContent h5 { |
| + | margin-bottom: 0px; |
| + | } |
| | | |
− | .judges-will-not-evaluate { border: 4px solid #e4dede; padding: 2% !important; width: 92%!important;}
| + | #bodyContent { |
| + | padding-right: 0px; |
| + | } |
| | | |
| + | #globalWrapper { |
| + | font-size: 100%; |
| + | padding: 0px; |
| + | margin: -10px -20px -20px -20px; |
| + | } |
| | | |
− | /**************************************************************************************************************************************************************************************************/
| + | .navbar-collapse { |
− | /* MENU */
| + | padding-left: 0px; |
− | /**************************************************************************************************************************************************************************************************/
| + | } |
| | | |
− | /*this wraps the whole of the menu*/
| + | #banner { |
− | .igem_2018_team_menu {
| + | margin-top: 100px; |
− | background-color:#c4baba;
| + | } |
− | border-left: 1px solid #c4baba;
| + | |
− | display:block;
| + | |
− | float:right;
| + | |
− | height:100vh;
| + | |
− | max-width: 270px;
| + | |
− | overflow-y: auto;
| + | |
− | overflow-x: hidden;
| + | |
− | padding:0px;
| + | |
− | position:fixed;
| + | |
− | right:0%;
| + | |
− | text-align:left;
| + | |
− | width: 15%;
| + | |
− | }
| + | |
| | | |
| + | #sideMenu { |
| + | margin-top: 10px; |
| + | } |
| | | |
− | .igem_2018_team_menu.displaying_menu{
| + | .dropdown-menu li:hover .sub-menu { |
− | display:block;
| + | visibility: visible; |
− | }
| + | } |
| | | |
− | .igem_2018_team_menu a {
| + | .dropdown:hover .dropdown-menu { |
− | color: #484848;
| + | display: block; |
− | text-decoration:none;
| + | } |
− | }
| + | |
| | | |
− | .igem_2018_team_menu img {
| + | .navbar-nav .dropdown-menu, |
− | width:100%;
| + | .navbar .dropdown-menu { |
− | }
| + | margin-top: 0; |
| + | } |
| | | |
| | | |
− | .igem_2018_team_menu .menu_item {
| + | /********************************* CONTENT OF THE PAGE ********************************/ |
− | background-color: #c4baba;
| + | |
− | border-bottom: 1px solid #928b8b;
| + | |
− | clear: both;
| + | |
− | color: #484848;
| + | |
− | cursor: pointer;
| + | |
− | float: left;
| + | |
− | font-size: 120%;
| + | |
− | font-weight: bold;
| + | |
− | padding: 15px 0px 15px 5%;
| + | |
− | width: 100%;
| + | |
− | }
| + | |
| | | |
− | .igem_2018_team_menu .menu_item.direct_link {
| |
− | color: #484848;
| |
− | padding-left: 15%;
| |
− | }
| |
− | .igem_2018_team_menu .menu_item:hover {
| |
− | background-color: #ecb656;
| |
− | }
| |
| | | |
| + | /* Wrapper for the content */ |
| | | |
− | .igem_2018_team_menu .menu_item .submenu_control_icon {
| + | .content_wrapper { |
− | color: #484848;
| + | width: 85%; |
− | float: left;
| + | margin-left: 150px; |
− | width: 10%;
| + | padding: 0px; |
− | }
| + | float: left; |
| + | background-color: white; |
| + | } |
| | | |
− | /* submenu icon "+" "-"*/
| |
− | .igem_2018_team_menu .menu_item .submenu_control_icon::before {
| |
− | content: "+";
| |
− | }
| |
| | | |
− | /* submenu icon "+" "-"*/
| + | /*LAYOUT */ |
− | .igem_2018_team_menu .menu_item .submenu_control_icon.open::before {
| + | |
− | content: "-";
| + | |
− | }
| + | |
| | | |
− | /*submenu wrapper*/
| + | .column { |
− | .igem_2018_team_menu .submenu{
| + | padding: 10px 0px; |
− | background-color: #e4dede;
| + | float: left; |
− | clear:both;
| + | background-color: white; |
− | display:none;
| + | } |
− | float: left;
| + | |
− | width:100%;
| + | |
− | }
| + | |
| | | |
− | /*styling for a submenu item*/
| + | .full_size { |
− | .igem_2018_team_menu .submenu .submenu_item {
| + | width: 100%; |
− | border-bottom: 1px solid #c4baba;
| + | } |
− | color: #635d5d;
| + | |
− | height: 30px;
| + | |
− | float: left;
| + | |
− | font-size: 110%;
| + | |
− | font-weight: bold;
| + | |
− | padding: 12px 0px 0px 15%;
| + | |
− | width: 100%;
| + | |
− | }
| + | |
| | | |
− | .igem_2018_team_menu .submenu .submenu_item:hover {
| + | .full_size img { |
− | background-color: #f3bd5d;
| + | padding: 10px 15px; |
− | }
| + | width: 96.5%; |
| + | } |
| | | |
| + | .half_size { |
| + | width: 50%; |
| + | } |
| | | |
− | .igem_2018_team_menu .submenu .submenu_item.current_page,
| + | .half_size img { |
− | .igem_2018_team_menu .menu_item.current_page,
| + | padding: 10px 15px; |
− | .igem_2018_team_menu .menu_item.direct_link.current_page {
| + | width: 93%; |
− | background-color:#7acbd8;
| + | } |
− | }
| + | |
| | | |
| + | .img:hover { |
| + | opacity: 1.0 !important; |
| + | } |
| | | |
| + | .clear { |
| + | clear: both; |
| + | } |
| | | |
− | /*mobile menu bar styling*/
| + | .highlight { |
− | /**************************************************************************************************************************************************************************************************/
| + | width: 90%; |
| + | margin: auto; |
| + | padding: 15px 5px; |
| + | background-color: #f2f2f2; |
| + | } |
| | | |
| + | .judges-will-not-evaluate { |
| + | border: 4px solid #72c9b6; |
| + | display: block; |
| + | margin: 5px 15px; |
| + | width: 95%; |
| + | font-weight: bold; |
| + | } |
| | | |
− | .igem_2018_team_mobile_bar {
| |
− | background-color:#e4dede;
| |
− | border-bottom: 1px solid #c4baba;
| |
− | cursor:pointer;
| |
− | display:none;
| |
− | float:left;
| |
− | margin-top: 0;
| |
− | padding: 5px 0;
| |
− | position:fixed;
| |
− | width:100%;
| |
− | }
| |
| | | |
− | .igem_logo_mobile img {
| + | /*STYLING */ |
− | width:70px;
| + | |
− | }
| + | |
| | | |
− | .igem_logo_mobile {
| |
− | float:left;
| |
− | padding-left: 5%;
| |
− | width: 30%;
| |
− | }
| |
| | | |
− | .igem_menu_control_mobile img {
| + | /* styling for the titles */ |
− | width:25px;
| + | |
− | }
| + | |
| | | |
− | .igem_menu_control_mobile {
| + | .content_wrapper h1, |
− | float:right;
| + | .content_wrapper h2 { |
− | padding-right:5%;
| + | padding: 5px 15px; |
− | padding-top:5px;
| + | border-bottom: 0px; |
− | text-align:right;
| + | color: #72c9b6; |
− | width: 30%;
| + | } |
− | }
| + | |
| | | |
| + | .content_wrapper h3, |
| + | .content_wrapper h4, |
| + | .content_wrapper h5, |
| + | .content_wrapper h6 { |
| + | padding: 5px 15px; |
| + | border-bottom: 0px; |
| + | color: #000000; |
| + | } |
| | | |
| | | |
− | /**************************************************************************************************************************************************************************************************/ | + | /* font and text */ |
− | /* CONTENT OF THE PAGE */
| + | |
− | /**************************************************************************************************************************************************************************************************/
| + | |
| | | |
− | /* general wrapper for the content */
| + | .content_wrapper p { |
− | .igem_2018_team_content {
| + | padding: 0px 15px; |
− | background-color:white;
| + | font-size: 13px; |
− | display:block;
| + | font-family: 'Roboto', sans-serif; |
− | width: 87%;
| + | } |
− | }
| + | |
| | | |
− | /* subwrapper to center content */
| |
− | .igem_2018_team_content .igem_2018_team_column_wrapper {
| |
− | margin:auto;
| |
− | max-width: 1400px;
| |
− | width:90%;
| |
− | }
| |
| | | |
| + | /* Links */ |
| | | |
| + | .content_wrapper a { |
| + | font-weight: bold; |
| + | text-decoration: underline; |
| + | text-decoration-color: #72c9b6; |
| + | color: #72c9b6; |
| + | -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; |
| + | } |
| | | |
− | /*general styling*/
| |
− | /**************************************************************************************************************************************************************************************************/
| |
| | | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper h1 { font-size: 210%;}
| + | /* hover for the links */ |
− | .igem_2018_team_content .igem_2018_team_column_wrapper h2 { font-size: 190%;}
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper h3 { font-size: 170%;}
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper h4 { font-size: 150%;}
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper h5 { font-size: 140%;}
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper h6 { font-size: 130%;}
| + | |
| | | |
| + | .content_wrapper a:hover { |
| + | text-decoration: none; |
| + | color: #000000; |
| + | } |
| | | |
− | /* styling for the titles h1, h2*/
| |
− | .igem_2018_team_content .igem_2018_team_column_wrapper h1, .igem_2018_team_content .igem_2018_team_column_wrapper h2 {
| |
− | border-bottom:0px;
| |
− | color: #635d5d;
| |
− | font-family: "Arial Black", Gadget, sans-serif;
| |
− | padding: 10px 0px;
| |
− | }
| |
| | | |
− | /* styling for the titles h3, h3, h5, h6 */
| + | /* non numbered lists */ |
− | .igem_2018_team_content .igem_2018_team_column_wrapper h3,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper h4,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper h5,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper h6 {
| + | |
− | border-bottom:0px;
| + | |
− | color: #928b8b;
| + | |
− | font-family: "Arial Black", Gadget, sans-serif;
| + | |
− | padding: 5px 0px;
| + | |
− | }
| + | |
| | | |
− | /* text */
| + | .content_wrapper ul { |
− | .igem_2018_team_content .igem_2018_team_column_wrapper p {
| + | padding: 0px 20px; |
− | font-size: 130%;
| + | font-size: 13px; |
− | font-family: Arial, Helvetica, sans-serif;
| + | font-family: 'Quicksand', sans-serif; |
− | padding: 5px 0px;
| + | } |
− | text-align: left;
| + | |
− | color: #484848;
| + | |
− | }
| + | |
| | | |
− | /* Links */
| |
− | .igem_2018_team_content .igem_2018_team_column_wrapper a {
| |
− | color: #5bc7d8;
| |
− | font-weight: bold;
| |
− | text-decoration: underline;
| |
− | text-decoration-color:#5bc7d8;
| |
− | transition: all 0.4s ease;
| |
− | -webkit-transition: all 0.4s ease;
| |
− | -moz-transition: all 0.4s ease;
| |
− | -ms-transition: all 0.4s ease;
| |
− | -o-transition: all 0.4s ease;
| |
− | }
| |
| | | |
− | /* hover for the links */
| + | /* numbered lists */ |
− | .igem_2018_team_content .igem_2018_team_column_wrapper a:hover {
| + | |
− | color: #f8b732;
| + | |
− | text-decoration:none;
| + | |
− | }
| + | |
| | | |
| + | .content_wrapper ol { |
| + | padding: 0px; |
| + | font-size: 13px; |
| + | font-family: 'Quicksand', sans-serif; |
| + | } |
| | | |
− | /* Table */
| |
− | .igem_2018_team_content .igem_2018_team_column_wrapper table {
| |
− | border: 1px solid #928b8b;
| |
− | border-collapse: collapse;
| |
− | font-size: 130%;
| |
− | width: 100%;
| |
− | }
| |
| | | |
− | /* table cells */
| + | /* Table */ |
− | .igem_2018_team_content .igem_2018_team_column_wrapper td {
| + | |
− | border: 1px solid #c4baba;
| + | |
− | border-collapse: collapse;
| + | |
− | font-size: 105%;
| + | |
− | padding: 10px;
| + | |
− | vertical-align: text-top;
| + | |
− | }
| + | |
| | | |
− | /* table headers */
| + | .content_wrapper table { |
− | .igem_2018_team_content .igem_2018_team_column_wrapper th {
| + | width: 97%; |
− | background-color:#c4baba;
| + | margin: 15px 10px; |
− | border: 1px solid #928b8b;
| + | border: 1px solid #d3d3d3; |
− | border-collapse: collapse;
| + | border-collapse: collapse; |
− | font-size: 110%;
| + | } |
− | padding: 10px;
| + | |
− | vertical-align: text-top;
| + | |
− | }
| + | |
| | | |
| | | |
| + | /* table cells */ |
| | | |
− | /* non numbered lists */
| + | .content_wrapper td { |
− | .igem_2018_team_content .igem_2018_team_column_wrapper ul, .igem_2018_team_content .igem_2018_team_column_wrapper ol {
| + | padding: 10px; |
− | font-size: 130%;
| + | vertical-align: text-top; |
− | font-family: Arial, Helvetica, sans-serif;
| + | border: 1px solid #d3d3d3; |
− | padding:0px 20px;
| + | border-collapse: collapse; |
− | }
| + | } |
| | | |
| | | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper ul ul li, .igem_2018_team_content .igem_2018_team_column_wrapper ul ul ul li,
| + | /* table headers */ |
− | .igem_2018_team_content .igem_2018_team_column_wrapper ul ol li, .igem_2018_team_content .igem_2018_team_column_wrapper ul ul ol li,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper ol ol li, .igem_2018_team_content .igem_2018_team_column_wrapper ul ol ul li,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper ol ul li, .igem_2018_team_content .igem_2018_team_column_wrapper ul ol ol li,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper ol ul ul li, .igem_2018_team_content .igem_2018_team_column_wrapper ol ol ul li,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper ol ol ol li, .igem_2018_team_content .igem_2018_team_column_wrapper ol ul ol li{ font-size: 76%; }
| + | |
| | | |
| + | .content_wrapper th { |
| + | padding: 10px; |
| + | vertical-align: text-top; |
| + | border: 1px solid #d3d3d3; |
| + | border-collapse: collapse; |
| + | background-color: #f2f2f2; |
| + | } |
| | | |
| | | |
− | /*layout classes*/ | + | /* Button class */ |
− | /**************************************************************************************************************************************************************************************************/
| + | |
| | | |
− | /*main layout class */
| + | .button_click { |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .column {
| + | margin: 10px auto; |
− | float:left;
| + | padding: 15px; |
− | margin: 1% 2%;
| + | width: 12%; |
− | padding: 0px;
| + | text-align: center; |
− | }
| + | font-weight: bold; |
| + | background-color: #72c9b6; |
| + | cursor: pointer; |
| + | -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; |
| + | } |
| | | |
− | /* 100% */
| |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .column.full_size { width:96%; }
| |
| | | |
− | /* 66% */
| + | /* button class on hover */ |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .column.two_thirds_size { width: 62.6%; }
| + | |
| | | |
− | /* 33% */
| + | .button_click:hover { |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .column.third_size { width: 29.3%; }
| + | background-color: #000000; |
| + | color: #72c9b6; |
| + | } |
| | | |
| + | .top-pad { |
| + | padding: 35px; |
| + | } |
| | | |
| | | |
− | | + | /********************************* RESPONSIVE STYLING ********************************/ |
− | /*styling for all images*/
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .column.full_size img,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .column.two_thirds_size img,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .column.third_size img {
| + | |
− | margin-bottom: 15px;
| + | |
− | width: 100%;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | /* page break */
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .clear {
| + | |
− | clear:both;
| + | |
− | }
| + | |
− | /*add extra space to page break with clear class*/
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .clear.extra_space {
| + | |
− | height: 30px;
| + | |
− | }
| + | |
− | | + | |
− | /* horizontal line to divide the page*/
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .line_divider {
| + | |
− | border-top: 1px solid #c4baba;
| + | |
− | margin: auto;
| + | |
− | width: 98%;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | | + | |
− |
| + | |
− | /*support classes*/
| + | |
− | /**************************************************************************************************************************************************************************************************/
| + | |
− | | + | |
− | | + | |
− | /*Button */
| + | |
− | /************************************************/
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .button_link {
| + | |
− | font-size: 130%;
| + | |
− | margin: 30px auto;
| + | |
− | text-align: center;
| + | |
− | }
| + | |
− | | + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .button_link a {
| + | |
− | background-color: #5bc7d8;
| + | |
− | color: #635d5d !important;
| + | |
− | font-weight: bold;
| + | |
− | margin: auto;
| + | |
− | text-decoration: none !important;
| + | |
− | padding: 10px 15px;
| + | |
− | }
| + | |
− | | + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .button_link a:hover {
| + | |
− | background-color: #f8b732 !important;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | | + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight {
| + | |
− | padding: 15px 20px;
| + | |
− | }
| + | |
− | | + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight p,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight h1,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight h2,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight h3,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight h4,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight h5,
| + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight h6 {
| + | |
− | padding: 5px 15px;
| + | |
− | }
| + | |
− | | + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_background {
| + | |
− | background-color: #e4dede;
| + | |
− | }
| + | |
− | | + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_A_top {
| + | |
− | border-top: 4px solid #5bc7d8;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_A_full {
| + | |
− | border: 4px solid #5bc7d8;
| + | |
− | }
| + | |
− | | + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_B_top {
| + | |
− | border-top: 4px solid #f8b732
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .highlight.decoration_B_full {
| + | |
− | border: 4px solid #f8b732;
| + | |
− | }
| + | |
| | | |
| | | |
| + | /* IF THE SCREEN IS LESS THAN 1000PX */ |
| | | |
| + | @media only screen and (max-width: 1000px) { |
| + | #content { |
| + | width: 100%; |
| + | } |
| + | .menu_wrapper { |
| + | width: 15%; |
| + | } |
| + | .content_wrapper { |
| + | margin-left: 15%; |
| + | } |
| + | .menu_item { |
| + | display: block; |
| + | } |
| + | .icon { |
| + | display: none; |
| + | } |
| + | .highlight { |
| + | padding: 10px 0px; |
| + | } |
| + | } |
| | | |
− | /*mobile*/
| |
− | /**************************************************************************************************************************************************************************************************/
| |
| | | |
| + | /* IF THE SCREEN IS LESS THAN 680PX */ |
| | | |
− | /* 1800px */
| + | @media only screen and (max-width: 680px) { |
− | /************************************************/
| + | .collapsable_menu_control { |
− | @media only screen and (max-width: 1800px) {
| + | display: block; |
− | .igem_2018_team_content { width: 85%;}
| + | } |
− | .igem_2018_team_menu {display:block;}
| + | .menu_item { |
| + | display: none; |
| + | } |
| + | .menu_wrapper { |
| + | width: 100%; |
| + | height: 15%; |
| + | position: relative; |
| + | } |
| + | .content_wrapper { |
| + | width: 100%; |
| + | margin-left: 0px; |
| + | } |
| + | .column.half_size { |
| + | width: 100%; |
| + | } |
| + | .column img { |
| + | width: 100%; |
| + | padding: 5px 0px; |
| + | } |
| + | .icon { |
| + | display: block; |
| + | } |
| + | .highlight { |
| + | padding: 15px 5px; |
| + | } |
| } | | } |
− |
| |
− | /* 1400px */
| |
− | /************************************************/
| |
− | @media only screen and (max-width: 1400px) {
| |
− | .igem_2018_team_menu .menu_item { font-size:100%;}
| |
− | .igem_2018_team_menu .submenu .submenu_item { font-size:90%;}
| |
− | .igem_2018_team_menu {display:block;}
| |
− | }
| |
− |
| |
− | @media only screen and (max-width: 1001px) {
| |
− | .igem_2018_team_menu {display:block;}
| |
− | }
| |
− |
| |
− | /* 1000px */
| |
− | /************************************************/
| |
− | @media only screen and (max-width: 1000px) {
| |
− | .igem_2018_team_content {width:100%; margin-left:0px;}
| |
− | .igem_2018_team_menu {display:none; margin-top: 45px; min-width:50%; width:50%;}
| |
− | .igem_2018_team_mobile_bar {display:block;}
| |
− | .igem_2018_team_content .igem_2018_team_column_wrapper .column.full_size, .igem_2018_team_content .igem_2018_team_column_wrapper .column.two_thirds_size,.igem_2018_team_content .igem_2018_team_column_wrapper .column.third_size {width:96%; }
| |
− |
| |
− | }
| |
− |
| |
− |
| |
− | @media only screen and (max-width: 500px) {
| |
− | .igem_2018_team_menu {min-width:100%; width:100%; }
| |
− | }
| |
− |
| |
− |
| |
− | /**************************************************************************************************************************************************************************************************/
| |
− |
| |
− |
| |
− |
| |
− |
| |
| | | |
| </style> | | </style> |
| | | |
| + | <script> |
| | | |
− | <!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| + | // This is the jquery part of your template. Try not modify any of this code since it makes your menu work. |
− | <!--- THIS IS WHERE THE HTML BEGINS --->
| + | |
− | <!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| + | |
| | | |
− | <head>
| + | $(document).ready(function() { |
| | | |
− | <!-- This tells the browser that your page is responsive -->
| + | $("#HQ_page").attr('id',''); |
− | <meta name="viewport" content="width=device-width, initial-scale=1">
| + | |
− | | + | |
− | </head>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | <!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| + | |
− | <!--- Menu --->
| + | |
− | <!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <div class="igem_2018_team_mobile_bar">
| + | |
| | | |
− | <div class="igem_logo_mobile">
| |
− | <img src="https://static.igem.org/mediawiki/2018/4/4f/2018_igem_mobile_menu_logo.svg">
| |
− | </div>
| |
| | | |
| + | if ( wgPageName.substring( 0, 8) == "Template") { // if the page is a template it displays the full name in a single line |
| + | $("#team_name").html( wgPageName ); |
| + | } |
| | | |
− | <div class="igem_menu_control_mobile">
| + | else if ( ( (wgPageName.match(/\//g) || []).length ) == 0 ) { // if it is the home page , just print the team's name |
− | <img id="menu_control_image" src="https://static.igem.org/mediawiki/igem.org/3/3b/Menu_icon.svg"> | + | $("#team_name").html( wgPageName.substring( 5, wgPageName.length ) ); |
− | </div>
| + | } |
| | | |
− | </div>
| + | else { |
| + | // this adds the team's name as an h1 |
| + | $("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/") ) ); |
| | | |
| + | // this adds the page's title as an h4 |
| + | $("#page_name").html ( ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ") ); |
| + | } |
| | | |
| | | |
| | | |
− | <div class="igem_2018_team_menu displaying_menu">
| |
| | | |
| + | $('#accordion').find('.menu_item').click(function(){ |
| | | |
− | <a href="https://2018.igem.org/Team:JNFLS">
| + | //Expand or collapse this panel |
− | <img src="https://static.igem.org/mediawiki/2018/c/ce/T--JNFLS--HAOZHONGQIU.jpg">
| + | submenu = $(this).find('.submenu'); |
− | </a>
| + | submenu.toggle(); |
| | | |
| + | icon = $(this).find('.icon'); |
| | | |
| + | if ( !$( submenu ).is(':visible') ) { |
| + | icon.removeClass("less").addClass("plus"); |
| + | } |
| + | else { |
| + | icon.removeClass("plus").addClass("less"); |
| + | } |
| | | |
− | <a href="https://2018.igem.org/Team:JNFLS">
| + | //Hide the other panels |
− | <div class="menu_item direct_link"> | + | $(".submenu").not(submenu).hide(); |
− | HOME
| + | $(".icon").not(icon).removeClass("less").addClass("plus"); |
− | </div>
| + | }); |
− | </a> | + | |
| | | |
− | <!-- Team -->
| |
− | <div class="menu_item">
| |
− | <div class="submenu_control_icon"> </div>
| |
− | TEAM
| |
− | </div>
| |
− | <div class="submenu">
| |
− |
| |
− | <a href="https://2018.igem.org/Team:JNFLS/Team">
| |
− | <div class="submenu_item">
| |
− | Team Members
| |
− | </div>
| |
− | </a>
| |
| | | |
− | <a href="https://2018.igem.org/Team:JNFLS/Collaborations">
| + | $(".collapsable_menu_control").click(function() { |
− | <div class="submenu_item">
| + | $(".menu_item").toggle(); |
− | Collaborations
| + | }); |
− | </div>
| + | |
− | </a>
| + | |
− | </div> | + | |
| | | |
| + | $( window ).resize(function() { |
| + | $(".menu_item").show(); |
| + | }); |
| | | |
− | <!-- Project -->
| |
− | <div class="menu_item">
| |
− | <div class="submenu_control_icon"> </div>
| |
− | PROJECT
| |
− | </div>
| |
− | <div class="submenu">
| |
− |
| |
− | <a href="https://2018.igem.org/Team:JNFLS/Description">
| |
− | <div class="submenu_item">
| |
− | Description
| |
− | </div>
| |
− | </a>
| |
| | | |
− | <a href="https://2018.igem.org/Team:JNFLS/Design">
| + | }); |
− | <div class="submenu_item">
| + | |
− | Design
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Experiments">
| + | |
− | <div class="submenu_item">
| + | |
− | Experiments
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Model">
| + | |
− | <div class="submenu_item">
| + | |
− | Model
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Results">
| + | |
− | <div class="submenu_item">
| + | |
− | Results
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Improve">
| + | |
− | <div class="submenu_item">
| + | |
− | Improve
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Attributions">
| + | |
− | <div class="submenu_item">
| + | |
− | Attributions
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | <div class="menu_item">
| + | |
− | <div class="submenu_control_icon"> </div>
| + | |
− | PARTS
| + | |
− | </div>
| + | |
− | <div class="submenu">
| + | |
− |
| + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Parts">
| + | |
− | <div class="submenu_item">
| + | |
− | Parts Overview
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Basic_Part">
| + | |
− | <div class="submenu_item">
| + | |
− | Basic Parts
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Composite_Part">
| + | |
− | <div class="submenu_item">
| + | |
− | Composite Parts
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Part_Collection">
| + | |
− | <div class="submenu_item">
| + | |
− | Part Collection
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | </div>
| + | |
− | | + | |
− |
| + | |
− |
| + | |
− |
| + | |
− |
| + | |
− | | + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Safety">
| + | |
− | <div class="menu_item direct_link">
| + | |
− | SAFETY
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <div class="menu_item">
| + | |
− | <div class="submenu_control_icon"> </div>
| + | |
− | HUMAN PRACTICES
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="submenu">
| + | |
− | | + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Human_Practices">
| + | |
− | <div class="submenu_item">
| + | |
− | Human Practices
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | <a href="https://2018.igem.org/Team:JNFLS/Public_Engagement">
| + | |
− | <div class="submenu_item">
| + | |
− | Education & Engagement
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | </div>
| + | |
| | | |
| | | |
| | | |
| | | |
| + | </script> |
| + | </head> |
| | | |
− | <div class="menu_item">
| |
− | <div class="submenu_control_icon"> </div>
| |
− | AWARDS
| |
− | </div>
| |
| | | |
− | <div class="submenu">
| |
| | | |
− | <a href="https://2018.igem.org/Team:JNFLS/Applied_Design">
| + | <body> |
− | <div class="submenu_item">
| + | <nav class="navbar navbar-default navbar-fixed-top" style=" padding-top: 20px;"> |
− | Applied Design
| + | <div class="container-fluid"> |
− | </div>
| + | <div class="navbar-header"> |
− | </a>
| + | |
| | | |
− | <a href="https://2018.igem.org/Team:JNFLS/Entrepreneurship">
| + | </div> |
− | <div class="submenu_item">
| + | <div class="navbar-header" style="padding-top: 15px; padding-left: 15px;"> |
− | Entrepreneurship
| + | |
− | </div>
| + | |
− | </a>
| + | |
| | | |
− | <a href="https://2018.igem.org/Team:JNFLS/Hardware">
| + | </div> |
− | <div class="submenu_item">
| + | |
− | Hardware
| + | |
− | </div>
| + | |
− | </a>
| + | |
| | | |
− | <a href="https://2018.igem.org/Team:JNFLS/Measurement">
| + | <div id="navbar" class="navbar-collapse collapse"> |
− | <div class="submenu_item">
| + | <ul class="nav navbar-nav navbar-right" style="margin-top: 15px;"> |
− | Measurement
| + | |
− | </div>
| + | |
− | </a>
| + | |
| | | |
− | <a href="https://2018.igem.org/Team:JNFLS/Model">
| |
− | <div class="submenu_item">
| |
− | Model
| |
− | </div>
| |
− | </a>
| |
| | | |
− | <a href="https://2018.igem.org/Team:JNFLS/Plant">
| + | <li> |
− | <div class="submenu_item">
| + | <a class="dropdown-toggle active" href="https://2018.igem.org/Team:JNFLS">Home</a></li> |
− | Plant
| + | |
− | </div>
| + | |
− | </a>
| + | |
| | | |
| + | <li class="dropdown"> |
| + | <a class="dropdown-toggle active" href="https://2018.igem.org/Team:JNFLS/Team">Team <span class="caret"></span></a> |
| + | <ul class="dropdown-menu" style="left:0;"> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Team">Team Member</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Collaborations">Collaboration</a></li> |
| + | </ul> |
| + | </li> |
| | | |
− | <a href="https://2018.igem.org/Team:JNFLS/Software">
| |
− | <div class="submenu_item">
| |
− | Software
| |
− | </div>
| |
− | </a>
| |
| | | |
− | </div>
| |
| | | |
| + | <li class="dropdown"> |
| + | <a class="dropdown-toggle active" href="https://2018.igem.org/Team:JNFLS/PROJECT">PROJECT <span class="caret"></span></a> |
| + | <ul class="dropdown-menu" style="left:0;"> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Description">Background</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Design">Design</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Protocols">Protocols</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Model">Model</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Results">Results</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Interlab">Interlab</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Demonstrate">Demonstrate</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/NoteBook">Notebook</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Achievement">Achievement</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Attributions">Attribution</a></li> |
| + | </ul> |
| + | </li> |
| | | |
| | | |
− | <a href="https://igem.org/2018_Judging_Form?team=JNFLS">
| + | <li class="dropdown"> |
− | <div class="menu_item direct_link">
| + | <a class=a href="https://2018.igem.org/Team:JNFLS/Parts">PARTS <span class="caret"></span></a> |
− | JUDGING FORM ?
| + | |
− | </div>
| + | </li> |
− | </a>
| + | |
| | | |
| | | |
| + | <li> |
| + | <a class="dropdown-toggle active" href="https://2018.igem.org/Team:JNFLS/SAFETY">SAFETY </a></li> |
| | | |
| + | <li class="dropdown"> |
| + | <a class="dropdown-toggle active" href="https://2018.igem.org/Team:JNFLS/HUMAN_PRACTICES">HUMAN PRACTICE <span class="caret"></span></a> |
| + | <ul class="dropdown-menu"> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Silver_Human_Practice">Silver Human Practice</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Integrated_and_Gold">Integrated And Gold</a></li> |
| + | <li><a href="https://2018.igem.org/Team:JNFLS/Public_Engagement">Education&Engagement</a></li> |
| | | |
| + | </ul> |
| + | </li> |
| | | |
| | | |
− | </div> | + | <li> |
| + | <a class="dropdown-toggle active" href="https://igem.org/2018_Judging_Form?team=JNFLS">Judging Form</a></li> |
| | | |
− | <!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| |
− | <!--- Content of the page --->
| |
− | <!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| |
| | | |
| + | </ul> |
| + | </li> |
| + | </ul> |
| + | </div> |
| + | <!-- /.navbar-collapse --> |
| + | </div> |
| + | <!-- /.container-fluid --> |
| + | </nav> |
| + | </body> |
| | | |
− | <div class="igem_2018_team_content">
| + | </html> |
− | <div class="igem_2018_team_column_wrapper">
| + | |
− | <div class="clear extra_space"></div>
| + | |
− | <div class="clear extra_space"></div>
| + | |