User:SVG/global.css
Appearance
< User:SVG
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* This css will override styles used by the GeSHi syntax highlighting,
such that less awful colors for the highlighting can be chosen.
Copied from www.mediawiki.org/w/index.php?title=MediaWiki:Geshi.css&action=raw&ctype=text/css */
/**
* 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;
}
/**
* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
* [[bugzilla:26204]]
*/
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript {
font-family: monospace, "Courier New" !important;
}
/* Remove arrow from external links to *.wikimedia.org, *.wikipedia.org, *.wiktionary.org, *.wikibooks.org, *.wikisource.org, *.wikinews.org, *.wikiversity.org, *.wikiquote.org, *.wmflabs.org, *.mediawiki.org, *.wikimediafoundation.org and *.toolserver.org domains */
#content a[href *=".wikimedia.org"],
#content a[href *=".wikipedia.org"],
#content a[href *=".wiktionary.org"],
#content a[href *=".wikibooks.org"],
#content a[href *="wikisource.org"], /* no dot */
#content a[href *=".wikinews.org"],
#content a[href *=".wikiversity.org"],
#content a[href *=".wikiquote.org"],
#content a[href *=".wmflabs.org"],
#content a[href *=".mediawiki.org"],
#content a[href *=".wikimediafoundation.org"],
#content a[href *=".toolserver.org"] {
background: inherit !important;
padding-right: 0 !important;
}
/* Marks redirections by coloring them */
.mw-redirect {
color: green !important;
}