MediaWiki:Minerva.css: Difference between revisions
Jump to navigation
Jump to search
Chinaenglish (talk | contribs) No edit summary Tags: Mobile edit Mobile web edit |
Chinaenglish (talk | contribs) No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 16: | Line 16: | ||
body.page-Main_Page .mw-header { | |||
display: block !important; | |||
height: 120px !important; | |||
background-image: url("//www.chinaenglish.com/images/HomeBanner.png") !important; | |||
background-size: contain !important; | |||
background-repeat: no-repeat !important; | |||
background-position: center !important; | |||
} | |||
/* 再单独隐藏里面原来的Main Page文字 */ | |||
body.page-Main_Page .mw-page-title-main { | body.page-Main_Page .mw-page-title-main { | ||
visibility: hidden !important; | |||
} | } | ||
Revision as of 15:19, 31 October 2026
/* All CSS here will be loaded for users of the MinervaNeue skin */
/* ========== 仅首页隐藏Main Page标题(移动端MinervaNeue) ========== */
body.page-Main_Page .mw-page-title-main {
display: none !important;
}
/* MinervaNeue 移动端强制展开所有章节,去掉折叠箭头 */
.mf-section-body {
display: block !important;
}
.mf-section-heading .mf-icon--expand {
display: none !important;
}
body.page-Main_Page .mw-header {
display: block !important;
height: 120px !important;
background-image: url("//www.chinaenglish.com/images/HomeBanner.png") !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center !important;
}
/* 再单独隐藏里面原来的Main Page文字 */
body.page-Main_Page .mw-page-title-main {
visibility: hidden !important;
}