pytest-dev / pytest

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
https://pytest.org
MIT License
11.95k stars 2.66k forks source link

Inject CSS via `html_css_files` rather than inline styles in the sidebar #12576

Closed pradyunsg closed 2 months ago

pradyunsg commented 3 months ago

See https://pradyunsg.me/furo/customisation/injecting/#css-or-js for the guidance from the theme for how to inject CSS.

_Originally posted by @pradyunsg in https://github.com/pytest-dev/pytest/pull/12326#discussion_r1666516622_

nicoddemus commented 3 months ago

Thanks @pradyunsg!

Marking @samjirovec here in case he would like to tackle this.