MediaWiki:Geshi.css

From Acenet Knowledgebase
Revision as of 19:38, 28 September 2012 by Docs admin (Talk | contribs) (Created page with "CSS placed here will be applied to GeSHi syntax highlighting: .source-bash { font-size:1.25em !important; } .source-bash .kw1, .source-bash .kw2, .source-bash .kw3,...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to GeSHi syntax highlighting */
 
.source-bash {
  font-size:1.25em !important;
}
 
.source-bash .kw1,
.source-bash .kw2,
.source-bash .kw3,
.source-bash .kw4,
.source-bash .sy0,
.source-bash .st_h,
.source-bash .de1,
.source-bash .st1,
.source-bash .st0,
.source-bash .nu0,
.source-bash .br0{
 
  background-color:#000 !important;
  color:#fff !important;
}
 
 
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px solid #fff;
  background-color: #000;
}