From 55824f601dcc6590d99c1d1735efae9bcb89f38b Mon Sep 17 00:00:00 2001 From: Erica Date: Fri, 20 Sep 2024 16:14:53 +0200 Subject: [PATCH] Docs: Some CSS work --- docs/_static/custom.css | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 87d1436..bb31256 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -25,7 +25,7 @@ --rosewater: #f2d5cf; --flamingo: #eebebe; --pink: #f4b8e4; - --mauve: #ca9ee6; + --mauve: hsl(277, 59%, 76%); --red: #e78284; --peach: #ef9f76; --maroon: #ea999c; @@ -47,13 +47,29 @@ --property: var(--green); --attribute: var(--green); - --links: var(--peach); + --links: hsl(277, 49%, 65%);; +} + +a:visited { + color: var(--links); } div.sphinxsidebarwrapper p.blurb { text-align: center; } +div.sphinxsidebarwrapper code.xref.py-class:hover { + background-color: initial; +} + +div.sphinxsidebar a:hover code { + background-color: inherit; +} + +div.sphinxsidebar code { + color: inherit; +} + img { border-radius: .5rem; }