tlwiki-hugo-theme/static/css
mntn e9cfcaf94c
Set pre overflow to auto and make bg !important
Fixes 2 issues:
1. In Firefox, overflow: scroll puts an ugly unscrollable scrollbar on the page. With auto it behaves as normal but the scrollbar only appears when needed.
2. When using code highlighting, the generated Hugo styles replace the <pre> background color, making the page look ugly (only the text has a background, not the entire <pre> block). Setting the background !important fixes this. This is not ideal, but the styles are applied directly to the element when using the internal highlight shortcode, so this is the only way to override them.

Tested on Firefox and Chrome.
2021-07-31 21:18:25 -04:00
..
colour Add missing colors to gruvbox-dark theme 2021-07-27 20:42:56 -04:00
about.css Initial commit 2021-03-05 10:44:42 +01:00
custom.css Initial commit 2021-03-05 10:44:42 +01:00
footer.css Initial commit 2021-03-05 10:44:42 +01:00
header.css Initial commit 2021-03-05 10:44:42 +01:00
layout.css Initial commit 2021-03-05 10:44:42 +01:00
logo.css Initial commit 2021-03-05 10:44:42 +01:00
risotto.css Initial commit 2021-03-05 10:44:42 +01:00
typography.css Set pre overflow to auto and make bg !important 2021-07-31 21:18:25 -04:00