Difference between revisions of "MediaWiki:Geshi.css"
Jump to navigation
Jump to search
Kevin Dunn (talk | contribs) (Created page with "→This css will override styles used by the GeSHi syntax highlighting, such that less awful colors for the highlighting can be chosen.: $css[] = ".source-$lang {line-he...") |
Kevin Dunn (talk | contribs) m |
||
Line 2: | Line 2: | ||
such that less awful colors for the highlighting can be chosen. */ | such that less awful colors for the highlighting can be chosen. */ | ||
$css[] = ".source- | $css[] = ".source-rsplus {line-height: normal; font-size: 12px;}"; | ||
/** | /** |
Revision as of 01:34, 15 January 2013
/* This css will override styles used by the GeSHi syntax highlighting,
such that less awful colors for the highlighting can be chosen. */
$css[] = ".source-rsplus {line-height: normal; font-size: 12px;}";
/**
* Language code: "vb"
*
* 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;
}
/**
* Language code: "cpp"
*
* 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;
}