From ccc9ffdd3e573b2a915b37e1b881426dde9627e1 Mon Sep 17 00:00:00 2001 From: liaoxin Date: Sun, 17 May 2026 00:50:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20footer=20margin-top:auto=20=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=20sticky=20footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index 08749d3..dbb0a04 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,6 @@ /* Theme Name: 空笺未寄 -Version: 0.14.4 +Version: 0.14.5 Requires at least: 6.0 Requires PHP: 7.4 License: MIT @@ -31,10 +31,10 @@ Text Domain: kj-weji radial-gradient(ellipse at 20% 50%, rgba(180, 160, 130, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(160, 140, 110, 0.05) 0%, transparent 50%); color: var(--ink); - min-height: 100vh; line-height: 1.8; display: flex; flex-direction: column; + min-height: 100vh; padding: 0; } .platform { @@ -212,7 +212,7 @@ Text Domain: kj-weji .profile-tabs span { cursor:pointer; color:var(--ink-lighter); letter-spacing:0.08em; padding-bottom:6px; border-bottom:2px solid transparent; transition:all 0.25s; } .profile-tabs span:hover, .profile-tabs span.active { color:var(--cinnabar); border-bottom-color:var(--cinnabar); } - .footer { text-align:center; padding:24px 40px; border-top:1px solid var(--border-light); font-size:12px; color:var(--ink-lighter); letter-spacing:0.1em; font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif; } + .footer { margin-top: auto; text-align:center; padding:24px 40px; border-top:1px solid var(--border-light); font-size:12px; color:var(--ink-lighter); letter-spacing:0.1em; font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif; } .footer .motto { margin-bottom:6px; color:var(--ink-light); font-family:"Noto Serif SC","Source Han Serif SC",serif; } @media (max-width:720px){