Jump to: navigation, search

Difference between revisions of "MediaWiki:Geshi.css"


Line 6: Line 6:
 
pre {
 
pre {
 
         font-family: monospace, "Courier New" !important;
 
         font-family: monospace, "Courier New" !important;
background-color: #ff00ff;
+
}
 +
 
 +
pre.mw-geshi {
 +
  background-color: #ff00ff;
 
}
 
}

Revision as of 10:15, 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;
}
 
pre.mw-geshi {
   background-color: #ff00ff;
}