MediaWiki:Vector-2022.css:修订间差异
外观
Maintenance script(留言 | 贡献) 移动端适配 |
Maintenance script(留言 | 贡献) 隐藏历史和页脚logo |
||
| 第27行: | 第27行: | ||
font-size: 1.1em !important; | font-size: 1.1em !important; | ||
} | } | ||
} | |||
/* 隐藏历史标签 */ | |||
#ca-history { display: none !important; } | |||
/* 移动端隐藏页脚MediaWiki logo */ | |||
@media screen and (max-width: 720px) { | |||
.mw-footer .mw-poweredby { display: none !important; } | |||
} | } | ||
2026年10月10日 (六) 15:08的版本
/* 站点头衔样式:与像素猫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;
}
}
/* 隐藏历史标签 */
#ca-history { display: none !important; }
/* 移动端隐藏页脚MediaWiki logo */
@media screen and (max-width: 720px) {
.mw-footer .mw-poweredby { display: none !important; }
}