From cc20fb499dbcb33e2244d494ee66596c6c73dd7c Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 19 Jun 2021 18:27:02 +0100 Subject: [PATCH] Apply css based on aria-current, but I'm not happy with it yet --- .docs/css/theme.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.docs/css/theme.css b/.docs/css/theme.css index b8f65be..631893f 100644 --- a/.docs/css/theme.css +++ b/.docs/css/theme.css @@ -104,6 +104,11 @@ nav a { font-weight: bold; color: var(--text-main); } +nav li[aria-current=page] a { + margin: -0.25em; + border: 0.25em solid var(--bg-alt); +} + nav a.image { padding: 0.75em 1em 0.5em 1em; }