Line 4: | Line 4: | ||
</p> | </p> | ||
+ | |||
<!--get jQuery and wiki settings-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | <!--get jQuery and wiki settings-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | ||
<style> | <style> | ||
Line 15: | Line 16: | ||
</style> | </style> | ||
− | + | ||
<link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:Fudan-CHINA/bookstrapCss&action=raw&ctype=text/css" /> | <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:Fudan-CHINA/bookstrapCss&action=raw&ctype=text/css" /> | ||
Line 25: | Line 26: | ||
//bookstrap | //bookstrap | ||
</script> | </script> | ||
− | + | ||
+ | |||
Line 239: | Line 241: | ||
myBgVideo.addEventListener('canplaythrough',function(){ | myBgVideo.addEventListener('canplaythrough',function(){ | ||
setTimeout(function(){ $('body').addClass('loaded'); | setTimeout(function(){ $('body').addClass('loaded'); | ||
− | $('#loader-wrapper .load_title').remove(); }, | + | $('#loader-wrapper .load_title').remove(); },0); |
}); | }); | ||
}); | }); | ||
Line 245: | Line 247: | ||
var myBgVideo=document.getElementById("bgVideo"); | var myBgVideo=document.getElementById("bgVideo"); | ||
setTimeout(function(){ $('body').addClass('loaded'); | setTimeout(function(){ $('body').addClass('loaded'); | ||
− | $('#loader-wrapper .load_title').remove(); }, | + | $('#loader-wrapper .load_title').remove(); }, 0); |
}); | }); | ||
Line 258: | Line 260: | ||
<ul id="navUl" style="z-index: 999;"> | <ul id="navUl" style="z-index: 999;"> | ||
<li class="navLi navImg" style="display: inline-block;float: left;width: 3%;" href="#8"></li> | <li class="navLi navImg" style="display: inline-block;float: left;width: 3%;" href="#8"></li> | ||
− | <li class="navLi navImg" style="float: left;"><a href="https://2018.igem.org/Team:Fudan-CHINA"><img class="navA teamImg" src="https://static.igem.org/mediawiki/2018/ | + | <li class="navLi navImg" style="float: left;"><a href="https://2018.igem.org/Team:Fudan-CHINA"><img class="navA teamImg" src="https://static.igem.org/mediawiki/2018/1/1d/T--Fudan-CHINA--step_white.png" /></a></li> |
<li class="navLi navImg" style="float: left;position: relative;"><a class="navA activeA teamName" href="https://2018.igem.org/Team:Fudan-CHINA">Fudan-CHINA</a></li> | <li class="navLi navImg" style="float: left;position: relative;"><a class="navA activeA teamName" href="https://2018.igem.org/Team:Fudan-CHINA">Fudan-CHINA</a></li> | ||
− | + | ||
<li class="navLi"><a class="navA" href="#7">Team</a></li> | <li class="navLi"><a class="navA" href="#7">Team</a></li> | ||
+ | <ul> | ||
+ | <li><a>Team</a></li> | ||
+ | <li><a>Attributions</a></li> | ||
+ | </ul> | ||
<li class="navLi"><a class="navA" href="#6">Awards</a></li> | <li class="navLi"><a class="navA" href="#6">Awards</a></li> | ||
− | <li class="navLi"><a class="navA" href="#5"> | + | <li class="navLi"><a class="navA" href="#5">Practices</a></li> |
<li class="navLi"><a class="navA" href="#4">Modeling</a></li> | <li class="navLi"><a class="navA" href="#4">Modeling</a></li> | ||
<li class="navLi"><a class="navA" href="#2">Project</a></li> | <li class="navLi"><a class="navA" href="#2">Project</a></li> | ||
Line 315: | Line 321: | ||
color: white; | color: white; | ||
} | } | ||
+ | #navUl ul{ | ||
+ | display: none; | ||
+ | } | ||
</style> | </style> | ||
Line 324: | Line 333: | ||
$("#navUl").css("top",0.1*winHeight); | $("#navUl").css("top",0.1*winHeight); | ||
if (winWidth/winHeight>2){ | if (winWidth/winHeight>2){ | ||
− | $("#navUl").css("height"," | + | $("#navUl").css("height","9vh"); |
− | $(".navA").css("height"," | + | $(".navA").css("height","9vh"); |
− | $(".navA").css("line-height"," | + | $(".navA").css("line-height","9vh"); |
− | $(".navA").css("font-size"," | + | $(".navA").css("font-size","3.5vh"); |
$(".navA:not(img)").css("padding","0 3vh"); | $(".navA:not(img)").css("padding","0 3vh"); | ||
− | $(".teamImg").css("width"," | + | $(".teamImg").css("width","9vh"); |
− | $(".teamImg").css("height"," | + | $(".teamImg").css("height","9vh"); |
− | $(".teamImg").css("padding"," | + | $(".teamImg").css("padding","0 0"); |
} | } | ||
else{ | else{ | ||
− | $("#navUl").css("height"," | + | $("#navUl").css("height","4.5vw"); |
− | $(".navA").css("height"," | + | $(".navA").css("height","4.5vw"); |
− | $(".navA").css("line-height"," | + | $(".navA").css("line-height","4.5vw"); |
− | $(".navA").css("font-size","1. | + | $(".navA").css("font-size","1.75vw"); |
$(".navA:not(img)").css("padding","0 1.5vw"); | $(".navA:not(img)").css("padding","0 1.5vw"); | ||
− | $(".teamImg").css("width"," | + | $(".teamImg").css("width","4.5vw"); |
− | $(".teamImg").css("height"," | + | $(".teamImg").css("height","4.5vw"); |
− | $(".teamImg").css("padding","0 | + | $(".teamImg").css("padding","0 0"); |
} | } | ||
}; | }; | ||
Line 378: | Line 387: | ||
<!----------------------------------------------------------------------------------------------------------------------------------------------------> | <!----------------------------------------------------------------------------------------------------------------------------------------------------> | ||
+ | |||
</html> | </html> |
Revision as of 14:40, 26 September 2018