Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "MediaWiki:Geshi.css"

(Created page with "CSS placed here will be applied to GeSHi syntax highlighting: /* This css will override styles used by the GeSHi syntax highlighting, such that less awful colors for ...")
 
Line 8: Line 8:
 
   border: 1px dashed #2f6fab;
 
   border: 1px dashed #2f6fab;
 
   background-color: #f9f9f9;
 
   background-color: #f9f9f9;
 +
  color: #333;
 
}
 
}
 
   
 
   

Revision as of 08:06, 29 January 2014

/* CSS placed here will be applied to GeSHi syntax highlighting */
 
/* This css will override styles used by the GeSHi syntax highlighting,
   such that less awful colors for the highlighting can be chosen. */
 div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
  color: #333;
}
 
/**
 * 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;
}