|
|
(135 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <html> | | <html> |
− | <link rel="stylesheet" href="https://2016.igem.org/wiki/load.php?debug=false&lang=en&modules=mediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.skinning.content.externallinks%7Cmediawiki.skinning.interface%7Cmediawiki.ui.button%7Cskins.igem.styles&only=styles&skin=igem&*" />
| |
− | <script>
| |
− |
| |
− | // This is the jquery part of your template.
| |
− | // Try not modify any of this code too much since it makes your menu work.
| |
− |
| |
− | $(document).ready(function() {
| |
− |
| |
− | $("#HQ_page").attr('id','');
| |
− |
| |
− | // call the functions that control the menu
| |
− | menu_functionality();
| |
− | hide_show_menu();
| |
− |
| |
− |
| |
− |
| |
− | //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
| |
− | $(".menu_button").click(function(){
| |
− |
| |
− | // add or remove the class "open" , this class holds the "-"
| |
− | $(this).children().toggleClass("open");
| |
− | // show or hide the submenu
| |
− | $(this).next('.submenu_wrapper').fadeToggle(400);
| |
− | });
| |
− |
| |
− | // when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu
| |
− | $("#display_menu_control").click(function(){
| |
− | $('#menu_content').fadeToggle(400);
| |
− | });
| |
− |
| |
− | // call the current page highlight function
| |
− | 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
| |
− | if (window.location.href.indexOf("submit") >= 0) {
| |
− | $(".igem_2017_menu_wrapper").hide();
| |
− | }
| |
− |
| |
− | // if the black menu bar has been loaded
| |
− | 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>a:lang(ar),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}
| |
− | /* cache key: 2016_igem_org:resourceloader:filter:minify-css:7:59593960c20e34faccc09e56269cf4e1 */</style>
| |
− | <script src="https://2016.igem.org/wiki/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=igem&*"></script>
| |
− | <script>if(window.mw){
| |
− | mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Team:Oxford","wgTitle":"Team:Oxford","wgCurRevisionId":436057,"wgRevisionId":436057,"wgArticleId":2336,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":"VinciVincent","wgUserGroups":["*","user","autoconfirmed"],"wgCategories":[],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"Team:Oxford","wgUserId":6187,"wgUserEditCount":0,"wgUserRegistration":1501160018000,"wgUserNewMsgRevisionId":null,"wgIsProbablyEditable":false,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgWikiEditorEnabledModules":{"toolbar":false,"dialogs":false,"hidesig":true,"preview":false,"previewDialog":false,"publish":false}});
| |
− | }</script><script>if(window.mw){
| |
− | mw.loader.implement("user.options",function($,jQuery){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"editfont":"default","editondblclick":0,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":1,"extendwatchlist":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"imagesize":2,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nickname":"","norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"rcdays":7,"rclimit":50,"rows":25,"showhiddencats":0,"shownumberswatching":1,"showtoolbar":1,"skin":"igem","stubthreshold":0,"thumbsize":5,"underline":2,"uselivepreview":0,"usenewrc":1,"watchcreations":1,"watchdefault":1,"watchdeletion":0,"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"watchrollback":0,
| |
− | "wllimit":250,"useeditwarning":1,"prefershttps":1,"language":"en","variant-gan":"gan","variant-iu":"iu","variant-kk":"kk","variant-ku":"ku","variant-shi":"shi","variant-sr":"sr","variant-tg":"tg","variant-uz":"uz","variant-zh":"zh","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false});},{},{});mw.loader.implement("user.tokens",function($,jQuery){mw.user.tokens.set({"editToken":"362d41bb1bbc084e31b24e2aab1ee180+\\","patrolToken":"10d6e2a4f1a72ea88441aedf179a4f20+\\","watchToken":"bfac8c501fb13b94bbf04088f357bc6a+\\"});},{},{});
| |
− | /* cache key: 2016_igem_org:resourceloader:filter:minify-js:7:784032fd0f76286aa5cf006f91279ceb */
| |
− | }</script>
| |
− | <script>if(window.mw){
| |
− | mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);
| |
− | }</script>
| |
− | </head>
| |
− |
| |
| <style> | | <style> |
| body{ | | body{ |
− | margin:17px 0 0 ; | + | margin:17px 0 0 0; |
| } | | } |
| /*DISABLE DEFAULT DESIGN*/ | | /*DISABLE DEFAULT DESIGN*/ |
| #bodyContent{ | | #bodyContent{ |
− | min-width:1024px; | + | min-width:1300px; |
− | float: left;
| + | font-family:"Arial Unicode MS"; |
− | ; | + | |
| } | | } |
| #top_menu_under{ | | #top_menu_under{ |
Line 149: |
Line 47: |
| /*menu*/ | | /*menu*/ |
| | | |
− | | + | #header{ |
− | #nav-wrapper{ | + | |
| + | position:relative; |
| width: 100%; | | 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; | | margin: 0 auto; |
− | text-align:center;
| |
| } | | } |
| .nav { | | .nav { |
| text-align:center; | | text-align:center; |
− | width: auto;
| |
− | height:72px;
| |
| | | |
− | position: fixed; | + | height:72px; |
− | margin:0 auto; | + | position:relative; |
− |
| + | left:20px; |
− | font-size:20px; | + | |
− | background-color:#7ab8cc;
| + | |
− | opacity:0.75;
| + | |
− | color:#fff;
| + | |
| } | | } |
| .nav ul { | | .nav ul { |
− | width:1422.2px; | + | |
− | position:relative;
| + | |
− | text-align:center ;
| + | |
| margin: 0 auto; | | margin: 0 auto; |
| list-style-type: none; | | list-style-type: none; |
| + | font-size:17px; |
| } | | } |
| .nav ul li{ | | .nav ul li{ |
| float: left; | | float: left; |
− | left:10%; | + | width: 110px; |
− | position:relative; | + | margin: 0; |
− | padding:5px; | + | /*border-right: 1px solid #e6e4e4;*/ |
− | margin-left:20px; | + | box-sizing: border-box; |
− | | + | font-size:13px; |
− | color:#fff; | + | /*text-indent:-9999px;*/ |
− | width:auto; | + | } |
− |
| + | .nav ul li:last-child { |
| + | border-right: none; |
| } | | } |
− |
| |
| .nav ul li a{ | | .nav ul li a{ |
| display: block; | | display: block; |
− |
| + | width: 100%; |
| height:72px; | | height:72px; |
| line-height:72px; | | line-height:72px; |
− | color:#ffffff;
| + | color:#fff; |
| + | white-space:nowrap; |
| + | |
| + | |
| } | | } |
− | .nav ul li:hover ul li{ | + | |
− | display:block
| + | |
| + | #nv0 a{ |
| + | background: url(https://static.igem.org/mediawiki/2017/e/e1/WHU-China-logo.png); |
| + | background-repeat: no-repeat; |
| + | background-position: center; |
| + | background-size:cover; |
| } | | } |
| + | #nv1 > a{background: url();} |
| + | #nv2 > a{background: url();} |
| + | #nv3 > a{background: url();} |
| + | #nv4 > a{background: url();} |
| + | #nv5 > a{background: url();} |
| + | #nv6 > a{background: url();} |
| + | #nv7 > a{background: url();} |
| + | #nv8 > a{background: url();} |
| + | #nv9 > a{background: url();} |
| + | |
| + | #nv11 {background-image: url();} |
| + | #nv12 {background-image: url();} |
| + | #nv13 {background-image: url();} |
| + | #nv14 {background-image: url();} |
| + | #nv15 {background-image: url();} |
| + | #nv16 {background-image: url();} |
| + | |
| + | #nv21 {background-image: url();} |
| + | #nv22 {background-image: url();} |
| + | #nv23 {background-image: url();} |
| + | |
| + | #nv31 {background-image: url();} |
| + | #nv32 {background-image: url();} |
| + | #nv33 {background-image: url();} |
| + | |
| + | #nv41 {background-image: url();} |
| + | #nv42 {background-image: url();} |
| + | |
| + | #nv51 {background-image: url();} |
| + | #nv52 {background-image: url();} |
| + | |
| + | #nv61 {background-image: url();} |
| + | #nv62 {background-image: url();} |
| + | #nv63 {background-image: url();} |
| + | |
| + | #nv71 {background-image: url();} |
| + | #nv72 {background-image: url();} |
| + | |
| + | #nv81 {background-image: url();} |
| + | #nv82 {background-image: url();} |
| + | #nv83 {background-image: url();} |
| + | |
| + | |
| + | #nv1 > a:hover{background-position: 0 -72px;} |
| + | #nv2 > a:hover{background-position: 0 -72px;} |
| + | #nv3 > a:hover{background-position: 0 -72px;} |
| + | #nv4 > a:hover{background-position: 0 -72px;} |
| + | #nv5 > a:hover{background-position: 0 -72px;} |
| + | #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;} |
| + | |
| | | |
| .nv > li > ul { | | .nv > li > ul { |
− | width:auto; | + | width:121px; |
− | | + | position: absolute; |
| + | visibility:hidden; |
| } | | } |
− | | + | .nv > li:hover > ul{ |
| + | visibility: visible; |
| + | |
| + | } |
| + | |
| .nv > li > ul > li{ | | .nv > li > ul > li{ |
| float:inherit; | | float:inherit; |
| height:0px; | | height:0px; |
| transition:height 0.5s; | | transition:height 0.5s; |
− | opacity:0.75; | + | opacity:0.7; |
− | background-color:#7ab8cc; | + | background-color:#000; |
− | display:none;
| + | |
− | width:180px;
| + | |
| } | | } |
| | | |
| .nv > li > ul > li:hover{ | | .nv > li > ul > li:hover{ |
| opacity:0.9; | | opacity:0.9; |
− | } | + | background-color:#00aeef;} |
| | | |
| .nv > li:hover > ul > li{ | | .nv > li:hover > ul > li{ |
− | height:45px; | + | height:48px; |
| } | | } |
| | | |
Line 224: |
Line 197: |
| height:0px; | | height:0px; |
| transition:height 0.5s; | | transition:height 0.5s; |
− | color:#fff;
| + | |
− | font-size:16px;
| + | |
| } | | } |
| | | |
| .nv > li:hover > ul > li a{ | | .nv > li:hover > ul > li a{ |
| height:48px; | | height:48px; |
| + | line-height: 48px; |
| } | | } |
| | | |
| + | #contents-wrapper{ |
| + | min-width:1024px; |
| + | background-color:#ffffff; |
| + | 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; |
| + | }*/ |
| | | |
| + | |
| + | .”caption”{ |
| + | color:#6f89a5; |
| + | 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; |
| + | } |
| | | |
| a:link { | | a:link { |
− | color: #135589; | + | text-decoration:none ; |
− | font-weight:bold; | + | color: #00aeef; |
| + | |
| } | | } |
| a:visited { | | a:visited { |
− | color: #135589; | + | color: #00aeef; |
| font-weight:bold; | | font-weight:bold; |
| } | | } |
| a:hover { | | a:hover { |
− | color: #135589; | + | color: #00aeef; |
| + | |
| font-weight:bold; | | font-weight:bold; |
| } | | } |
| a:active { | | a:active { |
− | color: #135589; | + | color: #00aeef; |
| font-weight:bold; | | font-weight:bold; |
| } | | } |
| | | |
− |
| + | div.keln_container img{ |
| + | margin-top: 20px; |
| + | max-width: 400px; |
| + | height: auto; |
| + | } |
| + | |
| + | img.hpimg{ |
| + | margin-top: 20px; |
| + | max-width: 600px; |
| + | height: auto; |
| + | } |
| | | |
| | | |
| </style> | | </style> |
| | | |
− | <style>
| |
| | | |
| | | |
| | | |
− | /***************************************************** DEFAULT WIKI SETTINGS ****************************************************/
| + | <!--- THIS IS WHERE THE HTML BEGINS ---> |
− |
| + | |
− | /* Clear the default wiki settings */
| + | |
− |
| + | |
− | #home_logo, #sideMenu { display:none; }
| + | |
− | #sideMenu, #top_title, .patrollink {display:none;}
| + | |
− | #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; }
| + | |
| | | |
− |
| |
− |
| |
− |
| |
− | /**************************************************************** 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 */
| + | <!-- This tells the browser that your page is responsive --> |
− | .igem_2017_menu_wrappe::-webkit-scrollbar {
| + | |
− | display: none;
| + | |
− | }
| + | |
− |
| + | |
− |
| + | |
− | /* styling for links in the menu, removes the line under text */
| + | |
− | .igem_2017_menu_wrapper a {
| + | |
− | text-decoration: none;
| + | |
− | }
| + | |
| | | |
| + | |
| + | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| + | |
| | | |
− | /* styling for the images in the menu */
| |
− | .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 {
| + | <script> |
− | width:10%;
| + | |
− | float:left;
| + | |
− | }
| + | |
| | | |
− | .igem_2017_menu_wrapper .menu_button .expand_collapse_icon::before {
| + | // This is the jquery part of your template. Try not modify any of this code since it makes your menu work. |
− | content: "+";
| + | |
− | }
| + | |
− |
| + | |
− | .open::before {
| + | |
− | content: "-" !important;
| + | |
− | }
| + | |
− |
| + | |
− |
| + | |
− |
| + | |
− | /* styling for the menu buttons on hover */
| + | |
− | .igem_2017_menu_wrapper .menu_button:hover, .igem_2017_menu_wrapper .submenu_button:hover , .submenu_button.current_page:hover {
| + | |
− | background-color: #3399ff;
| + | |
− | text-decoration: none;
| + | |
− | color:#ffffff;
| + | |
− | }
| + | |
| | | |
− | /* styling for the menu button when it is the current page */ | + | $(document).ready(function() { |
− | .current_page {
| + | |
− | background-color:#7fc1f7 !important;
| + | |
− | color:#5e5f5f !important;
| + | |
− | }
| + | |
| | | |
| + | $("#HQ_page").attr('id',''); |
| + | |
| | | |
− | /* styling for the submenu buttons */
| + | if ( wgPageName.substring( 0, 8) == "Template") { // if the page is a template it displays the full name in a single line |
− | .igem_2017_menu_wrapper .submenu_button {
| + | $("#team_name").html( wgPageName ); |
− | width: 100%;
| + | } |
− | padding: 10px 0px 10px 34px; | + | |
− | float:left;
| + | |
− | background-color:#f2f2f2;
| + | |
− | border-bottom: 1px solid #d3d3d3;
| + | |
− | font-size: 12px;
| + | |
− | color: #5e5f5f;
| + | |
− | cursor: pointer;
| + | |
− | }
| + | |
| | | |
− | /* wrapper for the submenu items, they are hidden by default*/
| + | else if ( ( (wgPageName.match(/\//g) || []).length ) == 0 ) { // if it is the home page , just print the team's name |
− | .igem_2017_menu_wrapper .submenu_wrapper {
| + | $("#team_name").html( wgPageName.substring( 5, wgPageName.length ) ); |
− | display:none;
| + | } |
− | }
| + | |
| | | |
− | /* when the page size is bigger than 800px, this show/hide control is hidden by default */
| + | else { |
− | .igem_2017_menu_wrapper #display_menu_control {
| + | // this adds the team's name as an h1 |
− | display:none;
| + | $("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/") ) ); |
− | text-align:center;
| + | |
− | }
| + | |
− |
| + | |
| | | |
− | /***************************************************** CONTENT OF THE PAGE ****************************************************/ | + | // this adds the page's title as an h4 |
| + | $("#page_name").html ( ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ") ); |
| + | } |
| | | |
− | /* Wrapper for the content */
| |
− | .igem_2017_content_wrapper {
| |
− | width: 81%;
| |
− | margin: 2%;
| |
− | display:block;
| |
− | float:left;
| |
− | background-color:white;
| |
− | font-family:Tahoma, Geneva, sans-serif;
| |
− | }
| |
| | | |
| | | |
− | /********************************* HTML STYLING *********************************/
| |
| | | |
− | /* styling for the titles h1 h2 */
| + | $('#accordion').find('.menu_item').click(function(){ |
− | .igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
| + | |
− | padding:5px 15px;
| + | |
− | border-bottom: 0px;
| + | |
− | color: #000000;
| + | |
− | }
| + | |
| | | |
| + | //Expand or collapse this panel |
| + | submenu = $(this).find('.submenu'); |
| + | submenu.toggle(); |
| | | |
− | /* styling for the titles h3 h4 h5 h6*/
| + | icon = $(this).find('.icon'); |
− | .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;
| + | |
− | }
| + | |
| | | |
| + | if ( !$( submenu ).is(':visible') ) { |
| + | icon.removeClass("less").addClass("plus"); |
| + | } |
| + | else { |
| + | icon.removeClass("plus").addClass("less"); |
| + | } |
| | | |
− | /* font and text */
| + | //Hide the other panels |
− | .igem_2017_content_wrapper p {
| + | $(".submenu").not(submenu).hide(); |
− | padding: 0px 15px;
| + | $(".icon").not(icon).removeClass("less").addClass("plus"); |
− | 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 */
| + | $(".collapsable_menu_control").click(function() { |
− | .igem_2017_content_wrapper a:hover {
| + | $(".menu_item").toggle(); |
− | text-decoration:none;
| + | }); |
− | color:#000000; | + | |
− | }
| + | |
| | | |
− | /* non numbered lists */
| + | $( window ).resize(function() { |
− | .igem_2017_content_wrapper ul {
| + | $(".menu_item").show(); |
− | 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 */
| + | </script> |
− | .igem_2017_content_wrapper th {
| + | <style> |
− | padding: 10px;
| + | #background{ |
− | vertical-align: text-top;
| + | position:fixed; |
− | border: 1px solid #d3d3d3;
| + | min-width: 1024px; |
− | border-collapse: collapse;
| + | width:100%; |
− | background-color:#f2f2f2;
| + | z-index:-1; |
− | }
| + | } |
| + | #background-image{ |
| + | width:100%; |
| + | } |
| | | |
− | | + | .top_btn{ |
− | /**********************************LAYOUT CLASSES **********************************/
| + | width:55px; |
− | | + | height:55px; |
− | /* general class for column divs */
| + | background:url(https://static.igem.org/mediawiki/2017/9/9e/To-top.png); |
− | .igem_2017_content_wrapper .column {
| + | background-position:0px 0px; |
− | padding: 10px 0px;
| + | position:fixed; |
− | float:left;
| + | bottom:25px; |
| + | right:25px; |
| + | color:white; |
| + | z-index:20000; |
| + | cursor:pointer; |
| } | | } |
| + | .top_btn:hover{ |
| + | background:url(https://static.igem.org/mediawiki/2017/7/7d/To-top-hover.png); |
| + | } |
| | | |
− | /* class for a full width column */
| |
− | .column .full_size {
| |
− | width:100%;
| |
− | }
| |
| | | |
− | /* styling for images in a full width column*/
| + | #topbanner-wrapper{ |
− | .column.full_size img {
| + | |
− | width:97%;
| + | |
− | padding: 10px 15px;
| + | |
| } | | } |
| + | #topbanner{ |
| + | |
| + | 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; |
| + | } |
| | | |
− | /* class for a half width column */
| + | .acv_row_wrapper{ |
− | .column.half_size {
| + | width: 1024px; |
− | width: 50%;
| + | } |
− | }
| + | .acv_row_left{ |
− | /* styling for images in a half width column*/
| + | width: 250px; |
− | .column.half_size img {
| + | float: left; |
− | width: 94.5%;
| + | margin-right: 20px; |
− | padding: 10px 15px;
| + | } |
− | }
| + | .acv_row_center{ |
| + | width: 250px; |
| + | float: left; |
| + | margin-right: 20px; |
| + | } |
| + | .acv_row_right{ |
| + | width: 484px; |
| + | float: left; |
| + | } |
| + | .clear{ |
| + | clear:both; |
| + | } |
| + | |
| + | strong{ |
| + | color:#00aeef; |
| + | } |
| + | |
| + | </style> |
| | | |
| | | |
| + | <script type="text/javascript"> |
| + | $(function(){ |
| + | $("#top_btn").fadeOut(500); |
| + | $(window).scroll(function(){ |
| + | 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"> |
| | | |
− | /********************************* SUPPORT CLASSES ********************************/
| + | table{ |
| + | border: 1px solid #ccc; |
| + | border-collapse: collapse; |
| + | margin: auto; |
| + | margin-bottom: 15px; |
| + | margin-top: 15px; |
| + | table-layout: fixed; |
| + | vertical-align : top; |
| | | |
− | /* class that clears content below*/
| + | font-size: 100%; |
− | .igem_2017_content_wrapper .clear {
| + | background: white; |
− | clear:both;
| + | color: black; |
− | }
| + | |
− |
| + | |
− |
| + | |
− | /* adds extra spacing when clearing content */
| + | |
− | .igem_2017_content_wrapper .clear.extra_space {
| + | |
− | height: 30px;
| + | |
− | }
| + | |
| | | |
| | | |
− | /* highlight class, makes content slightly smaller */
| |
− | .igem_2017_content_wrapper .highlight {
| |
− | margin: 0px 15px;
| |
− | padding: 15px 0px;
| |
− | }
| |
| | | |
− | | + | } |
− | /* highlight class, adds a gray background */
| + | table, th, td { |
− | .igem_2017_content_wrapper .highlight.gray {
| + | border: 1px solid black; |
− | background-color: #f2f2f2;
| + | border-collapse: collapse; |
− | }
| + | } |
− | | + | |
− | /* highlight with decoration blue line on top */
| + | |
− | .igem_2017_content_wrapper .highlight.blue_top {
| + | th, td { |
− | border-top: 4px solid #3399ff;
| + | padding: 15px; |
− | }
| + | font-size: 20px; |
− | | + | } |
− | /* highlight with a full blue border decoration */
| + | |
− | .igem_2017_content_wrapper .highlight.blue_border {
| + | th { |
− | border: 4px solid #3399ff;
| + | text-align: left; |
− | }
| + | } |
− | | + | |
− | | + | |
− | /* button class */
| + | |
− | .igem_2017_content_wrapper .button{
| + | |
− | max-width: 35%;
| + | |
− | margin: 30px 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;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | /***************************************************** 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> | | </style> |
| | | |
− | | + | <style> |
− | <!--- THIS IS WHERE THE HTML BEGINS ---> | + | p{ |
− | | + | font-size:20px; |
− | | + | |
− | | + | color:#000; |
− | <head>
| + | |
− | | + | |
− | <!-- This tells the browser that your page is responsive -->
| + | |
− | <meta name="viewport" content="width=device-width, initial-scale=1">
| + | |
− | | + | |
− | </head>
| + | |
− | <head>
| + | |
− | <link href="common.css" rel="stylesheet" type="text/css" media="all" />
| + | |
− | | + | |
− | | + | |
− | </head>
| + | |
− | <body>
| + | |
− | | + | |
− | <div id="background"> | + | |
− | <div id="header">
| + | |
− | <div id="nav-wrapper">
| + | |
− | <div class="nav">
| + | |
− | <ul class="nv">
| + | |
− |
| + | |
− |
| + | |
− |
| + | |
− |
| + | |
| | | |
− |
| + | } |
− | <li id="nv1"><a href="https://2017.igem.org/Team:WHU-China">HOME</a></li>
| + | |
− |
| + | |
| | | |
− | <li id="nv2">
| + | </style> |
− | <a href="#" >PROJECT </a>
| + | |
− | <ul>
| + | |
− | <li id="nv21"><a href="https://2017.igem.org/Team:WHU-China/Description">Description</a></li>
| + | |
− | <li id="nv22"><a href="https://2017.igem.org/Team:WHU-China/Design">Design</a></li>
| + | |
− | <li id="nv23"><a href="https://2017.igem.org/Team:WHU-China/Experiments">Experiments</a></li>
| + | |
− | | + | |
− | <li id="nv24"><a href="https://2017.igem.org/Team:WHU-China/Results">Results</a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− |
| + | |
− |
| + | |
− |
| + | |
− | | + | |
− |
| + | |
− |
| + | |
− | <li id="nv3">
| + | |
− | <a href="#">PARTS </a>
| + | |
− | <ul >
| + | |
− |
| + | |
− | <li id="nv31"><a href="https://2017.igem.org/Team:WHU-China/Basic_Part">Basic parts</a></li>
| + | |
− | <li id="nv32"><a href="https://2017.igem.org/Team:WHU-China/Composite_Part">Composite parts</a></li>
| + | |
− |
| + | |
− |
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− |
| + | |
− |
| + | |
− |
| + | |
− | <li id="nv4"><a href="https://2017.igem.org/Team:WHU-China/InterLab">INTERLAB</a></li>
| + | |
− | | + | |
− | <li id="nv5"><a href="https://2017.igem.org/Team:WHU-China/Model">MODELINGS</a></li>
| + | |
− |
| + | |
− | <li id="nv6"><a href="https://2017.igem.org/Team:WHU-China/Notebook">NOTEBOOK</a></li>
| + | |
− | | + | |
− | <li id="nv7">
| + | |
− |
| + | |
− |
| + | |
− | <a href="#" >HUMAN PRACTICES </a>
| + | |
− | <ul >
| + | |
− | <li id="nv61"><a href="https://2017.igem.org/Team:WHU-China/HP/Silver">Silver HP</a></li>
| + | |
− | <li id="nv62"><a href="https://2017.igem.org/Team:WHU-China/HP/Gold_Integrated">Integrated and Gold</a></li>
| + | |
− | <li id="nv63"><a href="https://2017.igem.org/Team:WHU-China/Engagement">Public Engagement</a></li>
| + | |
− |
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | <li id="nv8" >
| + | |
− | <a href="https://2017.igem.org/Team:WHU-China">SAFETY</a></li>
| + | |
− | <li id="nv9">
| + | |
− | <a href="#">TEAM</a>
| + | |
− | <ul >
| + | |
− | <li id="nv81"><a href="https://2017.igem.org/Team:WHU-China/Team">Team</a></li>
| + | |
− | <li id="nv82"><a href="https://2017.igem.org/Team:WHU-China/Collaborations">Collaborations</a></li>
| + | |
− |
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | </ul>
| + | |
− |
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </nav>
| + | |
− |
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | | + | |
− |
| + | |
− | </div>
| + | |
| | | |
| | | |
− | | + | </html> |
− | | + | |
− | | + | |
− | <!-- 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>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | <!-- start of content -->
| + | |
− | <div class="igem_2017_content_wrapper">
| + | |
− | <h1>WHU-China</h1>
| + | |