Difference between revisions of "MediaWiki:Geshi.css"
Line 11: | Line 11: | ||
pre.mw-geshi { | pre.mw-geshi { | ||
background-color: #f0f0f0; | background-color: #f0f0f0; | ||
+ | font-size: 1em; /* IE doesn't like inherit here */ | ||
} | } | ||
pre.mw-content-ltr { | pre.mw-content-ltr { | ||
background-color: #f0f0f0; | background-color: #f0f0f0; | ||
+ | font-size: 1em; /* IE doesn't like inherit here */ | ||
} | } |
Revision as of 10:22, 23 February 2015
/* CSS placed here will be applied to GeSHi syntax highlighting */ /* Fix so <source> tags, and .css and .js pages, get normal text size also in some versions of Firefox, Safari, Konqueror, Chrome etc. */ div.mw-geshi div, pre { font-family: monospace, "Courier New" !important; font-size: 1em; /* IE doesn't like inherit here */ } pre.mw-geshi { background-color: #f0f0f0; font-size: 1em; /* IE doesn't like inherit here */ } pre.mw-content-ltr { background-color: #f0f0f0; font-size: 1em; /* IE doesn't like inherit here */ }