MediaWiki:Vector-2022.css:修订间差异
外观
Maintenance script(留言 | 贡献) 隐藏自动分类列表 |
Maintenance script(留言 | 贡献) 移动端适配 |
||
| 第14行: | 第14行: | ||
.page-分类_案例分类 .mw-category-generated { | .page-分类_案例分类 .mw-category-generated { | ||
display: none; | display: none; | ||
} | |||
/* 移动端适配 */ | |||
@media screen and (max-width: 720px) { | |||
.mw-body-content { | |||
font-size: 17px !important; | |||
line-height: 1.8 !important; | |||
} | |||
.mw-body-content p { | |||
margin-bottom: 1em !important; | |||
} | |||
.mw-logo-wordmark { | |||
font-size: 1.1em !important; | |||
} | |||
} | } | ||
2026年10月10日 (六) 15:06的版本
/* 站点头衔样式:与像素猫logo协调 */
.mw-logo-wordmark {
color: #3a3226 !important;
font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif !important;
font-weight: 600 !important;
letter-spacing: 0.08em !important;
font-size: 1.35em !important;
}
a.mw-logo:hover .mw-logo-wordmark {
color: #5a4e38 !important;
text-decoration: none !important;
}
/* 案例分类页:隐藏自动子分类列表,只显示手动分组 */
.page-分类_案例分类 .mw-category-generated {
display: none;
}
/* 移动端适配 */
@media screen and (max-width: 720px) {
.mw-body-content {
font-size: 17px !important;
line-height: 1.8 !important;
}
.mw-body-content p {
margin-bottom: 1em !important;
}
.mw-logo-wordmark {
font-size: 1.1em !important;
}
}