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 @@