index style

This commit is contained in:
Cai
2025-11-13 21:08:30 +08:00
parent 9dc81b1489
commit 7dc4714ae9
32 changed files with 26283 additions and 102 deletions

View File

@@ -336,18 +336,6 @@ body {
margin-left: 0.75rem;
}
/* 搜索区域 */
.search-section {
padding: 0;
}
.search-container {
background-color: white;
border-radius: 12px;
padding: 1.5rem;
box-shadow: var(--card-shadow);
}
/* 课程卡片样式 */
.course-card {
border: none;

View File

@@ -19,19 +19,9 @@ body {
}
main {
flex: 1;
padding: 0 20px;
}
/* 搜索区域 */
.search-section {
padding: 0;
}
.search-container {
background-color: white;
border-radius: 12px;
padding: 1.5rem;
box-shadow: var(--card-shadow);
}
/* Header styles */
header {
@@ -88,25 +78,9 @@ main {
gap: 20px;
}
.course-card {
background-color: white;
display: flex;
flex-direction: column;
border-radius: 8px;
width: 300px;
height: 400px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s ease;
margin: 0px;
}
.select-button {
display: block;
width: 100%;
padding: 10px;
background-color: #2575fc;
color: white;
border: none;
cursor: pointer;
font-size: 16px;
@@ -115,11 +89,6 @@ main {
.course-card:hover {
transform: translateY(-10px); /* 提升效果 */
}
.course-card img {
width: 100%;
height: 261px;
object-fit: cover;
}
.course-card h3 {
padding: 15px;
@@ -139,9 +108,6 @@ main {
}
.selected-button {
display: block;
width: 100%;
padding: 10px;
background-color: #8a8b8c;
color: white;
border: none;

View File

@@ -0,0 +1,12 @@
/* 搜索区域 */
.search-section {
padding: 0;
}
.search-container {
background-color: white;
border-radius: 12px;
padding: 1.5rem;
box-shadow: var(--card-shadow);
}