Mercurial > p > roundup > code
comparison website/www/_static/style.css @ 6773:339805c4a85b
Pygments has poor code block contrast outout using sphinx style.
Change to borland theme. This eliminated 68 poor contrast (< AA)
examples on upgrading.html. Even more on other pages. axe DevTools is
now happier.
Borland theme/style doesn't color the bacground of the code blocks, so
set to lightyellow in style.css. This still allows good contrast.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 12 Jul 2022 14:16:58 -0400 |
| parents | c645f51e9e8a |
| children | e7b4ad2c57ac |
comparison
equal
deleted
inserted
replaced
| 6772:fde9fe504ebd | 6773:339805c4a85b |
|---|---|
| 157 ul.simple li a { min-height: 48px; | 157 ul.simple li a { min-height: 48px; |
| 158 display: block;} | 158 display: block;} |
| 159 /* make examples with long lines scrollable */ | 159 /* make examples with long lines scrollable */ |
| 160 div.highlight pre { overflow: auto;} | 160 div.highlight pre { overflow: auto;} |
| 161 } | 161 } |
| 162 /* set background when using borland pygments style */ | |
| 163 div.highlight pre { background: lightyellow;} |
