Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1190: Add classifier separation on html4 writer #1192

Merged
merged 7 commits into from Aug 12, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/static/css/theme.css

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions src/sass/_theme_rst.sass
Expand Up @@ -270,6 +270,12 @@
.hlist
width: 100%

// Global classifier class format
// the classifier class is used both inside the Html4 writer tables and the html5 writer definition lists
span.classifier
nienn marked this conversation as resolved.
Show resolved Hide resolved
&:before
content: " : "

// The html4 writer outputs the citation and footnotes as a table, and the
// html5 writer outputs these as a definition list. We will use the fairly
// well supported css `grid` attribute to make these back into a table
Expand All @@ -288,9 +294,6 @@
vertical-align: top
// HTML5 writer
html.writer-html5 &
dl dt span.classifier
&:before
content: " : "
dl.footnote,
dl.field-list
display: grid
Expand Down