aboutsummaryrefslogtreecommitdiff
path: root/docs/_static
diff options
context:
space:
mode:
authorjack1142 <[email protected]>2021-04-10 10:03:22 +0200
committerGitHub <[email protected]>2021-04-10 04:03:22 -0400
commit4fee6325267c936bec7e9e6f40ee3bb7bae15ed0 (patch)
tree00d3e8d776d7fc823a0127d1b4bef079425dfc79 /docs/_static
parentAdd missing attribute tables (diff)
downloaddiscord.py-4fee6325267c936bec7e9e6f40ee3bb7bae15ed0.tar.xz
discord.py-4fee6325267c936bec7e9e6f40ee3bb7bae15ed0.zip
Make the style of external and internal cross-references consistent
Diffstat (limited to 'docs/_static')
-rw-r--r--docs/_static/style.css8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/_static/style.css b/docs/_static/style.css
index 96d5ab0a..0a0bf875 100644
--- a/docs/_static/style.css
+++ b/docs/_static/style.css
@@ -894,11 +894,15 @@ dl.field-list {
display: block;
}
-/* internal references are forced to bold for some reason */
-a.reference.internal > strong {
+/* cross-references are forced to bold for some reason */
+a.reference > strong {
font-weight: unset;
font-family: var(--monospace-font-family);
}
+a.reference.pep > strong,
+a.reference.rfc > strong {
+ font-family: inherit;
+}
/* exception hierarchy */