MediaWiki:Geshi.css

From vwiki
Revision as of 23:04, 17 February 2012 by Sstrutt (talk | contribs) (Release update)
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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to GeSHi syntax highlighting */

/* Increase font size (fix for Vector) */
div.mw-geshi {
 font-size: 1.2em;
 font-weight: bold;
}
 
/* Add box around formatted code */
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #9EB19E;
  background-color: #f9f9f9;
}