Difference between revisions of "Template:McMaster/Header"

(Undo revision 393053 by Aline-Claire (talk))
Line 342: Line 342:
 
                         nav ul li { display: inline; }
 
                         nav ul li { display: inline; }
 
                         nav ul li a img { width: 50px; height: 50px; }
 
                         nav ul li a img { width: 50px; height: 50px; }
 
 
/*left align Black Menu Bar */
 
#top_menu_inside {
 
margin-left: 50%;
 
}
 
 
  
 
</style>
 
</style>
Line 354: Line 347:
  
 
<!-- Start of the template html elements. -->
 
<!-- Start of the template html elements. -->
<center><div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
  
  
Line 360: Line 353:
  
 
<!-- Start of menu -->
 
<!-- Start of menu -->
<center><div id="menuContainer" style="position: absolute; left: 10%;">
+
<div id="menuContainer" align = "center">
 
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 
<ul>
 
<ul>
Line 417: Line 410:
  
 
</ul>
 
</ul>
</div></center>  
+
</div>  
  
 
<!-- End of menu  -->
 
<!-- End of menu  -->
Line 423: Line 416:
 
<!-- Start of content -->
 
<!-- Start of content -->
 
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 +
 +
                        <!-- Favicon and touch icons -->
 +
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
 +
<script src="https://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.min.js"></script>
 +
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
 +
 +
<link rel="stylesheet"
 +
      href="https://2017.igem.org/Template:Heidelberg/highlightjs/CSS?action=raw&amp;ctype=text/css">
 +
<script src="https://2017.igem.org/Template:Heidelberg/highlightjs/JS?action=raw&amp;ctype=text/javascript"></script>
 +
    <script>
 +
hljs.initHighlightingOnLoad();
 +
 +
$( document ).ready( function() {
 +
  $('link[rel="shortcut icon"]').attr('href','https://static.igem.org/mediawiki/2018/7/72/T--McMaster--Brain.png');
 +
});
 +
 +
</script>
 +
                        <!-- End Favicon and touch icons -->
  
 
</html>
 
</html>

Revision as of 05:08, 17 October 2018