Difference between revisions of "Template:Marburg"

 
(18 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
<style>
 
<style>
 
/********************************* DEFAULT WIKI SETTINGS  ********************************/
 
  
 
#sideMenu, #top_title {display:none;}
 
#sideMenu, #top_title {display:none;}
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
+
        #content { padding:0px; width:100%; margin-top:-7px; margin-left:0px;}
 
body {background-color:white; }
 
body {background-color:white; }
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
  
 
</style>
 
</style>
 
 
 
 
<!--- THIS IS WHERE THE HTML BEGINS --->
 
 
  
 
<!-- This tells the browser that your page is responsive -->
 
<!-- This tells the browser that your page is responsive -->
Line 22: Line 13:
 
<head>  
 
<head>  
 
<meta name="viewport" content="width=device-width, initial-scale=1">  
 
<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>
 
</head>
  
Line 34: 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 51: 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 86: Line 74:
  
 
});
 
});
 
 
 
  
 
</script>
 
</script>
 
  
 
</html>
 
</html>

Latest revision as of 12:43, 22 November 2016