From 21554c39d5e0e1d7c7a44caebef692ff9db2997c Mon Sep 17 00:00:00 2001 From: lolabird <89228316+Lolabird@users.noreply.github.com> Date: Tue, 25 Mar 2025 06:00:58 -0600 Subject: [PATCH] Adjust footnote styles --- everforest-ant-dark.css | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/everforest-ant-dark.css b/everforest-ant-dark.css index 54e8e45..a16936c 100644 --- a/everforest-ant-dark.css +++ b/everforest-ant-dark.css @@ -529,13 +529,33 @@ body em, body i { } /***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; - counter-reset: footnote-counter; - margin: 2.5rem 0; - padding: 10px; + border: none; + border-top: 1px solid var(--devils-gray-lol); + border-radius: 0; + counter-reset: footnote-counter; + margin: 2.5rem 0; + padding: 10px 0; +} +.ck-content span.footnote-back-link { + margin-right: 0; + position: relative; + top: 0; +} +.ck-content li.footnote-item:before { + content: counter(footnote-counter) ". "; + display: inline-block; + min-width: 25px; + position: relative; + right: 0.2em; + text-align: right; + overflow: hidden; }