MediaWiki:Editor.css

/* * * Editor.css * CSS for styling source editor syntax highlighting like pre-UCP editor * * Authors: * - User:Zed42 (original code) * - User:Sebolto (adjustments, maintenance) */ .wikiEditor-ui .wikiEditor-ui-text .CodeMirror { font-size: 13px !important; }

.cm-mw-exttag-name, .cm-mw-template-ground { font-weight: normal !important; }

.cm-mw-template-ground, .cm-mw-template2-ground, .cm-mw-template3-ground, .cm-mw-table-bracket, .cm-mw-table-delimiter, .cm-mw-table-definition, .cm-mw-parserfunction, .cm-mw-parserfunction-bracket, .cm-mw-parserfunction-delimiter, .cm-mw-parserfunction-name { background-color: #F0EBDB; background-image: none; color: #3A3A3A !important; }

.cm-mw-template-link-ground, .cm-mw-link-ground { background-color: #D9EAF6 !important; background-image: none; color: #3A3A3A !important; }

.cm-mw-extlink, .cm-mw-extlink-bracket, .cm-mw-free-extlink, .cm-mw-extlink-protocol, .cm-mw-free-extlink-protocol { background-color: #DBECEB !important; color: #3A3A3A !important; }

.cm-mw-exttag > span, .cm-mw-tag-pre > span, .cm-mw-tag-ref, .cm-mw-ext-ref, .cm-mw-htmltag-bracket, .cm-mw-htmltag-name, .cm-mw-htmltag-attribute, .cm-mw-exttag-bracket, .cm-mw-exttag-name, .cm-mw-exttag-attribute { background-color: #F6DDE9 !important; color: #3A3A3A !important; }

.cm-mw-pagename { text-decoration: none; }

.cm-em { background-color: #E4E5F3 !important; font-style: normal; }

.cm-strong { background-color: #E4E5F3 !important; font-weight: normal; }

.cm-mw-apostrophes-bold, .cm-mw-apostrophes-italic, .cm-mw-apostrophes, .cm-mw-section-header, .cm-mw-hr { background-color: #E4E5F3 !important; color: #3A3A3A !important; font-weight: normal; }

.cm-mw-list, .cm-mw-comment, .cm-mw-signature { font-weight: normal; background-color: #F8DBDA !important; color: #3A3A3A !important; }

.cm-mw-section-1, .cm-mw-section-2, .cm-mw-section-3, .cm-mw-section-4, .cm-mw-section-5, .cm-mw-section-6 { font-size: 1em !important; font-weight: bold; line-height: 1em !important; color: #3A3A3A !important; }

.cm-mw-mnemonic { background-color: #E8EBDA; color: #3A3A3A !important; }

.cm-mw-doubleUnderscore { background-color: transparent !important; color: #3A3A3A !important; }