Warning: file_exists(): open_basedir restriction in effect. File(/bin/bash) is not within the allowed path(s): (/www/wwwroot/www.chinaenglish.com/:/tmp/) in /www/wwwroot/www.chinaenglish.com/includes/Shell/CommandFactory.php on line 105
MediaWiki:Mobile.css - ChinaEnglish

MediaWiki:Mobile.css

Revision as of 14:28, 31 October 2026 by Chinaenglish (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* All CSS here will be loaded for users of the mobile site */

/* ========== 仅首页隐藏Main Page标题(移动端MinervaNeue) ========== */
body.page-Main_Page .firstHeading {
    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;
}