MediaWiki:Modern.css

Revision as of 04:06, 20 February 2026 by Kingwarz (talk | contribs) (Created page with "All CSS here will be loaded for users of the Modern skin: Force infobox float rules for this skin: @media (min-width: 640px) { .mw-parser-output .infobox { float: right !important; clear: right !important; margin: 0.5em 0 1em 1em !important; width: 22em !important; } } Prevent first paragraph from dropping below infobox: .mw-parser-output::after { content: ""; display: table; clear: both; }")
(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.
/* All CSS here will be loaded for users of the Modern skin */
/* Force infobox float rules for this skin */
@media (min-width: 640px) {
    .mw-parser-output .infobox {
        float: right !important;
        clear: right !important;
        margin: 0.5em 0 1em 1em !important;
        width: 22em !important;
    }
}

/* Prevent first paragraph from dropping below infobox */
.mw-parser-output::after {
    content: "";
    display: table;
    clear: both;
}