跳转到内容

MediaWiki:Vector-2022.css:修订间差异

来自中文精神分析知识库
Maintenance script​(留言 | 贡献)
隐藏历史和页脚logo
Maintenance script​(留言 | 贡献)
移动端logo
第33行: 第33行:
@media screen and (max-width: 720px) {
@media screen and (max-width: 720px) {
     .mw-footer .mw-poweredby { display: none !important; }
     .mw-footer .mw-poweredby { display: none !important; }
}
/* 移动端确保logo显示 */
@media screen and (max-width: 720px) {
    .mw-logo-icon { display: inline-block !important; }
}
}

2026年10月10日 (六) 15:10的版本

/* 站点头衔样式:与像素猫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; }
}
/* 移动端确保logo显示 */
@media screen and (max-width: 720px) {
    .mw-logo-icon { display: inline-block !important; }
}