mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Merge pull request #1192 from readthedocs/nienn/fix-list-classifier-css
Fix #1190: Add classifier separation on html4 writer
This commit is contained in:
commit
7500f33645
File diff suppressed because one or more lines are too long
@ -270,6 +270,15 @@
|
||||
.hlist
|
||||
width: 100%
|
||||
|
||||
// Definition lists term/classifier separator
|
||||
// Adds a separator for Sphinx > 1.x as a pseudo-element
|
||||
// and hides the hardcoded separator from Sphinx 1.x
|
||||
dl dt span.classifier
|
||||
&:before
|
||||
content: " : "
|
||||
dl dt span.classifier-delimiter
|
||||
display: none !important
|
||||
|
||||
// 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
|
||||
@ -288,9 +297,6 @@
|
||||
vertical-align: top
|
||||
// HTML5 writer
|
||||
html.writer-html5 &
|
||||
dl dt span.classifier
|
||||
&:before
|
||||
content: " : "
|
||||
dl.footnote,
|
||||
dl.field-list
|
||||
display: grid
|
||||
|
Loading…
Reference in New Issue
Block a user