|
|
(113 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <html> | | <html> |
− | <script>
| |
− | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
| |
− |
| |
− | $(document).ready(function() {
| |
− |
| |
− | //remove the HQ_page id
| |
− | $("#HQ_page").attr('id','');
| |
− |
| |
− |
| |
− | //highlight current page on the menu
| |
− | 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_2019_team_mobile_bar").click(function(){
| |
− | $(this).next().toggleClass("displaying_menu");
| |
− | });
| |
− |
| |
− | });
| |
− |
| |
− |
| |
− | function highlight_current_page_menu() {
| |
− |
| |
− | var page_url="https://2019.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>
| |
− |
| |
| | | |
| <style> | | <style> |
− | /**************************************************************************************************************************************************************************************************/
| |
− |
| |
− |
| |
− |
| |
− | /**************************************************************************************************************************************************************************************************/
| |
− | /* DEFAULT WIKI SETTINGS */
| |
− | /**************************************************************************************************************************************************************************************************/
| |
− |
| |
− |
| |
| #home_logo, #sideMenu { display:none; } | | #home_logo, #sideMenu { display:none; } |
| #sideMenu, #top_title, .patrollink {display:none;} | | #sideMenu, #top_title, .patrollink {display:none;} |
− | #content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;} | + | #content { margin-left:0px; margin-top:-11px; padding:0px; width:100%;} |
| body {background-color:white; } | | body {background-color:white; } |
| #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } | | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } |
Line 67: |
Line 12: |
| | | |
| | | |
− | /**************************************************************************************************************************************************************************************************/
| + | body { |
− | | + | margin:0; |
− | <head>
| + | font-family:Arial; |
− | | + | } |
− | <!-- This tells the browser that your page is responsive -->
| + | |
− | <meta name="viewport" content="width=device-width, initial-scale=1">
| + | |
− | | + | |
− | </head>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | <!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| + | |
− | <!--- Menu --->
| + | |
− | <!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <div class="igem_2019_team_mobile_bar">
| + | |
− |
| + | |
− | <div class="igem_logo_mobile">
| + | |
− | <img src="https://static.igem.org/mediawiki/2019/3/3c/Igem_mobile_menu_logo.svg">
| + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | <div class="igem_menu_control_mobile">
| + | |
− | <img id="menu_control_image" src="https://static.igem.org/mediawiki/2019/e/ee/2019_team_menu_icon.svg">
| + | |
− | </div>
| + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <div class="igem_2019_team_menu">
| + | |
− | | + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL">
| + | |
− | <img src="https://placehold.it/350x150/ececec/cecece">
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL">
| + | |
− | <div class="menu_item direct_link">
| + | |
− | HOME
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <!-- Team -->
| + | |
− | <div class="menu_item">
| + | |
− | <div class="submenu_control_icon"> </div>
| + | |
− | TEAM
| + | |
− | </div>
| + | |
− | <div class="submenu">
| + | |
− |
| + | |
− | <a href="https://2019.igem.org/Team:UANL/Team">
| + | |
− | <div class="submenu_item">
| + | |
− | Team Members
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/Collaborations">
| + | |
− | <div class="submenu_item">
| + | |
− | Collaborations
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | <!-- Project -->
| + | |
− | <div class="menu_item">
| + | |
− | <div class="submenu_control_icon"> </div>
| + | |
− | PROJECT
| + | |
− | </div>
| + | |
− | <div class="submenu">
| + | |
− |
| + | |
− | <a href="https://2019.igem.org/Team:UANL/Description">
| + | |
− | <div class="submenu_item">
| + | |
− | Description
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/Design">
| + | |
− | <div class="submenu_item">
| + | |
− | Design
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/Experiments">
| + | |
− | <div class="submenu_item">
| + | |
− | Experiments
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/Notebook">
| + | |
− | <div class="submenu_item">
| + | |
− | Notebook
| + | |
− | </div>
| + | |
− | </a>
| + | |
− |
| + | |
− | <a href="https://2019.igem.org/Team:UANL/Contribution">
| + | |
− | <div class="submenu_item">
| + | |
− | Contribution
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/Results">
| + | |
− | <div class="submenu_item">
| + | |
− | Results
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/Demonstrate">
| + | |
− | <div class="submenu_item">
| + | |
− | Demonstrate
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/Improve">
| + | |
− | <div class="submenu_item">
| + | |
− | Improve
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/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://2019.igem.org/Team:UANL/Parts">
| + | |
− | <div class="submenu_item">
| + | |
− | Parts Overview
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/Basic_Part">
| + | |
− | <div class="submenu_item">
| + | |
− | Basic Parts
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/Composite_Part">
| + | |
− | <div class="submenu_item">
| + | |
− | Composite Parts
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/Part_Collection">
| + | |
− | <div class="submenu_item">
| + | |
− | Part Collection
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | </div>
| + | |
− | | + | |
− |
| + | |
− |
| + | |
− |
| + | |
− |
| + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/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://2019.igem.org/Team:UANL/Human_Practices">
| + | |
− | <div class="submenu_item">
| + | |
− | Human Practices
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | <a href="https://2019.igem.org/Team:UANL/Public_Engagement">
| + | |
− | <div class="submenu_item">
| + | |
− | Education & Engagement
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | </div>
| + | |
| | | |
| + | ::-webkit-scrollbar { |
| + | display: none; |
| + | } |
| | | |
| | | |
| | | |
| + | .navbar-brand { |
| + | background-color:#ffffff; |
| + | } |
| | | |
− | <div class="menu_item">
| + | li.nav-item { |
− | <div class="submenu_control_icon"> </div>
| + | font-size: 17px; |
− | AWARDS
| + | margin-right: 15px; |
− | </div>
| + | } |
| | | |
− | <div class="submenu">
| + | .navbar.bg-dark{ |
| + | background-color:#ffffff !important; |
| + | } |
| | | |
− | <a href="https://2019.igem.org/Team:UANL/Entrepreneurship">
| + | .navbar-expand-md .navbar-collapse { |
− | <div class="submenu_item">
| + | background-color: #3a3a3a; |
− | Entrepreneurship
| + | padding-top: 10px; |
− | </div>
| + | padding-bottom: 10px; |
− | </a>
| + | } |
| | | |
− | <a href="https://2019.igem.org/Team:UANL/Hardware">
| + | .navbar-dark .navbar-toggler { |
− | <div class="submenu_item">
| + | background-color: #3a3a3a; |
− | Hardware
| + | } |
− | </div>
| + | |
− | </a>
| + | |
| | | |
− | <a href="https://2019.igem.org/Team:UANL/Measurement">
| + | #HQ_page p { |
− | <div class="submenu_item">
| + | font-family: 'Open Sans', sans-serif; |
− | Measurement
| + | font-size:16px; |
− | </div>
| + | line-height:26px; |
− | </a>
| + | } |
| | | |
− | <a href="https://2019.igem.org/Team:UANL/Model">
| + | #HQ_page li { |
− | <div class="submenu_item">
| + | font-family: 'Open Sans', sans-serif; |
− | Model
| + | font-size:16px; |
− | </div>
| + | line-height:26px; |
− | </a>
| + | } |
| | | |
− | <a href="https://2019.igem.org/Team:UANL/Plant">
| + | #HQ_page h1, h2, h3, h4, h5 { |
− | <div class="submenu_item">
| + | font-family: 'Poppins', sans-serif; |
− | Plant
| + | } |
− | </div>
| + | |
− | </a>
| + | |
| | | |
| + | #toc, .toc { |
| + | display:none; |
| + | } |
| | | |
− | <a href="https://2019.igem.org/Team:UANL/Software">
| + | footer.page-footer { |
− | <div class="submenu_item">
| + | background-color: #3a3a3a; |
− | Software
| + | color: #e0e0e0; |
− | </div>
| + | margin-top:60px; |
− | </a>
| + | } |
| | | |
− | </div>
| + | .logo-footer { |
| + | max-width:200px; |
| + | } |
| | | |
| + | footer .dropdown-content a, |
| + | footer h6 a, |
| + | footer h6 a:visited, |
| + | footer a, |
| + | footer a:visited { |
| + | color: rgba(255,255,255,0.6); |
| + | margin-right: 10px; |
| + | } |
| | | |
| + | footer .dropdown-content a:hover, |
| + | footer h6 a:hover, |
| + | footer a i:hover { |
| + | color: rgba(255,255,255,0.9); |
| + | } |
| | | |
− | <a href="https://igem.org/2019_Judging_Form?team=UANL">
| + | footer h6 { |
− | <div class="menu_item direct_link">
| + | margin-top:10px; |
− | JUDGING FORM ⇗
| + | } |
− | </div>
| + | |
− | </a>
| + | |
| | | |
| + | .social-footer { |
| + | position: relative; |
| + | top: -12px; |
| + | } |
| | | |
− |
| + | footer .fa { |
− | <div class="menu_padding"></div>
| + | font-size:20px; |
− |
| + | } |
| | | |
| + | footer a.os-menu-link { |
| + | margin-right:0px; |
| + | color: #fff; |
| + | text-decoration:underline; |
| + | } |
| | | |
| + | footer a.os-menu-link:hover { |
| + | text-decoration:none; |
| + | } |
| | | |
| + | pre { |
| + | display:none !important; |
| + | } |
| | | |
− | </div>
| + | #HQ_page img { |
| + | max-width:100%; |
| + | height:auto; |
| + | } |
| | | |
− | <!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| + | #HQ_page img.logo { |
− | <!--- Content of the page --->
| + | max-width:190px; |
− | <!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| + | } |
| | | |
| + | a.new:visited, #p-personal a.new:visited { |
| + | color: #007bff; |
| + | } |
| + | a.new:visited, #p-personal a.new:visited { |
| + | color: #007bff; |
| + | } |
| + | a.new { |
| + | color: #007bff; |
| + | } |
| + | a:visited { |
| + | color: #007bff; |
| + | } |
| + | a.new, #p-personal a.new { |
| + | color: #007bff; |
| + | } |
| + | a:visited { |
| + | color: #007bff; |
| + | } |
| + | a.new { |
| + | color: #007bff; |
| + | } |
| | | |
− | <div class="igem_2019_team_content">
| + | </style> |
− | <div class="igem_2019_team_column_wrapper">
| + | |
− | <div class="clear extra_space"></div>
| + | |
− | <div class="clear extra_space"></div>
| + | |