MediaWiki:Common.css

From Donate
Revision as of 23:55, 3 February 2012 by Pcoombe (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.
/* CSS placed here will be applied to all skins */

body.rtl div.mw-content-ltr ul, body.rtl div.mw-content-ltr ol {
  margin-left:0;
  margin-right:1.5em;
}

/* Border like <pre> for <syntaxhighlight> */
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}

/* Fix size for <syntaxhighlight> */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript {
  font-family: monospace, Courier !important;
}