diff options
| author | Rapptz <[email protected]> | 2020-05-25 11:48:16 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-12-18 21:18:47 -0500 |
| commit | 9b88c631639167433bfd2c244b3be04d3a52a66d (patch) | |
| tree | 9e71c65d119643bca4b5408f558a13ed3c732da5 /docs/_static/style.css | |
| parent | Add support for Member.pending boolean attribute (diff) | |
| download | discord.py-9b88c631639167433bfd2c244b3be04d3a52a66d.tar.xz discord.py-9b88c631639167433bfd2c244b3be04d3a52a66d.zip | |
Add attributetable and add some class-level sections.
The extensions have yet to receive this treatment and CSS needs work,
but for now this is fine.
Diffstat (limited to 'docs/_static/style.css')
| -rw-r--r-- | docs/_static/style.css | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/_static/style.css b/docs/_static/style.css index 43966db8..d371518c 100644 --- a/docs/_static/style.css +++ b/docs/_static/style.css @@ -278,6 +278,12 @@ div.attention, div.warning, div.caution, div.seealso { border: 1px solid #fbe091; } +dl.field-list > dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 20px; +} + /* no disgusting background in the FAQ */ div.topic { background-color: transparent; @@ -352,6 +358,25 @@ div.helpful > p.admonition-title:after { list-style: 'ยป' !important; } +/* attribute tables */ +.py-attribute-table { + display: flex; + flex-direction: row; + justify-content: space-between; + margin: 0 2em; + padding-top: 16px; +} + +.py-attribute-table-column > span { + font-weight: bold; +} + +div.body .py-attribute-table-column > ul { + list-style: none; + margin: 4px 0px; + padding-left: 12px; +} + pre { background-color: #f5f5f5; border: 1px solid #C6C9CB; |