From 3accb262ce2b082a8afe257b4a03f1a9ccc36782 Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Wed, 22 Jul 2020 15:03:49 +0200 Subject: Highlight target footnote --- css/site.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'css/site.css') diff --git a/css/site.css b/css/site.css index 05a3afa..5f2626a 100644 --- a/css/site.css +++ b/css/site.css @@ -154,6 +154,11 @@ article header h1 + * { margin-top: 0.5em; } +article .footnotes li:target { + background: var(--light-gray); + transition: background 0.5s; +} + :not(pre) > code { background: var(--light-gray); white-space: nowrap; -- cgit v1.2.3