(35 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<style> | <style> | ||
− | |||
− | |||
#sideMenu, #top_title {display:none;} | #sideMenu, #top_title {display:none;} | ||
− | + | #content { padding:0px; width:100%; margin-top:-7px; margin-left:0px;} | |
− | + | body {background-color:white; } | |
− | + | ||
− | + | ||
</style> | </style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- This tells the browser that your page is responsive --> | <!-- This tells the browser that your page is responsive --> | ||
− | + | <head> | |
− | + | <meta name="viewport" content="width=device-width, initial-scale=1"> | |
− | + | <script type="text/javascript" async src="https://2015.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | |
− | + | </head> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
Line 42: | Line 26: | ||
$("#HQ_page").attr('id',''); | $("#HQ_page").attr('id',''); | ||
− | |||
if ( wgPageName.substring( 0, 8) == "Template") { // if the page is a template it displays the full name in a single line | if ( wgPageName.substring( 0, 8) == "Template") { // if the page is a template it displays the full name in a single line | ||
Line 59: | Line 42: | ||
$("#page_name").html ( ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ") ); | $("#page_name").html ( ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ") ); | ||
} | } | ||
− | |||
− | |||
− | |||
$('#accordion').find('.menu_item').click(function(){ | $('#accordion').find('.menu_item').click(function(){ | ||
Line 81: | Line 61: | ||
$(".submenu").not(submenu).hide(); | $(".submenu").not(submenu).hide(); | ||
$(".icon").not(icon).removeClass("less").addClass("plus"); | $(".icon").not(icon).removeClass("less").addClass("plus"); | ||
− | }); | + | }); |
Line 94: | Line 74: | ||
}); | }); | ||
− | |||
− | |||
− | |||
</script> | </script> | ||
− | |||
</html> | </html> |
Latest revision as of 12:43, 22 November 2016