From 63acb92dc11904d2d276b258f473c705f8cca33b Mon Sep 17 00:00:00 2001 From: AviderMin Date: Fri, 18 Oct 2024 10:58:21 +0800 Subject: [PATCH] fix --- css/styles.css | 5 ++++- index.html | 13 ++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/css/styles.css b/css/styles.css index 16cb526..0593546 100644 --- a/css/styles.css +++ b/css/styles.css @@ -64,6 +64,9 @@ body { font-size: 16px; padding: 5px 10px; transition: color 0.3s ease; + position: relative; /* 添加相对定位 */ + display: flex; + gap: 35px; } .navbar-right a:hover, @@ -77,7 +80,7 @@ body { bottom: 0; width: 28px; height: 2px; - background-color: #FFD700; + background-color: #0091EA; transition: all .3s; } diff --git a/index.html b/index.html index 60a43ef..b57ea30 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@