Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork66
Closed
Labels
Description
- Go tohttps://docs.python.org/3.13/library/gettext.html (uses Sphinx 6.2.1)
- Switch to dark mode if in light
- Click the "[1]" or "[2]" link to jump to the footnote
Expected result: Text is readable
Actual result: Uses a yellow background suitable for light mode, not dark, making text unreadable:

This is because of this CSS inhttps://docs.python.org/3.13/_static/basic.css:
.footnote:target {background-color:#ffa;}
This CSS comes from Sphinx:
But I guess we should fix it in this theme?
Note: Cannot reproduce withhttps://docs.python.org/3.12/library/gettext.html because it uses Sphinx 4.5.0, and the CSS only applies to the structure in 5+.