1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-03 05:49:48 +00:00

Fix sidenav highlighting

Some of these files are only having their end-of-line character
changed.
This commit is contained in:
Andy McFadden 2021-06-11 15:17:05 -07:00
parent 27624668db
commit f451296c5b
5 changed files with 34 additions and 34 deletions

View File

@ -1,9 +1,9 @@
<hr/> <hr/>
<p>Copyright 2021 faddenSoft</p> <p>Copyright 2021 faddenSoft</p>
<!-- <p id="screen-size"></p> <!-- <p id="screen-size"></p>
<script> <script>
var w = window.innerWidth; var w = window.innerWidth;
var h = window.innerHeight; var h = window.innerHeight;
var x = document.getElementById("screen-size"); var x = document.getElementById("screen-size");
x.innerHTML = "DEBUG: initial window size " + w + "x" + h; x.innerHTML = "DEBUG: initial window size " + w + "x" + h;
</script> --> </script> -->

View File

@ -178,7 +178,7 @@ kbd.key {
color: #ffffff; color: #ffffff;
background-color: #000000; background-color: #000000;
} }
#sidenav .active a { #sidenav li.active > a {
color: #8bc349; color: #8bc349;
} }

View File

@ -1,4 +1,4 @@
<!--<div class="masthead-title" style="background-image: url('images/screenshot-mainwin.png');">--> <!--<div class="masthead-title" style="background-image: url('images/screenshot-mainwin.png');">-->
<div class="masthead-title"> <div class="masthead-title">
6502bench 6502bench
</div> </div>

View File

@ -47,14 +47,14 @@
</div> </div>
<div id="sidenav"> <div id="sidenav">
<!-- START: sidenav-incl.html active:#sidenav-starting-project --> <!-- START: sidenav-incl.html active:#sidenav-moving-around -->
<!-- side navigation bar contents --> <!-- side navigation bar contents -->
<ul> <ul>
<li id="sidenav-index"><a href="./">Introduction</a></li> <li id="sidenav-index"><a href="./">Introduction</a></li>
<li id="sidenav-about-disasm"><a href="about-disasm.html">About Disassembly</a></li> <li id="sidenav-about-disasm"><a href="about-disasm.html">About Disassembly</a></li>
<li id="sidenav-using-sourcegen"><a href="using-sourcegen.html">Using SourceGen</a> <li id="sidenav-using-sourcegen"><a href="using-sourcegen.html">Using SourceGen</a>
<ul> <ul>
<li id="sidenav-moving-around"><a href="moving-around.html">Moving Around</a></li> <li id="sidenav-moving-around" class="active"><a href="moving-around.html">Moving Around</a></li>
<li id="sidenav-simple-edits"><a href="simple-edits.html">Simple Edits</a></li> <li id="sidenav-simple-edits"><a href="simple-edits.html">Simple Edits</a></li>
<li id="sidenav-labels-symbols"><a href="labels-symbols.html">Labels &amp; Symbols</a></li> <li id="sidenav-labels-symbols"><a href="labels-symbols.html">Labels &amp; Symbols</a></li>
<li id="sidenav-editing-data"><a href="editing-data.html">Editing Data Operands</a></li> <li id="sidenav-editing-data"><a href="editing-data.html">Editing Data Operands</a></li>

View File

@ -1,18 +1,18 @@
<!-- top navigation bar contents --> <!-- top navigation bar contents -->
<nav> <nav>
<a id="topnav-home" href="/">HOME</a> <a id="topnav-home" href="/">HOME</a>
<a id="topnav-sgtutorial" href="/sgtutorial">SourceGen Tutorial</a> <a id="topnav-sgtutorial" href="/sgtutorial">SourceGen Tutorial</a>
<a id="topnav-menuicon" href="javascript:void(0);" class="icon" onclick="toggleSidenav()"> <a id="topnav-menuicon" href="javascript:void(0);" class="icon" onclick="toggleSidenav()">
<i class="fa fa-bars"></i> <i class="fa fa-bars"></i>
</a> </a>
</nav> </nav>
<script> <script>
// Sidenav toggle function. // Sidenav toggle function.
// //
// Use a jQuery function to toggle the sidenav bar. The initial state // 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 // is undefined / inherited, so it will pop in and out as the screen
// resizes around the "large" breakpoint. // resizes around the "large" breakpoint.
function toggleSidenav() { function toggleSidenav() {
$("#sidenav").toggle("fast"); $("#sidenav").toggle("fast");
} }
</script> </script>