Skip to content

Import basic.css in agogo, epub, nonav, scrolls, and traditional themes - #14635

Open
joyboy-type wants to merge 1 commit into
sphinx-doc:masterfrom
joyboy-type:fix/9093-import-basic-css
Open

Import basic.css in agogo, epub, nonav, scrolls, and traditional themes#14635
joyboy-type wants to merge 1 commit into
sphinx-doc:masterfrom
joyboy-type:fix/9093-import-basic-css

Conversation

@joyboy-type

Copy link
Copy Markdown

Fixes #9093

Summary

The agogo, epub, nonav, scrolls, and traditional themes
inherit from basic but their stylesheets did not import basic.css.
This adds the missing import so foundational styles changed in basic
propagate automatically to these themes.

Changes

  • Add @import url("basic.css"); to the stylesheets of the five themes.
  • Add a regression test verifying the import is present in the rendered CSS.
  • Add a CHANGES.rst entry.

Testing

  • pytest tests/test_theming/test_theming.py — 28 passed
  • pytest tests/test_builders/test_build_epub.py — 15 passed, 1 skipped (epubcheck)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some themes do not import CSS from basic

2 participants