mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Merge pull request #631 from rtfd/definition-list-spacing
Increase definition list spacing
This commit is contained in:
commit
9fea68aa1d
@ -3,6 +3,21 @@
|
|||||||
Changelog
|
Changelog
|
||||||
*********
|
*********
|
||||||
|
|
||||||
|
master
|
||||||
|
======
|
||||||
|
|
||||||
|
New Features
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Fixes
|
||||||
|
-----
|
||||||
|
|
||||||
|
* Fix small styling issues
|
||||||
|
|
||||||
|
Other Changes
|
||||||
|
--------------
|
||||||
|
|
||||||
|
|
||||||
v0.3.1
|
v0.3.1
|
||||||
======
|
======
|
||||||
|
|
||||||
|
@ -282,12 +282,14 @@
|
|||||||
margin-bottom: $base-line-height
|
margin-bottom: $base-line-height
|
||||||
dt
|
dt
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
|
margin-bottom: $base-line-height / 2
|
||||||
// Most of the content within these dls are one liners, so I halve the normal margins.
|
// Most of the content within these dls are one liners, so I halve the normal margins.
|
||||||
p, table, ul, ol
|
p, table, ul, ol
|
||||||
margin-bottom: $base-line-height / 2 !important
|
margin-bottom: $base-line-height / 2 !important
|
||||||
// rST seems to want dds to be treated as the browser would, indented.
|
// rST seems to want dds to be treated as the browser would, indented.
|
||||||
dd
|
dd
|
||||||
margin: 0 0 $base-line-height / 2 $base-line-height
|
margin: 0 0 $base-line-height / 2 $base-line-height
|
||||||
|
line-height: $base-line-height
|
||||||
// This is what Sphinx spits out for it's autodocs. Depending upon what language the person is referencing
|
// This is what Sphinx spits out for it's autodocs. Depending upon what language the person is referencing
|
||||||
// these things usually have a class of "method" or "class" or something similar, but really who knows.
|
// these things usually have a class of "method" or "class" or something similar, but really who knows.
|
||||||
// Sphinx doesn't give me a generic class on these, so unfortunately I have to apply it to the root dl.
|
// Sphinx doesn't give me a generic class on these, so unfortunately I have to apply it to the root dl.
|
||||||
|
Loading…
Reference in New Issue
Block a user