Jump to content

MediaWiki:Common.css

From Team 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* Images should be responsive */
res-img {
max-width:100%;
height:auto;
}

/* Keep large wiki content images inside the page at their original proportions. */
.mw-parser-output img,
.mw-parser-output .mw-file-element {
    max-width: 100%;
    height: auto;
}

/* Constrain older thumbnails and newer MediaWiki figure wrappers too. */
.mw-parser-output .thumb,
.mw-parser-output .thumbinner,
.mw-parser-output figure {
    max-width: 100%;
    box-sizing: border-box;
}