From 14a63e721dc4e027ae1f98c855f35453c7b474f5 Mon Sep 17 00:00:00 2001 From: eltrac Date: Wed, 25 Mar 2026 13:33:22 +0800 Subject: feat: better inline footnotes - smaller line height - smaller font - smaller opacity unless hovered - highlight ref link when targeted --- assets/css/_markdown.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'assets/css') diff --git a/assets/css/_markdown.scss b/assets/css/_markdown.scss index 6252c210..09089996 100644 --- a/assets/css/_markdown.scss +++ b/assets/css/_markdown.scss @@ -203,6 +203,16 @@ } } } + + /* footnotes */ + + .inline-footnote { + p { margin: 0 } + } + + sup[id*="fnref"]:target { + background-color: rgba(255, 235, 0, .25); + } } /* gallery shortcode */ -- cgit v1.2.3