MediaWiki:Mobile.css: Difference between revisions
Jump to navigation
Jump to search
Chinaenglish (talk | contribs) No edit summary Tag: Manual revert |
Chinaenglish (talk | contribs) No edit summary Tags: Reverted Mobile edit Mobile web edit |
||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the mobile site */ | /* All CSS here will be loaded for users of the mobile site */ | ||
body.page-Main_Page .mw-page-title-main { | |||
display: block !important; | |||
visibility:hidden; /* 文字保留占位,不会塌陷,SEO更好 */ | |||
height:120px; /* 改成你图片的高度 */ | |||
background-image: url("/w/images/8/8b/HomeBanner.png"); | |||
background-size: contain; | |||
background-repeat: no-repeat; | |||
background-position:center; | |||
} | |||
Revision as of 14:46, 31 October 2026
/* All CSS here will be loaded for users of the mobile site */
body.page-Main_Page .mw-page-title-main {
display: block !important;
visibility:hidden; /* 文字保留占位,不会塌陷,SEO更好 */
height:120px; /* 改成你图片的高度 */
background-image: url("/w/images/8/8b/HomeBanner.png");
background-size: contain;
background-repeat: no-repeat;
background-position:center;
}