Difference between revisions of "MediaWiki:Geshi.css"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 1: Line 1:
/* This css will override styles used by the GeSHi syntax highlighting,
+
/* Fix so <source> tags get normal text size also in some
   such that less awful colors for the highlighting can be chosen. */
+
  versions of Firefox, Safari, Konqueror, Chrome etc.
 
+
   See http://en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Section_break._Teletype_style_fix */
 
+
   
/**
+
div.mw-geshi div {
* Language code: "vb"
+
    font-family: monospace, sans-serif !important;
*
 
* Overrides colors used for keywords from that horrible gold
 
* to more tolerable blue. Other colors left as default at present time.
 
  */
 
.source-vb .kw1 {
 
color: #006 !important;
 
 
}
 
}
 
+
   
/**
+
#content div.mw-geshi pre {
* Language code: "cpp"
+
    font-family: monospace, sans-serif;
*
 
  * Color fix for member variables
 
*/
 
.source-cpp .me1 { color:#499; }
 
.source-cpp .me2 { color:#499; }
 
 
 
/* Geshi's colourscheme for MySQL is absolutely hideous. */
 
.mysql.source-mysql .kw1,
 
.mysql.source-mysql .kw2,
 
.mysql.source-mysql .kw3,
 
.mysql.source-mysql .kw6,
 
.mysql.source-mysql .kw10 {
 
color: #993333;
 
}
 
 
 
.mysql.source-mysql .coMULTI,
 
.mysql.source-mysql .sy1 {
 
color: #808080;
 
}
 
 
 
.mysql.source-mysql .br0 {
 
color: #66cc66;
 
 
}
 
}

Revision as of 22:46, 17 February 2013

/* Fix so <source> tags get normal text size also in some
   versions of Firefox, Safari, Konqueror, Chrome etc.
   See http://en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Section_break._Teletype_style_fix */
 
div.mw-geshi div {
    font-family: monospace, sans-serif !important;
}
 
#content div.mw-geshi pre {
    font-family: monospace, sans-serif;
}