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 {