|
|
(161 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <html> | | <html> |
| + | <style> |
| + | body{ |
| + | margin:17px 0 0 0; |
| + | } |
| + | /*DISABLE DEFAULT DESIGN*/ |
| + | #bodyContent{ |
| + | min-width:1300px; |
| + | font-family:"Arial Unicode MS"; |
| + | } |
| + | #top_menu_under{ |
| + | display:none; |
| + | } |
| + | #content{ |
| + | width: 100%; |
| + | margin: 0; |
| + | padding: 0; |
| + | } |
| | | |
− | <script>
| + | #sideMenu{ |
| + | display:none; |
| + | } |
| | | |
− | // This is the jquery part of your template.
| + | #top_title{ |
− | // Try not modify any of this code too much since it makes your menu work.
| + | display:none; |
| + | } |
| | | |
− | $(document).ready(function() {
| + | #globalWrapper{ |
| + | padding-bottom: 0; |
| + | } |
| + | #top_menu_inside .submenu{ |
| + | padding-top:0px; |
| + | } |
| + | #header ul{ |
| + | list-style-image:none; |
| + | list-style-type:none; |
| + | } |
| + | #contents ul{ |
| + | margin-left:0px; |
| + | } |
| + | #contents li{ |
| + | font-size:17px; |
| + | } |
| | | |
− | $("#HQ_page").attr('id','');
| + | /*---------------------- */ |
| | | |
− | // call the functions that control the menu
| + | /*menu*/ |
− | menu_functionality();
| + | |
− | hide_show_menu();
| + | |
| | | |
| + | #header{ |
| + | |
| + | position:relative; |
| + | width: 100%; |
| + | min-width: 1300px; |
| + | /*width: 1366px;*/ |
| + | height: 72px; |
| + | margin: 0 auto; |
| + | /*border: 1px solid #000;*/ |
| + | text-align: center; |
| + | background-color: #00aeef; |
| + | opacity: 0.7; |
| + | z-index:2; |
| + | } |
| + | #header ul{ |
| + | /*list-style-type: none;*/ |
| + | /*margin: 0;*/ |
| + | padding: 0; |
| + | } |
| + | #nav-wrapper{ |
| + | width:auto; |
| + | |
| + | margin: 0 auto; |
| + | } |
| + | .nav { |
| + | text-align:center; |
| + | |
| + | height:72px; |
| + | position:relative; |
| + | left:20px; |
| + | } |
| + | .nav ul { |
| + | |
| + | margin: 0 auto; |
| + | list-style-type: none; |
| + | font-size:17px; |
| + | } |
| + | .nav ul li{ |
| + | float: left; |
| + | width: 110px; |
| + | margin: 0; |
| + | /*border-right: 1px solid #e6e4e4;*/ |
| + | box-sizing: border-box; |
| + | font-size:13px; |
| + | /*text-indent:-9999px;*/ |
| + | } |
| + | .nav ul li:last-child { |
| + | border-right: none; |
| + | } |
| + | .nav ul li a{ |
| + | display: block; |
| + | width: 100%; |
| + | height:72px; |
| + | line-height:72px; |
| + | color:#fff; |
| + | white-space:nowrap; |
| | | |
| + | |
| + | } |
| | | |
− | //this function controls the expand and collapse buttons of the menu and changes the +/- symbols
| |
− | function menu_functionality() {
| |
| | | |
− | //when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu
| + | #nv0 a{ |
− | $(".menu_button").click(function(){
| + | background: url(https://static.igem.org/mediawiki/2017/e/e1/WHU-China-logo.png); |
− | | + | background-repeat: no-repeat; |
− | // add or remove the class "open" , this class holds the "-"
| + | background-position: center; |
− | $(this).children().toggleClass("open");
| + | background-size:cover; |
− | // show or hide the submenu
| + | } |
− | $(this).next('.submenu_wrapper').fadeToggle(400);
| + | #nv1 > a{background: url();} |
− | });
| + | #nv2 > a{background: url();} |
− | | + | #nv3 > a{background: url();} |
− | // when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu
| + | #nv4 > a{background: url();} |
− | $("#display_menu_control").click(function(){
| + | #nv5 > a{background: url();} |
− | $('#menu_content').fadeToggle(400);
| + | #nv6 > a{background: url();} |
− | });
| + | #nv7 > a{background: url();} |
− | | + | #nv8 > a{background: url();} |
− | // call the current page highlight function
| + | #nv9 > a{background: url();} |
− | highlight_current_page();
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | // call the highlight current page function to show it on the menu with a different background color
| + | |
− | function highlight_current_page() {
| + | |
− | | + | |
− | // select a page from the menu based on the id assigned to it and the current page name and add the class "current page" to make it change background color
| + | |
− | $("#"+ wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page");
| + | |
− | | + | |
− | // now that the current_page class has been added to a menu item, make the submenu fade in
| + | |
− | $(".current_page").parents(".submenu_wrapper").fadeIn(400);
| + | |
− | // change the +/- symbol of the corresponding menu button
| + | |
− | $(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open");
| + | |
− |
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | | + | |
− | // allow button on the black menu bar to show/hide the side menu
| + | |
− | function hide_show_menu() {
| + | |
| | | |
− | // in case you preview mode is selected, the menu is hidden for better visibility
| + | #nv11 {background-image: url();} |
− | if (window.location.href.indexOf("submit") >= 0) {
| + | #nv12 {background-image: url();} |
− | $(".igem_2017_menu_wrapper").hide();
| + | #nv13 {background-image: url();} |
− | }
| + | #nv14 {background-image: url();} |
− | | + | #nv15 {background-image: url();} |
− | // if the black menu bar has been loaded
| + | #nv16 {background-image: url();} |
− | if (document.getElementById('bars_item')) {
| + | |
− | | + | |
− | // when the "bars_item" has been clicked
| + | |
− | $("#bars_item").click(function() {
| + | |
− | $("#sideMenu").hide();
| + | |
− | | + | |
− | // show/hide the menu wrapper
| + | |
− | $(".igem_2017_menu_wrapper").fadeToggle("100");
| + | |
− | });
| + | |
− | }
| + | |
− | | + | |
− | // because the black menu bars loads at a different time than the rest of the page, this function is set on a time out so it can run again in case it has not been loaded yet
| + | |
− | else {
| + | |
− | setTimeout(hide_show_menu, 15);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | });
| + | |
− | | + | |
− | | + | |
− | </script>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <style>
| + | |
− | | + | |
− | | + | |
| | | |
− | /***************************************************** DEFAULT WIKI SETTINGS ****************************************************/
| + | #nv21 {background-image: url();} |
| + | #nv22 {background-image: url();} |
| + | #nv23 {background-image: url();} |
| | | |
− | /* Clear the default wiki settings */
| + | #nv31 {background-image: url();} |
| + | #nv32 {background-image: url();} |
| + | #nv33 {background-image: url();} |
| | | |
− | #home_logo, #sideMenu { display:none; }
| + | #nv41 {background-image: url();} |
− | #sideMenu, #top_title, .patrollink {display:none;}
| + | #nv42 {background-image: url();} |
− | #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; }
| + | |
| | | |
− |
| + | #nv51 {background-image: url();} |
− |
| + | #nv52 {background-image: url();} |
− |
| + | |
− | /**************************************************************** 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 */
| + | #nv61 {background-image: url();} |
− | .igem_2017_menu_wrappe::-webkit-scrollbar {
| + | #nv62 {background-image: url();} |
− | display: none;
| + | #nv63 {background-image: url();} |
− | }
| + | |
− |
| + | |
− |
| + | |
− | /* styling for links in the menu, removes the line under text */
| + | |
− | .igem_2017_menu_wrapper a {
| + | |
− | text-decoration: none;
| + | |
− | }
| + | |
| | | |
− | | + | #nv71 {background-image: url();} |
− | /* styling for the images in the menu */
| + | #nv72 {background-image: url();} |
− | .igem_2017_menu_wrapper img {
| + | |
− | width: 100%;
| + | |
− | }
| + | |
− | | + | |
− | /* styling for the menu buttons */
| + | |
− | .igem_2017_menu_wrapper .menu_button {
| + | |
− | width: 100%;
| + | |
− | padding: 10px 0px 10px 15px;
| + | |
− | float:left;
| + | |
− | border-bottom: 1px solid #d3d3d3;
| + | |
− | font-size: 12px;
| + | |
− | font-weight: bold;
| + | |
− | color: #5e5f5f;
| + | |
− | cursor: pointer;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | .igem_2017_menu_wrapper .menu_bottom_padding {
| + | |
− | width: 100%;
| + | |
− | height: 30px;
| + | |
− | float:left;
| + | |
− | }
| + | |
− | | + | |
− | .menu_button.direct_to_page {
| + | |
− | padding-left: 36px;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | .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 {
| + | #nv81 {background-image: url();} |
− | content: "-" !important;
| + | #nv82 {background-image: url();} |
− | }
| + | #nv83 {background-image: url();} |
| | | |
| | | |
− |
| + | #nv1 > a:hover{background-position: 0 -72px;} |
− | /* styling for the menu buttons on hover */
| + | #nv2 > a:hover{background-position: 0 -72px;} |
− | .igem_2017_menu_wrapper .menu_button:hover, .igem_2017_menu_wrapper .submenu_button:hover , .submenu_button.current_page:hover {
| + | #nv3 > a:hover{background-position: 0 -72px;} |
− | background-color: #3399ff;
| + | #nv4 > a:hover{background-position: 0 -72px;} |
− | text-decoration: none;
| + | #nv5 > a:hover{background-position: 0 -72px;} |
− | color:#ffffff;
| + | #nv6 > a:hover{background-position: 0 -72px;} |
− | }
| + | #nv7 > a:hover{background-position: 0 -72px;} |
| + | #nv8 > a:hover{background-position: 0 -72px;} |
| + | #nv9 > a:hover{background-position: 0 -72px;} |
| | | |
− | /* styling for the menu button when it is the current page */
| |
− | .current_page {
| |
− | background-color:#7fc1f7 !important;
| |
− | color:#5e5f5f !important;
| |
− | }
| |
| | | |
− | | + | .nv > li > ul { |
− | /* styling for the submenu buttons */
| + | width:121px; |
− | .igem_2017_menu_wrapper .submenu_button {
| + | position: absolute; |
− | width: 100%;
| + | visibility:hidden; |
− | padding: 10px 0px 10px 34px;
| + | } |
− | float:left;
| + | .nv > li:hover > ul{ |
− | background-color:#f2f2f2;
| + | visibility: visible; |
− | border-bottom: 1px solid #d3d3d3;
| + | |
− | font-size: 12px;
| + | |
− | color: #5e5f5f;
| + | |
− | cursor: pointer;
| + | |
− | }
| + | |
− | | + | |
− | /* wrapper for the submenu items, they are hidden by default*/
| + | |
− | .igem_2017_menu_wrapper .submenu_wrapper { | + | |
− | display:none;
| + | |
− | } | + | |
− | | + | |
− | /* when the page size is bigger than 800px, this show/hide control is hidden by default */
| + | |
− | .igem_2017_menu_wrapper #display_menu_control {
| + | |
− | display:none;
| + | |
− | text-align:center;
| + | |
| } | | } |
| | | |
| + | .nv > li > ul > li{ |
| + | float:inherit; |
| + | height:0px; |
| + | transition:height 0.5s; |
| + | opacity:0.7; |
| + | background-color:#000; |
| + | } |
| | | |
− | /***************************************************** CONTENT OF THE PAGE ****************************************************/
| + | .nv > li > ul > li:hover{ |
| + | opacity:0.9; |
| + | background-color:#00aeef;} |
| | | |
− | /* Wrapper for the content */
| + | .nv > li:hover > ul > li{ |
− | .igem_2017_content_wrapper {
| + | height:48px; |
− | width: 81%;
| + | } |
− | margin: 2%;
| + | |
− | display:block;
| + | |
− | float:left;
| + | |
− | background-color:white;
| + | |
− | font-family:Tahoma, Geneva, sans-serif;
| + | |
− | }
| + | |
| | | |
− | | + | .nv > li > ul > li a{ |
− | /********************************* HTML STYLING *********************************/
| + | height:0px; |
− | | + | transition:height 0.5s; |
− | /* styling for the titles h1 h2 */
| + | |
− | .igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
| + | |
− | padding:5px 15px;
| + | |
− | border-bottom: 0px;
| + | |
− | color: #000000;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | /* 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 {
| + | |
− | padding:5px 15px;
| + | |
− | border-bottom:0px;
| + | |
− | color: #000000;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | /* font and text */
| + | |
− | .igem_2017_content_wrapper p {
| + | |
− | padding: 0px 15px;
| + | |
− | font-size: 13px;
| + | |
− | }
| + | |
− | | + | |
− | /* Links */
| + | |
− | .igem_2017_content_wrapper a {
| + | |
− | font-weight: bold;
| + | |
− | text-decoration: underline;
| + | |
− | text-decoration-color: #3399ff;
| + | |
− | 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_2017_content_wrapper a:hover {
| + | |
− | text-decoration:none;
| + | |
− | color:#000000;
| + | |
− | }
| + | |
− | | + | |
− | /* non numbered lists */
| + | |
− | .igem_2017_content_wrapper ul {
| + | |
− | padding:0px 20px;
| + | |
− | font-size: 13px;
| + | |
− | font-family:Tahoma, Geneva, sans-serif;
| + | |
− | }
| + | |
− | | + | |
− | /* numbered lists */
| + | |
− | .igem_2017_content_wrapper ol {
| + | |
− | padding:0px;
| + | |
− | font-size: 13px;
| + | |
− | font-family:Tahoma, Geneva, sans-serif;
| + | |
− | }
| + | |
− | | + | |
− | /* Table */
| + | |
− | .igem_2017_content_wrapper table {
| + | |
− | width: 97%;
| + | |
− | margin:15px 10px;
| + | |
− | border: 1px solid #d3d3d3;
| + | |
− | border-collapse: collapse;
| + | |
− | }
| + | |
− | | + | |
− | /* table cells */
| + | |
− | .igem_2017_content_wrapper td {
| + | |
− | padding: 10px;
| + | |
− | vertical-align: text-top;
| + | |
− | border: 1px solid #d3d3d3;
| + | |
− | border-collapse: collapse;
| + | |
− | }
| + | |
− | | + | |
− | /* table headers */
| + | |
− | .igem_2017_content_wrapper th {
| + | |
− | padding: 10px;
| + | |
− | vertical-align: text-top;
| + | |
− | border: 1px solid #d3d3d3;
| + | |
− | border-collapse: collapse;
| + | |
− | background-color:#f2f2f2;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | /**********************************LAYOUT CLASSES **********************************/
| + | |
− | | + | |
− | /* general class for column divs */
| + | |
− | .igem_2017_content_wrapper .column {
| + | |
− | padding: 10px 0px;
| + | |
− | float:left;
| + | |
− | }
| + | |
− | | + | |
− | /* class for a full width column */
| + | |
− | .column .full_size {
| + | |
− | width:100%;
| + | |
− | }
| + | |
− | | + | |
− | /* styling for images in a full width column*/
| + | |
− | .column.full_size img {
| + | |
− | width:97%;
| + | |
− | padding: 10px 15px;
| + | |
− | }
| + | |
− | | + | |
− | /* 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;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | /********************************* SUPPORT CLASSES ********************************/
| + | |
− | | + | |
− | /* class that clears content below*/
| + | |
− | .igem_2017_content_wrapper .clear {
| + | |
− | clear:both;
| + | |
− | }
| + | |
| | | |
− |
| + | } |
− | /* adds extra spacing when clearing content */
| + | |
− | .igem_2017_content_wrapper .clear.extra_space {
| + | |
− | height: 30px;
| + | |
− | }
| + | |
| | | |
| + | .nv > li:hover > ul > li a{ |
| + | height:48px; |
| + | line-height: 48px; |
| + | } |
| | | |
− | /* highlight class, makes content slightly smaller */
| + | #contents-wrapper{ |
− | .igem_2017_content_wrapper .highlight {
| + | min-width:1024px; |
− | margin: 0px 15px;
| + | background-color:#ffffff; |
− | padding: 15px 0px;
| + | padding-bottom: 100px; |
− | }
| + | } |
| | | |
| + | #contents{ |
| + | width: 1024px; |
| + | margin: 0 auto; |
| + | border-color: #000000; |
| + | color: #969696; |
| + | border-top:30px solid #ffffff; |
| + | border-bottom:30px solid #ffffff; |
| + | /*background-color: #c0ffee;*/ |
| + | } |
| + | #contents p{ |
| + | word-wrap:break-word; |
| + | } |
| + | /*#header li{ |
| + | text-indent: -9999px; |
| + | float:left; |
| + | width: 100px; |
| + | margin: 0; |
| + | padding: 0; |
| + | }*/ |
| | | |
− | /* highlight class, adds a gray background */
| |
− | .igem_2017_content_wrapper .highlight.gray {
| |
− | background-color: #f2f2f2;
| |
− | }
| |
| | | |
− | /* highlight with decoration blue line on top */
| + | .”caption”{ |
− | .igem_2017_content_wrapper .highlight.blue_top {
| + | color:#6f89a5; |
− | border-top: 4px solid #3399ff;
| + | font-size: 14.5px; |
− | }
| + | } |
| + | #bodyContent h1{ |
| + | font-size:30px; |
| + | color:#00aeef; |
| + | border-bottom:1pt solid #00aeef; |
| + | padding-top:45px; |
| + | padding-bottom:15px; |
| + | margin-bottom:15px; |
| + | line-height:25px; |
| + | } |
| + | #bodyContent h2{ |
| + | font-size:25px; |
| + | color:#00aeef; |
| + | margin-top:30px; |
| + | line-height:25px; |
| + | } |
| + | h3{ |
| + | font-size:20px; |
| + | padding-bottom:8px; |
| + | color:#808080; |
| + | line-height:30px; |
| + | } |
| + | #bodyContent h4{ |
| + | font-size:20px; |
| + | color:#808080; |
| + | } |
| + | h5{ |
| + | font-size:15px; |
| + | color:#00aeef; |
| + | } |
| + | h6{ |
| + | font-size:25px; |
| + | color:#00aeef; |
| + | padding-bottom:10px; |
| + | } |
| + | b{ |
| + | font-size:17px; |
| + | color:#1e1e20; |
| + | } |
| + | p{ |
| + | font-size:17px; |
| + | color:#646464; |
| + | } |
| + | #toc{ |
| + | list-style:none; |
| + | margin:0 0 15px 0; |
| + | padding:0; |
| + | border:0; |
| + | background:none; |
| + | } |
| + | #toc li{ |
| + | font-size:15px; |
| + | color:#00aeef; |
| + | margin-bottom:10px; |
| + | font-weight:700; |
| + | } |
| + | #cont { |
| + | list-style:none; |
| + | margin:0; |
| + | padding:0; |
| + | border:0; |
| + | background:none; |
| + | } |
| + | #cont li { |
| + | font-size:13px; |
| + | /*color:#00aeef;*/ |
| + | margin-bottom:0px; |
| + | font-weight:700; |
| + | } |
| + | #cont2 { |
| + | list-style:none; |
| + | margin:0; |
| + | padding:0; |
| + | border:0; |
| + | background:none; |
| + | } |
| + | #cont2 li { |
| + | font-size:13px; |
| + | color:#00aeef; |
| + | margin-bottom:0px; |
| + | font-weight:700; |
| + | padding-left:2em; |
| + | } |
| + | #att{ |
| + | margin:0 0 15px 0; |
| + | padding:0; |
| + | border:0; |
| + | background:none; |
| + | } |
| + | #att li{ |
| + | font-size:15px; |
| + | color:#646464; |
| + | margin-bottom:10px; |
| + | font-weight:400; |
| + | } |
| + | #hp { |
| + | margin:0 0 17px 0; |
| + | padding:0; |
| + | border:0; |
| + | background:none; |
| + | } |
| + | #hp li{ |
| + | list-style:none; |
| + | font-size:15px; |
| + | color:#646464; |
| + | margin-bottom:10px; |
| + | font-weight:400; |
| + | } |
| + | #hp2 { |
| + | margin:0 0 17px 0; |
| + | padding:0; |
| + | border:0; |
| + | background:none; |
| + | } |
| + | #hp2 li{ |
| + | list-style:square; |
| + | font-size:15px; |
| + | color:#646464; |
| + | margin-bottom:10px; |
| + | margin-left:2em; |
| + | font-weight:400; |
| + | } |
| | | |
− | /* highlight with a full blue border decoration */
| + | a:link { |
− | .igem_2017_content_wrapper .highlight.blue_border {
| + | text-decoration:none ; |
− | border: 4px solid #3399ff;
| + | color: #00aeef; |
− | }
| + | |
| + | } |
| + | a:visited { |
| + | color: #00aeef; |
| + | font-weight:bold; |
| + | } |
| + | a:hover { |
| + | color: #00aeef; |
| + | |
| + | font-weight:bold; |
| + | } |
| + | a:active { |
| + | color: #00aeef; |
| + | font-weight:bold; |
| + | } |
| | | |
| + | div.keln_container img{ |
| + | margin-top: 20px; |
| + | max-width: 400px; |
| + | height: auto; |
| + | } |
| | | |
− | /* button class */
| + | img.hpimg{ |
− | .igem_2017_content_wrapper .button{
| + | margin-top: 20px; |
− | max-width: 35%;
| + | max-width: 600px; |
− | margin: 30px auto;
| + | height: auto; |
− | padding: 12px 10px;
| + | } |
− | background-color: #3399ff;
| + | |
− | text-align: center;
| + | |
− | 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 */
| |
− | .igem_2017_content_wrapper .button:hover{
| |
− | background-color: #3399ff;
| |
− | color: #000000;
| |
− | }
| |
| | | |
| + | </style> |
| | | |
| | | |
− |
| |
− | /***************************************************** RESPONSIVE STYLING ****************************************************/
| |
− |
| |
− | /* IF THE SCREEN IS LESS THAN 1200PX */
| |
− | @media only screen and (max-width: 1200px) {
| |
− |
| |
− | #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;
| |
− | }
| |
− | #nav ul li {
| |
− |
| |
− | float:left;
| |
− |
| |
− | text-align:center;
| |
− |
| |
− | font:16px/2.5 "microsoft yahei";
| |
− |
| |
− | }
| |
− | </style>
| |
| | | |
| | | |
Line 460: |
Line 398: |
| | | |
| | | |
| + | <!-- This tells the browser that your page is responsive --> |
| | | |
− | <head>
| + | |
− | | + | |
− | <!-- This tells the browser that your page is responsive -->
| + | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| + | |
| | | |
− | </head>
| |
| | | |
| | | |
− | <div class="igem_2017_menu_wrapper" >
| |
| | | |
| | | |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China">
| |
− | <img src="https://static.igem.org/mediawiki/2017/2/23/WHU-China-Logo-0.png">
| |
− | </a>
| |
| | | |
| + | <script> |
| | | |
− | <!-- this div is hidden by default and will only be displayed if the screen size is too small -->
| + | // This is the jquery part of your template. Try not modify any of this code since it makes your menu work. |
− | <div class="menu_button" id="display_menu_control">
| + | |
− | MENU
| + | |
− | </div>
| + | |
| | | |
− | <div id="menu_content"> | + | $(document).ready(function() { |
− |
| + | |
| | | |
− | | + | $("#HQ_page").attr('id',''); |
− | | + | |
− | <a href="https://2017.igem.org/Team:WHU-China"> | + | |
− | <div class="menu_button direct_to_page">
| + | |
− | HOME
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | <div class="menu_button">
| + | |
− | <div class="expand_collapse_icon"> </div> TEAM
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="submenu_wrapper" id="team_submenu">
| + | |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Team">
| |
− | <div class="submenu_button" id="Team_page">
| |
− | Team
| |
− | </div>
| |
− | </a>
| |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Collaborations">
| + | if ( wgPageName.substring( 0, 8) == "Template") { // if the page is a template it displays the full name in a single line |
− | <div class="submenu_button" id="Collaborations_page">
| + | $("#team_name").html( wgPageName ); |
− | Collaborations
| + | } |
− | </div>
| + | |
− | </a>
| + | |
− |
| + | |
− | | + | |
− | </div> | + | |
| | | |
| + | else if ( ( (wgPageName.match(/\//g) || []).length ) == 0 ) { // if it is the home page , just print the team's name |
| + | $("#team_name").html( wgPageName.substring( 5, wgPageName.length ) ); |
| + | } |
| | | |
− | | + | else { |
− |
| + | // this adds the team's name as an h1 |
| + | $("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/") ) ); |
| | | |
− | <div class="menu_button">
| + | // this adds the page's title as an h4 |
− | <div class="expand_collapse_icon"> </div> PROJECT | + | $("#page_name").html ( ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ") ); |
− | </div> | + | } |
| | | |
− | <!-- project submenu -->
| |
− | <div class="submenu_wrapper">
| |
− |
| |
− | <a href="https://2017.igem.org/Team:WHU-China/Description">
| |
− | <div class="submenu_button" id="Description_page">
| |
− | Description
| |
− | </div>
| |
− | </a>
| |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Design">
| |
− | <div class="submenu_button" id="Design_page">
| |
− | Design
| |
− | </div>
| |
− | </a>
| |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Experiments">
| |
− | <div class="submenu_button" id="Experiments_page">
| |
− | Experiments
| |
− | </div>
| |
− | </a>
| |
| | | |
| + | $('#accordion').find('.menu_item').click(function(){ |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Notebook"> | + | //Expand or collapse this panel |
− | <div class="submenu_button" id="Notebook_page">
| + | submenu = $(this).find('.submenu'); |
− | Notebook
| + | submenu.toggle(); |
− | </div>
| + | |
− | </a> | + | |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/InterLab"> | + | icon = $(this).find('.icon'); |
− | <div class="submenu_button" id="InterLab_page">
| + | |
− | InterLab
| + | |
− | </div>
| + | |
− | </a>
| + | |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Contribution"> | + | if ( !$( submenu ).is(':visible') ) { |
− | <div class="submenu_button" id="Contribution_page"> | + | icon.removeClass("less").addClass("plus"); |
− | Contribution
| + | } |
− | </div> | + | else { |
− | </a> | + | icon.removeClass("plus").addClass("less"); |
| + | } |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Model"> | + | //Hide the other panels |
− | <div class="submenu_button" id="Model_page">
| + | $(".submenu").not(submenu).hide(); |
− | Model
| + | $(".icon").not(icon).removeClass("less").addClass("plus"); |
− | </div>
| + | }); |
− | </a>
| + | |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Results">
| |
− | <div class="submenu_button" id="Results_page">
| |
− | Results
| |
− | </div>
| |
− | </a>
| |
| | | |
| + | $(".collapsable_menu_control").click(function() { |
| + | $(".menu_item").toggle(); |
| + | }); |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Demonstrate"> | + | $( window ).resize(function() { |
− | <div class="submenu_button" id="Demonstrate_page">
| + | $(".menu_item").show(); |
− | Demonstrate
| + | }); |
− | </div>
| + | |
− | </a>
| + | |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Improve">
| |
− | <div class="submenu_button" id="Improve_page">
| |
− | Improve
| |
− | </div>
| |
− | </a>
| |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Attributions">
| + | }); |
− | <div class="submenu_button" id="Attributions_page">
| + | |
− | Attributions
| + | |
− | </div>
| + | |
− | </a>
| + | |
| | | |
− | </div>
| |
| | | |
− |
| + | </script> |
− |
| + | <style> |
− |
| + | #background{ |
− |
| + | position:fixed; |
| + | min-width: 1024px; |
| + | width:100%; |
| + | z-index:-1; |
| + | } |
| + | #background-image{ |
| + | width:100%; |
| + | } |
| | | |
− | <div class="menu_button">
| + | .top_btn{ |
− | <div class="expand_collapse_icon"> </div> PARTS
| + | width:55px; |
− | </div>
| + | height:55px; |
− |
| + | background:url(https://static.igem.org/mediawiki/2017/9/9e/To-top.png); |
− | <!-- parts submenu -->
| + | background-position:0px 0px; |
− | <div class="submenu_wrapper">
| + | position:fixed; |
− |
| + | bottom:25px; |
− | <a href="https://2017.igem.org/Team:WHU-China/Parts">
| + | right:25px; |
− | <div class="submenu_button" id="Parts_page">
| + | color:white; |
− | Parts
| + | z-index:20000; |
− | </div>
| + | cursor:pointer; |
− | </a>
| + | } |
| + | .top_btn:hover{ |
| + | background:url(https://static.igem.org/mediawiki/2017/7/7d/To-top-hover.png); |
| + | } |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Basic_Part">
| |
− | <div class="submenu_button" id="Basic_Part_page">
| |
− | Basic Parts
| |
− | </div>
| |
− | </a>
| |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Composite_Part">
| + | #topbanner-wrapper{ |
− | <div class="submenu_button" id="Composite_Part_page">
| + | |
− | Composite Parts
| + | } |
− | </div>
| + | #topbanner{ |
− | </a>
| + | |
| + | height: 80px; |
| + | margin:30px 0 0 160px; |
| + | line-height:25px |
| + | } |
| + | #button_wrapper{ |
| + | width: 1023px; |
| + | height: 186px; |
| + | margin: 0 auto; |
| + | padding: 0; |
| + | letter-spacing: -1em; |
| + | } |
| + | #button_left{ |
| + | /*float: left;*/ |
| + | display: inline-block; |
| + | width:341px; |
| + | height: 186px; |
| + | letter-spacing: normal; |
| + | border: 1px solid #000; |
| + | } |
| + | #button_center{ |
| + | display: inline-block; |
| + | width:341px; |
| + | height: 186px; |
| + | letter-spacing: normal; |
| + | border: 1px solid #000; |
| + | } |
| + | #button_right{ |
| + | display: inline-block; |
| + | width:341px; |
| + | height: 186px; |
| + | letter-spacing: normal; |
| + | border: 1px solid #000; |
| + | } |
| + | #contents{ |
| + | background-color:#ffffff; |
| + | } |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Part_Collection">
| + | .acv_row_wrapper{ |
− | <div class="submenu_button" id="Part_Collection_page">
| + | width: 1024px; |
− | Part Collection
| + | } |
− | </div>
| + | .acv_row_left{ |
− | </a>
| + | width: 250px; |
− | </div>
| + | float: left; |
| + | margin-right: 20px; |
| + | } |
| + | .acv_row_center{ |
| + | width: 250px; |
| + | float: left; |
| + | margin-right: 20px; |
| + | } |
| + | .acv_row_right{ |
| + | width: 484px; |
| + | float: left; |
| + | } |
| + | .clear{ |
| + | clear:both; |
| + | } |
| + | |
| + | strong{ |
| + | color:#00aeef; |
| + | } |
| + | |
| + | </style> |
| | | |
− |
| |
− |
| |
− |
| |
− |
| |
| | | |
− | <a href="https://2017.igem.org/Team:WHU-China/Safety">
| + | <script type="text/javascript"> |
− | <div class="menu_button direct_to_page">
| + | $(function(){ |
− | SAFETY
| + | $("#top_btn").fadeOut(500); |
− | </div>
| + | $(window).scroll(function(){ |
− | </a>
| + | var w_height = $(window).height(); |
| + | var scroll_top = $(document).scrollTop(); |
| + | if(scroll_top > w_height){ |
| + | $("#top_btn").fadeIn(500); |
| + | }else{ |
| + | $("#top_btn").fadeOut(500); |
| + | } |
| + | }); |
| + | $("#top_btn").click(function(e){ |
| + | e.preventDefault(); |
| + | $(document.documentElement).animate({ |
| + | scrollTop: 0 |
| + | },200); |
| + | $(document.body).animate({ |
| + | scrollTop: 0 |
| + | },200); |
| + | }); |
| + | }) |
| + | </script> |
| | | |
| + | <style type="text/css"> |
| | | |
| + | table{ |
| + | border: 1px solid #ccc; |
| + | border-collapse: collapse; |
| + | margin: auto; |
| + | margin-bottom: 15px; |
| + | margin-top: 15px; |
| + | table-layout: fixed; |
| + | vertical-align : top; |
| | | |
| + | font-size: 100%; |
| + | background: white; |
| + | color: black; |
| | | |
| | | |
| | | |
| + | } |
| + | table, th, td { |
| + | border: 1px solid black; |
| + | border-collapse: collapse; |
| + | } |
| + | |
| + | |
| + | th, td { |
| + | padding: 15px; |
| + | font-size: 20px; |
| + | } |
| + | |
| + | th { |
| + | text-align: left; |
| + | } |
| + | |
| + | </style> |
| | | |
− | <div class="menu_button" >
| + | <style> |
− | <div class="expand_collapse_icon"> </div> HUMAN PRACTICES
| + | p{ |
− | </div>
| + | font-size:20px; |
− | | + | |
− | <!-- human practices submenu -->
| + | color:#000; |
− | <div class="submenu_wrapper">
| + | |
− | | + | } |
− | <a href="https://2017.igem.org/Team:WHU-China/HP/Silver">
| + | |
− | <div class="submenu_button" id="Silver_page">
| + | |
− | Silver HP
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2017.igem.org/Team:WHU-China/HP/Gold_Integrated">
| + | |
− | <div class="submenu_button" id="Gold_Integrated_page">
| + | |
− | Integrated and Gold
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | <a href="https://2017.igem.org/Team:WHU-China/Engagement">
| + | |
− | <div class="submenu_button" id="Engagement_page">
| + | |
− | Public Engagement
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | <div class="menu_button">
| + | |
− | <div class="expand_collapse_icon"> </div> AWARDS
| + | |
− | </div>
| + | |
− | | + | |
− | <!-- awards submenu -->
| + | |
− | <div class="submenu_wrapper">
| + | |
− | | + | |
− | <a href="https://2017.igem.org/Team:WHU-China/Applied_Design">
| + | |
− | <div class="submenu_button" id="Applied_Design_page">
| + | |
− | Applied Design
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2017.igem.org/Team:WHU-China/Entrepreneurship">
| + | |
− | <div class="submenu_button" id="Entrepreneurship_page">
| + | |
− | Entrepreneurship
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2017.igem.org/Team:WHU-China/Hardware">
| + | |
− | <div class="submenu_button" id="Hardware_page">
| + | |
− | Hardware
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2017.igem.org/Team:WHU-China/Measurement">
| + | |
− | <div class="submenu_button" id="Measurement_page">
| + | |
− | Measurement
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2017.igem.org/Team:WHU-China/Model">
| + | |
− | <div class="submenu_button" id="Model_page">
| + | |
− | Model
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <a href="https://2017.igem.org/Team:WHU-China/Plant">
| + | |
− | <div class="submenu_button" id="Plant_page">
| + | |
− | Plant
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | <a href="https://2017.igem.org/Team:WHU-China/Software">
| + | |
− | <div class="submenu_button" id="Software_page">
| + | |
− | Software
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | <a href="https://igem.org/2017_Judging_Form?team=WHU-China">
| + | |
− | <div class="menu_button direct_to_page">
| + | |
− | JUDGING FORM
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− |
| + | |
− | <div class="menu_bottom_padding" >
| + | |
− | </div>
| + | |
− |
| + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | <!-- start of content -->
| + | |
− | <div class="igem_2017_content_wrapper">
| + | |
− | <h1>WHU-China</h1>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | <div class="column full_size judges-will-not-evaluate">
| + | |
− | <h3>★ ALERT! </h3>
| + | |
− | <p>This page is used by the judges to evaluate your team for the <a href="https://2017.igem.org/Judging/Medals">medal criterion</a> or <a href="https://2017.igem.org/Judging/Awards"> award listed above</a>. </p>
| + | |
− | <p> Delete this box in order to be evaluated for this medal criterion and/or award. See more information at <a href="https://2017.igem.org/Judging/Pages_for_Awards"> Instructions for Pages for awards</a>.</p>
| + | |
− | </div>
| + | |
− | <div class="clear"></div>
| + | |
− | | + | |
− | <div class="column full_size">
| + | |
− | <h1>InterLab</h1>
| + | |
− | <h3>Bronze Medal Criterion #4</h3>
| + | |
− | <p><b>Standard Tracks:</b> Participate in the Interlab Measurement Study and/or improve the characterization of an existing BioBrick Part or Device and enter this information on that part's Main Page in the Registry. The part that you are characterizing must NOT be from a 2017 part number range.
| + | |
− | <br><br>
| + | |
− | For teams participating in the <a href="https://2017.igem.org/Competition/InterLab_Study">InterLab study</a>, all work must be shown on this page.
| + | |
− | | + | |
− | </p>
| + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | </p>
| + | |
− | <!--
| + | |
− | NewPP limit report
| + | |
− | CPU time usage: 0.005 seconds
| + | |
− | Real time usage: 0.006 seconds
| + | |
− | Preprocessor visited node count: 9/1000000
| + | |
− | Preprocessor generated node count: 42/1000000
| + | |
− | Post‐expand include size: 41/2097152 bytes
| + | |
− | Template argument size: 0/2097152 bytes
| + | |
− | Highest expansion depth: 2/40
| + | |
− | Expensive parser function count: 0/100
| + | |
− | -->
| + | |
− | | + | |
− | <!-- Saved in parser cache with key 2017_igem_org:pcache:idhash:8290-0!*!*!*!*!*!* and timestamp 20170729082204 and revision id 17195
| + | |
− | -->
| + | |
− | </div> <div class="visualClear"></div>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | <!-- Side Menubar -->
| + | |
− | <div id="sideMenu">
| + | |
− | <a href="https://2017.igem.org">
| + | |
− | <div id="home_logo" >
| + | |
− | <img src="https://static.igem.org/mediawiki/2017/b/bf/HQ_menu_logo.jpg">
| + | |
− | </div>
| + | |
− | </a>
| + | |
− | | + | |
− | <div style="clear:both; height:5px;"></div>
| + | |
− | | + | |
− | <div id="menuDisplay"></div> <!- Menu will be loaded here ->
| + | |
− | </div>
| + | |
− | | + | |
− | <!-- Pop_Why Div is definded here -->
| + | |
− | <div class="pop_why_cover"></div>
| + | |
− | | + | |
− | <div class="pop_why_box" >
| + | |
− | <div class="pop_close">× </div>
| + | |
− | <div class="pop_why_content"><h3> Loading ... </h3></div>
| + | |
− | </div>
| + | |
− | | + | |
− | </div>
| + | |
− | | + | |
| | | |
| + | </style> |
| + | |
| | | |
− | <!-- start of content -->
| + | </html> |
− | <div class="igem_2017_content_wrapper">
| + | |
− | <h1>WHU-China</h1>
| + | |