User:Artoria2e5/global.css

From Meta, a Wikimedia project coordination wiki

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/**
 * Global WMF Wiki styles make you a better "pedantic code warrior!"
 */

.citation-comment {
	display: inline !important;
} /* show all Citation Style 1 error messages */

a.external[href^="https://"], .link-https {
	/* Roughly from Dispenser's page */
    background: url("https://upload.wikimedia.org/wikipedia/commons/b/b1/Yellow_padlock.svg")
	    center right no-repeat;
    background-size: 14px;
    padding-right: 16px;
} /* Show padlocks for https (help spot http links from https-enabled sites) */

td.diff-addedline, td.diff-deletedline, td.diff-context {
	font-family: monospace;
	font-size: inherit;
} /* Use monospace font for source diffs */

pre:lang(zh),
code:lang(zh),
tt:lang(zh),
kbd:lang(zh),
samp:lang(zh),
.mw-code:lang(zh),
.mw-editfont-monospace:lang(zh),
td.diff-addedline:lang(zh),
td.diff-deletedline:lang(zh),
td.diff-context:lang(zh),
.wikiEditor-ui .ace_editor:lang(zh){
	font-family: 'Iosevka', 'Sarasa Mono SC', 'Inziu Iosevka SC', monospace !important;
} /* Quick fixes for MS Edge */

.mw-body, .parsoid-body {
	color: black;
}