MediaWiki:Geshi.css

From WhyAskWhy.org Wiki
Revision as of 06:25, 3 August 2012 by Deoren (talk | contribs) (Adding rule from MediaWiki:Common.css)
Jump to: navigation, search

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: 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 GeSHi syntax highlighting */

/**
 * Language code: "cpp"
 *
 * Color fix for member variables
 */
.source-cpp .me1 { color:#499; }
.source-cpp .me2 { color:#499; }


/* 
 * Trying to merge this rule with the existing one to prevent the font from being so small
 */
 
.mw-geshi.mw-content-ltr {
    font-size: 1.2em;
}