Skip to content

Commit

Permalink
docs: add space before attribute lists
Browse files Browse the repository at this point in the history
Class/Module members/attributes were too close together in production
docs. Finally got motivated to fix it with a silly little CSS trick.

Skips over lists that are first-of-type to avoid adding too much space
between section headings and attribute lists with no lede text.
  • Loading branch information
dgw committed Sep 13, 2020
1 parent 528e1b8 commit 7a02493
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.section dl.py:not(:first-of-type) {
margin-top: 1.5em;
}

0 comments on commit 7a02493

Please sign in to comment.