From 2599b52b7a29d3850ef2a1c9dbf1071b302fd072 Mon Sep 17 00:00:00 2001 From: lolabird <89228316+Lolabird@users.noreply.github.com> Date: Tue, 25 Mar 2025 05:29:27 -0600 Subject: [PATCH] Adjust footnote styles --- stellar-dark.css | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/stellar-dark.css b/stellar-dark.css index 4ec29e9..77e9008 100644 --- a/stellar-dark.css +++ b/stellar-dark.css @@ -506,13 +506,34 @@ body blockquote{ } /***footnotes***/ +/*Inline*/ +span.footnote-reference > sup > a { + font-weight: 100; + font-size: .9em; +} +/*Block*/ div.footnote-section.ck-widget { border: none; border-top: 1px solid var(--devils-gray-lol); - border-radius: 2px; + border-radius: 0; counter-reset: footnote-counter; margin: 2.5rem 0; - padding: 10px; + padding: 10px 0; +} +.ck-content span.footnote-back-link { + margin-right: 0; + position: relative; + top: 0; +} +.ck-content li.footnote-item:before { + font-variant-numeric: tabular-nums; + content: counter(footnote-counter) ". "; + display: inline-block; + min-width: 28px; + position: relative; + right: 0.2em; + text-align: right; + overflow: hidden; }