58 lines
1.3 KiB
CSS
58 lines
1.3 KiB
CSS
.section {
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 36px;
|
|
font-weight: bold;
|
|
margin-bottom: 16px;
|
|
border-left: 4px solid #4f7cff;
|
|
padding-left: 10px;
|
|
color: #1f2a44;
|
|
}
|
|
|
|
.card-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 16px;
|
|
}
|
|
|
|
.card {
|
|
background: #ffffff;
|
|
border-radius: 8px;
|
|
padding: 16px 12px;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
min-height: 90px;
|
|
}
|
|
|
|
.card img {
|
|
width: 100%;
|
|
max-width: 180px;
|
|
height: auto; /* 自动保持比例 */
|
|
object-fit: contain;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.event-name {
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
color: #2b3a67;
|
|
}
|
|
|
|
.time {
|
|
font-size: 22px;
|
|
color: #7a7f99;
|
|
}
|
|
|
|
.empty {
|
|
color: #999;
|
|
font-size: 14px;
|
|
padding: 10px 0;
|
|
}
|