Skip to content

Commit

Permalink
Merge pull request readthedocs#631 from rtfd/definition-list-spacing
Browse files Browse the repository at this point in the history
Increase definition list spacing
  • Loading branch information
davidfischer authored May 15, 2018
2 parents 45949bf + 44de961 commit 9fea68a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
Changelog
*********

master
======

New Features
-------------

Fixes
-----

* Fix small styling issues

Other Changes
--------------


v0.3.1
======

Expand Down
2 changes: 2 additions & 0 deletions sass/_theme_rst.sass
Original file line number Diff line number Diff line change
Expand Up @@ -282,12 +282,14 @@
margin-bottom: $base-line-height
dt
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.
p, table, ul, ol
margin-bottom: $base-line-height / 2 !important
// rST seems to want dds to be treated as the browser would, indented.
dd
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
// 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.
Expand Down

0 comments on commit 9fea68a

Please sign in to comment.