Skip to content

Commit

Permalink
CSS: Fix compound paragraphs for docutils 0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Jun 7, 2022
1 parent a922dc7 commit 4f66feb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/insipid_sphinx_theme/insipid/static/insipid.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -215,16 +215,17 @@ div.compound {
margin-bottom: 1em;
}

div.compound > .compound-first {
margin-top: 0;
div.compound > * {
margin-top: 0.2em;
margin-bottom: 0.2em;
}

div.compound > .compound-middle {
margin-top: 0.2em;
div.compound > *:first-child {
margin-top: 0;
margin-bottom: 0.2em;
}
div.compound > .compound-last {

div.compound > *:last-child {
margin-top: 0.2em;
margin-bottom: 0;
}
Expand Down

0 comments on commit 4f66feb

Please sign in to comment.