From e0ae83d321af275eaa3f33fbe462f60a7b7cdbde Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Sun, 16 Feb 2025 15:03:45 +0800 Subject: [PATCH] perf(theme): improve footnote styles (#469) --- theme/src/client/styles/md-enhance.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/theme/src/client/styles/md-enhance.css b/theme/src/client/styles/md-enhance.css index 85379cc8..cd0eb294 100644 --- a/theme/src/client/styles/md-enhance.css +++ b/theme/src/client/styles/md-enhance.css @@ -195,18 +195,19 @@ /* --------------------- Markdown Enhance: Footnote -------------------------------- */ .vp-doc .footnotes-sep { - display: none; + /* display: none; */ + margin-top: 32px; } .vp-doc .footnotes { position: relative; padding: 12px 0 12px 16px; - margin-top: 32px; + margin-top: 16px; font-size: 14px; background-color: var(--vp-c-bg-safe); border-radius: 6px; - opacity: 0.85; + opacity: 0.7; transition: background var(--vp-t-color); }