MediaWiki:Common.css

Revision as of 06:40, 10 February 2026 by Warkeyash (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: →Mobile infobox fix: @media screen and (max-width: 720px) { .infobox { float: none !important; width: 100% !important; margin: 0 0 15px 0 !important; } } →Infobox image scaling: .infobox img { max-width: 100%; height: auto; }")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
/* CSS placed here will be applied to all skins */
/* Mobile infobox fix */
@media screen and (max-width: 720px) {
  .infobox {
    float: none !important;
    width: 100% !important;
    margin: 0 0 15px 0 !important;
  }
}

/* Infobox image scaling */
.infobox img {
  max-width: 100%;
  height: auto;
}