MediaWiki:Common.css

From KIproBatt Wiki
Revision as of 09:07, 9 March 2021 by Admin (talk | contribs) (test @media print)

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
/* Show only when printing */
@media screen, projection, handheld {
  .printonly { display: none !important; }
}
@media print {
  /* Show elements meant to be displayed when printed, use fallbacks when needed. */
  div.expand-print, div.printonly { display: block !important; }
  span.expand-print, span.printonly { display: inline !important; }
  table.collapsible tr, div.collapsible > div.body { display: block !important; }
  table.collapsible tr { display: table-row !important; }
}