测试:密室杀手/styles.css
来自EaseCation Wiki
更多操作
< 测试:密室杀手
/* 密室杀手页面样式 */
/* === 章节标题 === */
.mm-section-title {
font-size: 20px;
font-weight: bold;
color: #2c3e50;
margin: 35px 0 18px 0;
padding-bottom: 8px;
border-bottom: 2px solid #26CA9B;
}
/* === 模式卡片 === */
.mm-modes-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
margin-bottom: 25px;
}
.mm-mode-card {
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 3px;
padding: 8px 10px;
transition: border-color 0.2s;
}
.mm-mode-card:hover {
border-color: #26CA9B;
}
.mm-mode-name {
font-size: 13px;
font-weight: bold;
color: #2c3e50;
margin: 0 0 4px 0;
padding-bottom: 3px;
border-bottom: 2px solid #26CA9B;
}
.mm-mode-desc {
font-size: 10px;
color: #666;
margin-bottom: 2px;
line-height: 1.3;
}
.mm-mode-meta {
font-size: 9px;
color: #aaa;
margin-bottom: 4px;
}
.mm-mode-link {
font-size: 10px;
}
.mm-mode-link a {
color: #26CA9B;
text-decoration: none;
}
.mm-mode-link a:hover {
text-decoration: underline;
}
/* === 每周任务 === */
.mm-task-item {
display: flex;
flex-direction: column;
gap: 4px;
padding: 12px 15px;
border-radius: 4px;
margin-bottom: 8px;
background: #f5f5f5;
border-left: 3px solid #4169E1;
}
.mm-task-text {
font-size: 14px;
color: #333;
}
.mm-task-reward {
font-size: 12px;
color: #999;
}
/* === 响应式 === */
@media (max-width: 1024px) {
.mm-modes-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.mm-section-title {
font-size: 18px;
}
.mm-modes-grid {
grid-template-columns: 1fr 1fr;
}
.mm-task-item {
padding: 10px 12px;
}
.mm-task-text {
font-size: 13px;
}
.mc-nav-grid {
display: flex !important;
flex-wrap: wrap !important;
justify-content: center !important;
gap: 0.5em !important;
}
.mc-nav-grid > * {
flex: 0 1 calc(33.33% - 0.5em) !important;
min-width: 90px !important;
}
}
@media (max-width: 480px) {
.mm-modes-grid {
grid-template-columns: 1fr;
}
}