mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
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.attribute > dt,
|
||||||
dl.classmethod > dt,
|
dl.classmethod > dt,
|
||||||
dl.method > dt,
|
dl.method > dt,
|
||||||
|
dl.property > dt,
|
||||||
dl.class > dt,
|
dl.class > dt,
|
||||||
dl.exception > dt {
|
dl.exception > dt {
|
||||||
background-color: var(--api-entry-background);
|
background-color: var(--api-entry-background);
|
||||||
padding: 1px 10px;
|
padding: 1px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* bug in sphinx: https://github.com/sphinx-doc/sphinx/issues/9384 */
|
||||||
|
dl.property > dt > span.descname + em.property {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
dd {
|
dd {
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
|
@ -45,6 +45,8 @@ extensions = [
|
|||||||
|
|
||||||
autodoc_member_order = 'bysource'
|
autodoc_member_order = 'bysource'
|
||||||
autodoc_typehints = 'none'
|
autodoc_typehints = 'none'
|
||||||
|
# maybe consider this?
|
||||||
|
# napoleon_attr_annotations = False
|
||||||
|
|
||||||
extlinks = {
|
extlinks = {
|
||||||
'issue': ('https://github.com/Rapptz/discord.py/issues/%s', 'GH-'),
|
'issue': ('https://github.com/Rapptz/discord.py/issues/%s', 'GH-'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user