Fix property CSS to be more inline with everything else
This commit is contained in:
parent
039bb9f871
commit
e3a66bcccc
6
docs/_static/style.css
vendored
6
docs/_static/style.css
vendored
@ -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;
|
||||
|
@ -45,6 +45,8 @@ extensions = [
|
||||
|
||||
autodoc_member_order = 'bysource'
|
||||
autodoc_typehints = 'none'
|
||||
# maybe consider this?
|
||||
# napoleon_attr_annotations = False
|
||||
|
||||
extlinks = {
|
||||
'issue': ('https://github.com/Rapptz/discord.py/issues/%s', 'GH-'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user