From 14823e6f879484319fd0db1178c2a527ab7226e1 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 20 Sep 2023 16:25:15 -0400 Subject: [PATCH] CLean up autoref link styles for consistency --- docs/mkdocstrings.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/mkdocstrings.css b/docs/mkdocstrings.css index 40fdf785..c1a1d7d4 100644 --- a/docs/mkdocstrings.css +++ b/docs/mkdocstrings.css @@ -25,6 +25,17 @@ a.autorefs-external:hover::after { background-color: #e32e00; } +/* Customize custom links. */ +a.autorefs code { + background-color: #ecf0f3; + font-weight: normal; + color: #005B81; +} + +a.autorefs:hover code { + color: #E32E00; +} + /* Customize symbol names. */ code.doc-symbol-attribute::after { content: "Attr"; @@ -44,4 +55,4 @@ code.doc-symbol-class::after { code.doc-symbol-module::after { content: "Module"; -} \ No newline at end of file +}