1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-03 20:49:50 +00:00
6502bench/SourceGen/RuntimeData/SGStyle.css
Andy McFadden 0ac0686c7a ORG rework, part 9
Modified "jump to" code to understand address range start/end lines.
If there are multiple starts or ends at the same offset, we jump to
the first one in the set, which is suboptimal but simpler to do.
Simplified the API, embedding GoToMode in the Location object (which
is where it really needs to be, to make fwd/back work right).

Updated HTML export to grey out addresses in NON_ADDR sections.

Changed default pseudo-op strings for address regions to ".addrs" and
".adrend", after trying a bunch of things that were worse.  Added
definitions for region-end pseudo-ops to Merlin32 and cc65 for display
on screen.

Added regression test 20260 for address region pre-labels.

Fixed handling of leading underscores in platform/project symbols.
These need to be escaped in 64tass output.  Updated regression test
20170-external-symbols to check it.
2021-10-07 12:39:30 -07:00

50 lines
1.1 KiB
CSS

/*
* 6502bench SourceGen disassembly output style.
*/
/*
* General formatting.
*/
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px; /* 16 recommended for mobile */
padding: 0px;
margin: 20px 10px 10px 10px; /* TRBL order */
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
.greytext {
color: grey;
}
/*
* 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;
}
/*
* Put a border around visualizations. Disable smoothing so they don't
* blur out.
*
* Pixelated rendering works in Chrome, Safari, and IE11, but doesn't in
* current versions of Edge and Firefox. We could do it with Javascript
* Canvas (e.g. https://stackoverflow.com/a/19129822/294248), or by
* generating scaled thumbnail files directly.
*/
.vis {
border: 1px solid gray;
-ms-interpolation-mode: nearest-neighbor;
image-rendering: pixelated;
}