HTML source code, style-sheets, scripts, and images for deployment on mingw.osdn.io
Revisión | 28eeb330100a39cdd168202ea0abe2fa2bc72793 (tree) |
---|---|
Tiempo | 2022-11-10 06:22:38 |
Autor | Keith Marshall <keith@user...> |
Commiter | Keith Marshall |
Adjust styling for code in running text.
* site.css (code): Do not specify any value for...
(color): ...this property; hence, no explicit inheritance required...
(a code, table.borderless code): ...for these.
@@ -86,13 +86,6 @@ a:visited | ||
86 | 86 | */ |
87 | 87 | color: #aa00cc; |
88 | 88 | } |
89 | -a code | |
90 | -{ /* Whereas code samples, within running text, are displayed in a | |
91 | - * reduced-intensity colour, when encapsulated within a reference | |
92 | - * anchor, the anchor colour should prevail. | |
93 | - */ | |
94 | - color: inherit; | |
95 | -} | |
96 | 89 | p |
97 | 90 | { /* Use the browser's default paragraph styling, but tighten the |
98 | 91 | * inter-paragraph spacing... |
@@ -432,10 +425,9 @@ div.box-out p:first-child | ||
432 | 425 | */ |
433 | 426 | margin-top: 0; |
434 | 427 | } |
435 | -pre.vt, code | |
428 | +pre.vt | |
436 | 429 | { /* Use a lighter text colour, to highlight code samples in |
437 | - * running text, and the machine-output in "video-terminal" | |
438 | - * style displays... | |
430 | + * machine-output in "video-terminal" style displays... | |
439 | 431 | */ |
440 | 432 | color: #666699; |
441 | 433 | } |
@@ -477,9 +469,6 @@ table.borderless th | ||
477 | 469 | table.borderless tr.leaded td |
478 | 470 | { padding-top: 0.3em; |
479 | 471 | } |
480 | -table.borderless code | |
481 | -{ color: inherit; | |
482 | -} | |
483 | 472 | table.top-aligned tr |
484 | 473 | { vertical-align: baseline; |
485 | 474 | } |