From d07fe5b4b23f4d152bbf922d4eb33dbb6f236a14 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Mon, 24 Nov 2025 00:52:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BE=E5=A4=A7=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/common.css | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/common/common.css b/common/common.css index 395f295..5086fe9 100644 --- a/common/common.css +++ b/common/common.css @@ -795,13 +795,12 @@ -/* 回到顶部按钮 - 独立样式 */ +/* 回到顶部按钮 - 独立样式,固定在右下角 */ .back-top-wrapper { position: fixed; - top: calc(45% - 80px); - right: 0; - z-index: 4; - transform: translateY(-50%); + bottom: 40px; + right: 20px; + z-index: 1000; width: 50px; height: 50px; display: flex; @@ -812,8 +811,7 @@ backdrop-filter: blur(20px); box-shadow: 0 8px 32px rgba(15, 23, 42, 0.6); border: 1px solid rgba(148, 163, 184, 0.15); - border-right: none; - border-radius: 8px 0 0 8px; + border-radius: 50%; transition: all 0.3s ease; } @@ -826,7 +824,8 @@ .back-top-wrapper:hover { background: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%); - box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4); + box-shadow: 0 8px 24px rgba(56, 189, 248, 0.5); + transform: translateY(-3px); } .back-top-wrapper:hover img {