mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-01 22:50:35 +00:00
bc4326c5a4
Doesn't really affect the pages on the web, but it's easier to preview them in the filesystem when linked to "../main.css" rather than "/main.css". The common portion of the <head> section is now in a separate "include" file. Added some indentation to masthead/topnav/sidenav so it looks nicer in the merged source listing.
19 lines
718 B
HTML
19 lines
718 B
HTML
<!-- top navigation bar contents -->
|
|
<nav>
|
|
<a id="topnav-home" href="${ROOT}/./">HOME</a>
|
|
<a id="topnav-sgtutorial" href="${ROOT}/sgtutorial">SourceGen Tutorial</a>
|
|
<a id="topnav-menuicon" href="javascript:void(0);" class="icon" onclick="toggleSidenav()">
|
|
<i class="fa fa-bars"></i>
|
|
</a>
|
|
</nav>
|
|
<script>
|
|
// Sidenav toggle function.
|
|
//
|
|
// Use a jQuery function to toggle the sidenav bar. The initial state
|
|
// is undefined / inherited, so it will pop in and out as the screen
|
|
// resizes around the "large" breakpoint.
|
|
function toggleSidenav() {
|
|
$("#sidenav").toggle("fast");
|
|
}
|
|
</script>
|