Difference between revisions of "MediaWiki:Geshi.css"
Line 6: | Line 6: | ||
border: 1px dashed #2f6fab; | border: 1px dashed #2f6fab; | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
− | font- | + | font-family: monospace, sans-serif !important; |
+ | } | ||
+ | |||
+ | #content div.mw-geshi pre { | ||
+ | font-family: monospace, sans-serif; | ||
} | } |
Revision as of 13:25, 20 September 2012
/* 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;
}
#content div.mw-geshi pre {
font-family: monospace, sans-serif;
}