mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-26 19:29:17 +00:00
8d9a27ae0c
Also, tweaked the HTML templates.
57 lines
1.3 KiB
CSS
57 lines
1.3 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 */
|
|
|
|
/*
|
|
* For white text on black background, uncomment this, and
|
|
* update the link text colors below.
|
|
*/
|
|
/* color: white;
|
|
background-color: black; */
|
|
}
|
|
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;
|
|
}
|