Difference between revisions of "MediaWiki:Geshi.css"
(7 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
pre { | pre { | ||
font-family: monospace, "Courier New" !important; | font-family: monospace, "Courier New" !important; | ||
+ | font-size: 1em; /* IE doesn't like inherit here */ | ||
} | } | ||
pre.mw-geshi { | pre.mw-geshi { | ||
− | background-color: # | + | background-color: #f0f0f0; |
+ | font-size: 1.2em; /* IE doesn't like inherit here */ | ||
+ | } | ||
+ | pre.mw-content-ltr { | ||
+ | background-color: #f0f0f0; | ||
+ | font-size: 1.2em; /* IE doesn't like inherit here */ | ||
} | } |
Latest revision as of 10:29, 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: 1.2em; /* IE doesn't like inherit here */ } pre.mw-content-ltr { background-color: #f0f0f0; font-size: 1.2em; /* IE doesn't like inherit here */ }