1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 22:50:35 +00:00
6502bench/SourceGen/RuntimeData/SGStyle.css

43 lines
1.1 KiB
CSS
Raw Normal View History

/*
* 6502bench SourceGen disassembly output style.
*/
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;
}
/*
* 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;
}