1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-08-05 09:25:39 +00:00

Make links less distracting in HTML output

Having underlined blue text everywhere was too noisy.  This changes
the CSS style for internal links to be plain black text that gets
blue and underliney when you hover the mouse over it.

Also, added the current date and time to the set of template
substitutions.
This commit is contained in:
Andy McFadden
2019-09-22 16:39:29 -07:00
parent 488df3e68e
commit 0877857e7e
3 changed files with 21 additions and 3 deletions

View File

@@ -28,7 +28,8 @@ $SymbolTable$
<div id="footer">
<hr/>
<p>HTML generated by <a href="https://6502bench.com/">6502bench SourceGen</a> v$AppVersion$</p>
<p>HTML generated by <a href="https://6502bench.com/">6502bench SourceGen</a> v$AppVersion$
on $CurrentDate$ <!--$CurrentTime$--></p>
<p>Expression style: $ExpressionStyle$</p>
</div>
</body>

View File

@@ -11,3 +11,16 @@ table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
/*
* Blue underlined text is distracting. Change internal links to be
* plain black text until they're hovered over.
*/
a[href^="#"]:link, a[href^="#"]:visited {
color: black;
text-decoration: none;
}
a[href^="#"]:hover {
color: blue;
text-decoration: underline;
}