From 4fee6325267c936bec7e9e6f40ee3bb7bae15ed0 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat, 10 Apr 2021 10:03:22 +0200 Subject: [PATCH] Make the style of external and internal cross-references consistent --- docs/_static/style.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/_static/style.css b/docs/_static/style.css index 96d5ab0a6..0a0bf8756 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 */