What is the simplest way to add small bits of supplementary CSS that will supersede the CSS in the theme, if the main theme is loaded as a module in my config file?
What I’ve tried
If I add CSS as themes/static/css/extra-css.css
, it has no effect.
If I put the CSS file in a GitHub repository at
https://github.com/my-username/my-shortcodes/tree/main/static/extra-css.css
and then try to load this as a module in my config.toml
after the main theme, with
theme = ["github.com/yihui/hugo-xmin", "github.com/my-username/my-shortcodes" ]
that also has no effect.