Jump to: navigation, search

Difference between revisions of "MediaWiki:Geshi.css"


Line 1: Line 1:
 
/* CSS placed here will be applied to GeSHi syntax highlighting */
 
/* 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 */
+
/* Fix so <source> tags, and .css and .js pages, get normal text size  
tt, source, pre {
+
  also in some versions of Firefox, Safari, Konqueror, Chrome etc. */
    font-size: 1.25em;
+
div.mw-geshi div,
 +
pre {
 +
        font-family: monospace, "Courier New" !important;
 
}
 
}

Revision as of 07:10, 23 April 2013

/* 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;
}