MediaWiki:Mobile.css: Difference between revisions
Chinaenglish (talk | contribs) No edit summary Tags: Reverted Mobile edit Mobile web edit |
Chinaenglish (talk | contribs) No edit summary Tags: Reverted Mobile edit Mobile web edit |
||
| Line 4: | Line 4: | ||
body.page-Main_Page .firstHeading { | body.page-Main_Page .firstHeading { | ||
display: none !important; | display: none !important; | ||
} | |||
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; | |||
} | } | ||