fix index
This commit is contained in:
@@ -11,40 +11,6 @@ body {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
/* 页眉导航栏 */
|
||||
.navbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background-color: #2575fc;
|
||||
color: white;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.navbar .logo h1 {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.navbar-links a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
margin: 0 15px;
|
||||
font-size: 16px;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
.navbar-links a:hover {
|
||||
color: #f1c40f;
|
||||
}
|
||||
|
||||
.navbar .avatar img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid white;
|
||||
}
|
||||
|
||||
/* Dashboard 主体部分 */
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user