MediaWiki:Common.css

From WikiDoctor
Revision as of 07:00, 10 February 2026 by Warkeyash (talk | contribs)
Jump to navigation Jump to search

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.
/* Wikipedia-style mobile infobox behavior */
@media screen and (max-width: 720px) {

  .infobox {
    float: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 -16px 16px -16px !important;
    border-left: none !important;
    border-right: none !important;
  }

  .infobox img {
    width: 100% !important;
    height: auto !important;
  }

}