fix index

This commit is contained in:
Cai
2025-10-27 11:20:07 +08:00
parent 33bf569fb0
commit c73ea44747
5 changed files with 162 additions and 63 deletions

View File

@@ -1,25 +1,23 @@
/* 页眉导航栏 基础样式 */
/* 页眉导航栏 */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #ffffff;
padding: 10px 20px;
border-bottom: 1px solid #eee;
margin: 0;
background-color: #2575fc;
color: rgb(235, 235, 235);
border-radius: 10px;
margin-bottom: 30px;
}
/* 导航栏 Logo 样式 */
.navbar .logo h1 {
font-size: 20px;
color: rgb(245, 245, 245);
font-size: 24px;
font-weight: bold;
color: #1f2937;
margin: 0;
}
/* 导航链接样式 */
.navbar-links a {
color: #4b5563;
color: rgb(235, 235, 235);
text-decoration: none;
margin: 0 15px;
font-size: 18px;
@@ -27,21 +25,18 @@
}
.navbar-links a:hover {
color: #2575fc;
}
/* 头像容器样式 */
.navbar .avatar {
margin-left: 0;
color: #f1c40f;
}
.navbar .avatar img {
width: 32px;
height: 32px;
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
border: 2px solid white;
}
/* 下拉浮框 基础定位 */
.dropdown {
position: relative;