Line 1: Line 1:
/* CSS placed here will be applied to GeSHi syntax highlighting */
+
/* Overrides to colors used for highlighting  
 +
  See http://en.wikipedia.org/wiki/MediaWiki:Geshi.css
 +
*/
 +
 
/* This css will override styles used by the 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. */
 
   such that less awful colors for the highlighting can be chosen. */
 
   
 
   
/**
+
/**  
  * Language code: "vb"
+
  * Language code: "vb" *  
*  
+
 
  * Overrides colors used for keywords from that horrible gold  
 
  * Overrides colors used for keywords from that horrible gold  
 
  * to more tolerable blue. Other colors left as default at present time.
 
  * to more tolerable blue. Other colors left as default at present time.
 
  */
 
  */
.source-vb .kw1 {
+
.source-vb .kw1 {color: #006 !important }
    color: #006 !important;
+
}
+
 
+
 
/**
 
/**
  * Language code: "c"
+
  * Language code: "cpp" *
*
+
 
  * Color fix for member variables
 
  * Color fix for member variables
 
  */
 
  */
.source-c .me1 { color:#499; }
+
.source-cpp .me1 { color:#499; }
.source-c .me2 { color:#499; }
+
.source-cpp .me2 { color:#499; }
 
+
 
+
 
/* Reinstating borders */
 
/* Reinstating borders */
 
body.skin-monobook div.mw-geshi {
 
body.skin-monobook div.mw-geshi {
    padding: 1em;
+
  padding: 1em; border: 1px dashed #2f6fab;
    border: 1px dashed #2f6fab;
+
  color: black; background-color: #f9f9f9;
    color: black;
+
  line-height: 1.1em;
    background-color: #f9f9f9;
+
    line-height: 1.1em;
+
 
}
 
}
 
 
 
body.skin-modern div.mw-geshi {
 
body.skin-modern div.mw-geshi {
    border: solid 1px #3c78b5;
+
  border: solid 1px #3c78b5;
    padding: 0.4em;
+
  padding: 0.4em;
    background-color: #f0f0f0;
+
  background-color: #f0f0f0;
 
}
 
}
 
 
 
body.skin-simple div.mw-geshi {
 
body.skin-simple div.mw-geshi {
    margin: 2em;
+
  margin: 2em;
    border: solid 1px black;
+
  border: solid 1px black;
 
}
 
}
 
 
 
body.skin-chick div.mw-geshi {
 
body.skin-chick div.mw-geshi {
    padding: 1em;
+
  padding: 1em;
    border: 1px dashed #2f6fab;
+
  border: 1px dashed #2f6fab;
    color: black;
+
  color: black;
    background-color: #f9f9f9;
+
  background-color: #f9f9f9;
    line-height: 1.1em;
+
  line-height: 1.1em;
 
}
 
}
 
 
 
body.skin-vector div.mw-geshi {
 
body.skin-vector div.mw-geshi {
    padding: 1em;
+
  padding: 1em;
    border: 1px dashed #2f6fab;
+
  border: 1px dashed #2f6fab;
    color: black;
+
  color: black;
    background-color: #f9f9f9;
+
  background-color: #f9f9f9;
    line-height: 1.1em;
+
  line-height: 1.1em;
}
+
 
+
 
+
/* 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;
+
}
+
 
+
/* 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 {
+
div.mw-geshi div,pre {
    color: #66cc66;
+
font-family: monospace, "Courier New" !important;
 +
font-size:15px;
 
}
 
}

Revision as of 18:52, 22 October 2013

/* Overrides to colors used for highlighting 
   See http://en.wikipedia.org/wiki/MediaWiki:Geshi.css
 */
 
/* This css will override styles used by the GeSHi syntax highlighting,
   such that less awful colors for the highlighting can be chosen. */
 
/** 
 * 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; }
 
/* Reinstating borders */
body.skin-monobook div.mw-geshi {
  padding: 1em;  border: 1px dashed #2f6fab;
  color: black;  background-color: #f9f9f9;
  line-height: 1.1em;
}
body.skin-modern div.mw-geshi {
  border: solid 1px #3c78b5;
  padding: 0.4em;
  background-color: #f0f0f0;
}
body.skin-simple div.mw-geshi {
  margin: 2em;
  border: solid 1px black;
}
body.skin-chick div.mw-geshi {
  padding: 1em;
  border: 1px dashed #2f6fab;
  color: black;
  background-color: #f9f9f9;
  line-height: 1.1em;
}
body.skin-vector div.mw-geshi {
  padding: 1em;
  border: 1px dashed #2f6fab;
  color: black;
  background-color: #f9f9f9;
  line-height: 1.1em;
}
 
div.mw-geshi div,pre {
 font-family: monospace, "Courier New" !important;
 font-size:15px;
}