diff options
| author | Rapptz <[email protected]> | 2021-06-28 04:16:51 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-06-28 04:16:51 -0400 |
| commit | e3a66bcccc7f8122e9fbe682bc3e1352792ce7fb (patch) | |
| tree | c340d713728cb404a0bb73ebc2e06be3281734c0 /docs/_static/style.css | |
| parent | Move documentation CSS after CSS block (diff) | |
| download | discord.py-e3a66bcccc7f8122e9fbe682bc3e1352792ce7fb.tar.xz discord.py-e3a66bcccc7f8122e9fbe682bc3e1352792ce7fb.zip | |
Fix property CSS to be more inline with everything else
Diffstat (limited to 'docs/_static/style.css')
| -rw-r--r-- | docs/_static/style.css | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/_static/style.css b/docs/_static/style.css index b08ac893..e1d218b3 100644 --- a/docs/_static/style.css +++ b/docs/_static/style.css @@ -1040,12 +1040,18 @@ dl.function > dt, dl.attribute > dt, dl.classmethod > dt, dl.method > dt, +dl.property > dt, dl.class > dt, dl.exception > dt { background-color: var(--api-entry-background); padding: 1px 10px; } +/* bug in sphinx: https://github.com/sphinx-doc/sphinx/issues/9384 */ +dl.property > dt > span.descname + em.property { + display: none; +} + dd { margin-top: 0.5em; margin-bottom: 0.5em; |