尝试修改无效CSS

This commit is contained in:
高子兴 2024-07-14 23:01:45 +08:00
parent 8ff882cdd0
commit 6582e663f3
2 changed files with 4 additions and 35 deletions

View File

@ -28,13 +28,6 @@ section {
margin-bottom: 15px;
}
.form-group h\\:outputLabel {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #555;
}
.form-control {
width: 100%;
padding: 10px;
@ -50,8 +43,3 @@ section {
.btn-primary:hover {
background-color: #0056b3;
}
h\\:messages {
margin-top: 20px;
color: #ff0000;
}

View File

@ -67,15 +67,7 @@ footer {
z-index: 1;
}
/* Project list styling */
.project-list {
list-style: none;
padding: 0;
margin: 0;
backdrop-filter: blur(5px); /* 磨砂玻璃效果 */
}
.project-list li, .liButton {
.project-list li {
background-color: #fff;
border: 1px solid #ddd;
margin-bottom: 5px;
@ -119,7 +111,7 @@ footer {
}
/* 保存按钮样式 */
#saveButton, .saveButton {
.saveButton {
background-color: #007bff;
color: white;
border: none;
@ -129,7 +121,7 @@ footer {
font-size: 16px;
}
#saveButton:hover {
.saveButton:hover {
background-color: #0056b3;
}
@ -185,7 +177,7 @@ footer {
background-color: #d2d2d2; /* 悬停时背景颜色 */
}
.project-list li:hover, .liButton:hover {
.project-list li:hover {
background-color: #f0f0f0;
}
@ -344,17 +336,6 @@ footer {
text-align: center; /* 使每个选项内的文本居中 */
}
/* Section styling for About Me */
#about-me {
background-color: rgba(255, 255, 255, 0.8); /* 白色半透明背景 */
padding: 20px; /* 内边距 */
border-radius: 10px; /* 圆角边框 */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 盒子阴影 */
max-width: 80%; /* 设置最大宽度 */
margin: 20px auto; /* 垂直外边距和水平居中 */
backdrop-filter: blur(5px); /* 磨砂玻璃效果 */
}
/* Heading styling for About Me */
#about-me h1 {
color: #333; /* 文字颜色 */