MediaWiki:Mobile.css

From Meta, a Wikimedia project coordination wiki

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the mobile site */
.mobile-float-reset { float: none !important; width: 100% !important; }
.mobile-padding-reset { padding: 0 !important; }
.mobile-margin-reset { margin: 0 !important; }
.mobile-width-reset { width: 100% !important; box-sizing: border-box; }
.responsive-font { font-size: .8em; }

/* General rule for showing things only on mobile (hidden in Common.css) */
.mobile-only {
	display: block;
}

/** Temporary rule to hide AddMe buttons, see [[Special:Permalink/17495075#Clicking "Support" has no effect on mobile]] */
.wp-addme-button.user-show {
	display: none !important;
}