Mercurial > p > roundup > code
diff doc/_static/style.css @ 8476:93f9d8622111
doc: update styles to WCAG AAA; add accessibility statement; reword
Update to AA WCAG 2.2 contrast:
in note admonitions, link contrast was too low
in python code examples, comments were too low contrast
Added accessability statement. It is only in the tree and not linked
to the website currently.
Updated install directions for future 2.6 release. Updated paragraph
to make it clearer.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 08 Nov 2025 14:03:42 -0500 |
| parents | c99e37d270b3 |
| children | 695399dea532 |
line wrap: on
line diff
--- a/doc/_static/style.css Sat Nov 08 00:40:39 2025 -0500 +++ b/doc/_static/style.css Sat Nov 08 14:03:42 2025 -0500 @@ -186,6 +186,8 @@ /* style */ :link { color: rgb(220,0,0); text-decoration: none;} +/* improve contrast to AA */ +.admonition.note :link { color: rgb(170,1,1); text-decoration: none;} :link:hover { text-decoration: underline solid clamp(1px, .3ex, 4px); text-underline-position: under; @@ -438,6 +440,14 @@ white-space: break-spaces; }*/ +/* improve color contrast to AA against yellowish highlight bg */ +div.highlight .c1 { + color: rgb(3,114,3); +} +div.highlight .na { + color: rgb(220,2,2); +} + /* Forcing wrap in a pre leads to some confusing line breaks. Use a horizontal scroll. Indicate the scroll by using rounded scroll shadows.
