User:Wbm1058/common.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Always show Template:Orphan */
.ambox-Orphan{display: table !important;}

.harv-error {display: inline !important;} /* display Module:Footnotes errors */

/* .shortdescription {display:block !important;}
   this is redundant when
     Preferences → Gadgets → Testing and development → Show page description beneath the page title
   is enabled */

.mw-parser-output span.cs1-maint {display: inline;} /* display Citation Style 1 maintenance messages */
.mw-parser-output span.cs1-hidden-error {display: inline;} /* display hidden Citation Style 1 error messages */

/*
============================================================================================================================================
Wikitext editor syntax highlighting: use wikEd's color and style

wikEd's color and style is defined in the built-in edit frame wikEd.InitFrameCSS at https://en.wikipedia.org/wiki/User:Cacycle/wikEd.js
Wikitext editor syntax highlighting uses Extension:CodeMirror (https://www.mediawiki.org/wiki/Extension:CodeMirror)
The default CodeMirror styling is at https://phabricator.wikimedia.org/diffusion/ECMI/browse/master/resources/mode/mediawiki/mediawiki.css
For further information, see https://meta.wikimedia.org/wiki/Community_Tech/Wikitext_editor_syntax_highlighting

There is not a complete one-to-one correspondence between CodeMirror's (Wikitext editor) and wikEd's wikitext element definitions, so a
complete conversion of CodeMirror color and style defaults to match wikEd's defaults is not possible without changes to the Wikitext editor
and/or wikEd code.

End-of-line comments show the equivalent wikEd class and the default CodeMirror style which is overridden
============================================================================================================================================
*/
.cm-mw-skipformatting {color: #000; background: #e8e8e8;} /* .wikEdSpace // background-color: #adf; */
.cm-mw-list {color: #000; background: #e8e8e8;} /* .wikEdList // color: #08f; font-weight: bold; */
.cm-mw-signature {color: #f00; font-weight: bold;} /* .wikEdSignature // color: #08f; font-weight: bold; background-color: #eee; */
.cm-mw-hr {background: #666; color: #ffffff;} /* .wikEdHr // color: #08f; font-weight: bold; background-color: #eee; */
.cm-mw-indenting {color: #000; background: #e8e8e8;} /* same as .wikEdSpace and .wikEdList // color: #08f; font-weight: bold; */
.cm-mw-mnemonic {color: #000; background: #e8e8e8;} /* same as .wikEdSpace and .wikEdList // color: #290; */
.cm-mw-comment {background: #fff0d0; color: black; font-weight: normal; font-style: normal; text-decoration: none;} /* .wikEdComment // color: #84a0a0; font-weight: normal; */
.cm-mw-apostrophes-bold {font-weight: bold;} /* .wikEdBold // color: #08f; */
.cm-mw-apostrophes-italic {font-style: italic;} /* .wikEdItalic // color: #08f; */

/* Headings */  /* .wikEdFrameBodySyntax .wikEdHeading */
pre.cm-mw-section-1 {color: #000; font-weight: bold; font-size: initial; line-height: initial;} /* font-size: 1.8em; line-height: 1.2em; */
pre.cm-mw-section-2 {color: #000; font-weight: bold; font-size: initial; line-height: initial;} /* font-size: 1.5em; line-height: 1.2em; */
pre.cm-mw-section-3 {color: #000; font-weight: bold;}
pre.cm-mw-section-4 {color: #000; font-weight: bold;}
pre.cm-mw-section-5 {color: #000; font-weight: bold;}
pre.cm-mw-section-6 {color: #000; font-weight: bold;}
.cm-mw-section-header {color: #000; font-weight: bold;} /* color: #08f; font-weight: normal; */

/* Templates */
.cm-mw-template {color: #777; background: #e8e8e8;} /* .wikEdTemplTag // color: #80c; font-weight: normal; */
.cm-mw-template-name {background: #e8e8e8; color: #509;} /* .wikEdTempl // color: #80c; font-weight: bold; */
.cm-mw-template-argument-name {color: #666; background:#e8e8e8} /* .wikEdTemplParam // color: #80c; font-weight: bold; */
.cm-mw-template-delimiter {color:#777; background:#e8e8e8} /* color: #80c; font-weight: bold; */
.cm-mw-template-bracket {color:#777; background:#e8e8e8} /* color: #80c; font-weight: bold; */
.cm-mw-template-link-ground {background:#e8e8e8}

/* Variables */ /* .wikEdParam */
.cm-mw-templatevariable {color: #000; background: #e8e8e8;} /* .wikEdParamDefault // color: #f50; font-weight: normal; */
.cm-mw-templatevariable-name {color: #900; background: #e8e8e8;} /* .wikEdParamName // color: #f50; font-weight: bold; */
.cm-mw-templatevariable-bracket {color:#777; background: #e8e8e8;}
.cm-mw-templatevariable-delimiter {color:#777; background: #e8e8e8;}

/* Parser functions */
.cm-mw-parserfunction {background: #e8e8e8;}
.cm-mw-parserfunction-name {color: #f00; background: #e8e8e8;} /* .wikEdParserFunct // color: #a11; font-weight: bold; */
.cm-mw-parserfunction-bracket {color:#777; background: #e8e8e8;}
.cm-mw-parserfunction-delimiter {color: #f00; background: #e8e8e8;}

/* Extension tags */
pre.cm-mw-exttag {background: #e8e8e8; color: #666;} /* .wikEdRef */
.cm-mw-exttag {background: #e8e8e8; color: #444;}
.cm-mw-exttag-name {background: #e8e8e8; color: #666;} /* color: #290; font-weight: bold; */
.cm-mw-exttag-bracket {background: #e8e8e8; color: #666;}
.cm-mw-exttag-attribute {color: #000; background: #e8e8e8} /* .wikEdRefName */

/* HTML tags */ /* .wikEdHtml */
.cm-mw-htmltag-name {background: #e8e8e8;} /*color: #290; font-weight: bold; */
.cm-mw-htmltag-bracket {background: #e8e8e8;} /* color: #290; font-weight: normal; */
.cm-mw-htmltag-attribute {background: #e8e8e8;} /* color: #290; font-weight: normal; */

/* Pre-formatted text */
pre.cm-mw-tag-pre {background-color: #f8e8e8}
.cm-mw-tag-pre {background-color: #f8e8e8}
pre.cm-mw-tag-nowiki {background-color: #f8e8e8}
.cm-mw-tag-nowiki {background-color: #f8e8e8}

/* Internal links */
.cm-mw-link-pagename {color: #36c; font-weight: bold;}
.cm-mw-link-bracket {color: #777}
.cm-mw-link-text {color: #00a;} /* .wikEdLinkText // font-weight: normal; */
.cm-mw-link-delimiter {color: #000}
.cm-mw-pagename {color: #36c; font-weight: bold; text-decoration: none;}
.cm-mw-link-ground {background: #ffffff;}

/* External links */ /* .wikEdURL */
.cm-mw-extlink {color: #00e}
.cm-mw-free-extlink {color: #00e; font-weight: bold;}
.cm-mw-extlink-protocol {color: #00e}
.cm-mw-free-extlink-protocol {color: #00e; font-weight: bold;}
.cm-mw-extlink-text {color: #00e; font-weight: bold;}
.cm-mw-extlink-bracket {color:#777;}

/* Tables */
.cm-mw-table-bracket {color: #888; background: #ccc;} /* .wikEdTableCode // color: #e0e; font-weight: bold; */
.cm-mw-table-delimiter {color: #888; background: #ccc;}
.cm-mw-table-definition {color: #888; background: #ccc;}
.cm-mw-table-caption {color: #000; background: #fff;} /* .wikEdTableCaption */