MediaWiki:Geshi.css

From Acenet Knowledgebase
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 pre.de1,
.source-bash pre.de2{
  font: normal normal 1em/1.3em monospace !important;
} 

.source-bash *{
 
  background-color:#000 !important;
  color:#fff !important;
  font-style: normal !important;
}
 
 
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px solid #fff;
  background-color: #000;
}