MediaWiki:Geshi.css
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 */
/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */
div.mw-geshi {
padding: 1em;
margin: 1em 0;
border: 1px dashed #2f6fab;
background-color: #f9f9f9;
font-family: monospace, sans-serif !important;
font-size: 1.1em;
}
#content div.mw-geshi pre {
font-family: monospace, sans-serif;
font-size: 1.1em;
}
/*tt, code, pre {
font-size: 1.25em;
// font-family: monospace, sans-serif;
}*/
span.mw-geshi /* source enclose="none" */ {
font-family: monospace, sans-serif !important;
font-size: 1.1em;
}