Difference between revisions of "MediaWiki:Geshi.css"

From WhyAskWhy.org Wiki
Jump to: navigation, search
m (Adding rule from MediaWiki:Common.css)
m (Testing overrides for SQL from http://www.mediawiki.org/wiki/MediaWiki:Geshi.css)
Line 16: Line 16:
 
.mw-geshi.mw-content-ltr {
 
.mw-geshi.mw-content-ltr {
 
     font-size: 1.2em;
 
     font-size: 1.2em;
 +
}
 +
 +
 +
/* 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 05:28, 3 August 2012

/* CSS placed here will be applied to GeSHi syntax highlighting */

/**
 * Language code: "cpp"
 *
 * Color fix for member variables
 */
.source-cpp .me1 { color:#499; }
.source-cpp .me2 { color:#499; }


/* 
 * Trying to merge this rule with the existing one to prevent the font from being so small
 */
 
.mw-geshi.mw-content-ltr {
    font-size: 1.2em;
}


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