mediawiki-extensions-CodeMi.../resources/mode/mediawiki/mediawiki.css
Pavel Astakhov cd4bdebe8b Add highlighting of double underscore Magic Words as __TOC__
For testing:
__NOTOC__
___NOTOC___
____NOTOC____
_____NOTOC_____
______NO!TOC__NOTOC____
______NO{{TOC}}_____
______NO[[TOC]]_____
______NO'''TOC'''_____
__nOtOc__
FFFFF___NOtoc______
'''____________NOTOC______'''
__TOC___TOC__
__TOC____TOC__
___TOC_____TOC___
__TOC___TOC__
___NOTOC___
____NOTOC____
_____NOTOC_____
______NO!TOC__NOTOC____
______NO{{TOC}}_____
______NO[[TOC]]_____
______NO'''TOC'''_____
__nOtOc__
FFFFF___NOtoc______
{{__TOC__|__TOC__}}

Wrong, but not a big problem:
[[__TOC__|__TOC__]]

Bug: T170041
Change-Id: I0b2cfd02550c2685d241bdf3596507c5972878d5
2017-09-13 10:43:41 +06:00

103 lines
6.5 KiB
CSS

/* stylelint-disable block-opening-brace-newline-before, block-opening-brace-newline-after,
block-closing-brace-space-after, declaration-block-single-line-max-declarations,
declaration-block-semicolon-newline-after, selector-list-comma-newline-after */
.cm-mw-pagename { text-decoration: underline; }
.cm-mw-matching { background-color: #ffd700; }
.cm-mw-skipformatting { background-color: #adf; }
.cm-mw-list { color: #08f; font-weight: bold; }
.cm-mw-doubleUnderscore, .cm-mw-signature, .cm-mw-hr { color: #08f; font-weight: bold; background-color: #eee; }
.cm-mw-indenting { color: #08f; font-weight: bold; }
.cm-mw-mnemonic { color: #290; }
.cm-mw-comment { color: #aaa; font-weight: normal; }
.cm-mw-apostrophes-bold, .cm-mw-apostrophes-italic { color: #08f; }
pre.cm-mw-section-1 { font-size: 1.8em; line-height: 1.2em; }
pre.cm-mw-section-2 { font-size: 1.5em; line-height: 1.2em; }
pre.cm-mw-section-3 { font-weight: bold; }
pre.cm-mw-section-4 { font-weight: bold; }
pre.cm-mw-section-5 { font-weight: bold; }
pre.cm-mw-section-6 { font-weight: bold; }
.cm-mw-section-header { color: #08f; font-weight: normal; }
.cm-mw-template { color: #80c; font-weight: normal; }
.cm-mw-template-name { color: #80c; font-weight: bold; }
.cm-mw-template-name-mnemonic { font-weight: normal; }
.cm-mw-template-argument-name { color: #80c; font-weight: bold; }
.cm-mw-template-delimiter { color: #80c; font-weight: bold; }
.cm-mw-template-bracket { color: #80c; font-weight: bold; }
.cm-mw-templatevariable { color: #f50; font-weight: normal; }
.cm-mw-templatevariable-name { color: #f50; font-weight: bold; }
.cm-mw-templatevariable-bracket { color: #f50; font-weight: normal; }
.cm-mw-templatevariable-delimiter { color: #f50; font-weight: bold; }
.cm-mw-parserfunction { font-weight: normal; }
.cm-mw-parserfunction-name { color: #a11; font-weight: bold; }
.cm-mw-parserfunction-bracket { color: #a11; font-weight: bold; }
.cm-mw-parserfunction-delimiter { color: #a11; font-weight: bold; }
pre.cm-mw-exttag { background-image: url( img/ext2.png ); }
.cm-mw-exttag { background-image: url( img/ext4.png ); }
.cm-mw-exttag-name { color: #290; font-weight: bold; }
.cm-mw-exttag-bracket { color: #290; font-weight: normal; }
.cm-mw-exttag-attribute { color: #290; font-weight: normal; }
.cm-mw-htmltag-name { color: #290; font-weight: bold; }
.cm-mw-htmltag-bracket { color: #290; font-weight: normal; }
.cm-mw-htmltag-attribute { color: #290; font-weight: normal; }
pre.cm-mw-tag-pre, .cm-mw-tag-pre { background-image: url( img/black4.png ); }
pre.cm-mw-tag-nowiki, .cm-mw-tag-nowiki { background-image: url( img/black4.png ); }
.cm-mw-link { color: #36c; font-weight: normal; }
.cm-mw-link-pagename { color: #36c; font-weight: normal; }
.cm-mw-link-tosection { color: #18e; font-weight: normal; }
.cm-mw-link-bracket { color: #36c; font-weight: normal; }
/* .cm-mw-link-text { } */
.cm-mw-link-delimiter { color: #36c; font-weight: normal; }
.cm-mw-extlink, .cm-mw-free-extlink { color: #36c; font-weight: normal; }
.cm-mw-extlink-protocol, .cm-mw-free-extlink-protocol { color: #36c; font-weight: bold; }
/* .cm-mw-extlink-text { } */
.cm-mw-extlink-bracket { color: #36c; font-weight: bold; }
.cm-mw-table-bracket { color: #e0e; font-weight: bold; }
.cm-mw-table-delimiter { color: #e0e; font-weight: bold; }
.cm-mw-table-definition { color: #e0e; font-weight: normal; }
.cm-mw-table-caption { font-weight: bold; }
/* .cm-mw-template-ground {} */
.cm-mw-template2-ground { background-image: url( img/template4.png ); }
.cm-mw-template3-ground { background-image: url( img/template8.png ); }
.cm-mw-template-ext-ground { background-image: url( img/ext4.png ); }
.cm-mw-template-ext2-ground { background-image: url( img/ext4.png ), url( img/ext4.png ); }
.cm-mw-template-ext3-ground { background-image: url( img/ext4.png ), url( img/ext4.png ), url( img/ext4.png ); }
.cm-mw-template-link-ground { background-image: url( img/link4.png ); }
.cm-mw-template-ext-link-ground { background-image: url( img/ext4.png ), url( img/link4.png ); }
.cm-mw-template-ext2-link-ground { background-image: url( img/ext4.png ), url( img/ext4.png ), url( img/link4.png ); }
.cm-mw-template-ext3-link-ground { background-image: url( img/ext4.png ), url( img/ext4.png ), url( img/ext4.png ), url( img/link4.png ); }
.cm-mw-template2-ext-ground { background-image: url( img/template4.png ), url( img/ext4.png ); }
.cm-mw-template2-ext2-ground { background-image: url( img/template4.png ), url( img/ext4.png ), url( img/ext4.png ); }
.cm-mw-template2-ext3-ground { background-image: url( img/template4.png ), url( img/ext4.png ), url( img/ext4.png ), url( img/ext4.png ); }
.cm-mw-template2-link-ground { background-image: url( img/template4.png ), url( img/link4.png ); }
.cm-mw-template2-ext-link-ground { background-image: url( img/template4.png ), url( img/ext4.png ), url( img/link4.png ); }
.cm-mw-template2-ext2-link-ground { background-image: url( img/template4.png ), url( img/ext4.png ), url( img/ext4.png ), url( img/link4.png ); }
.cm-mw-template2-ext3-link-ground { background-image: url( img/template4.png ), url( img/ext4.png ), url( img/ext4.png ), url( img/ext4.png ), url( img/link4.png ); }
.cm-mw-template3-ext-ground { background-image: url( img/template8.png ), url( img/ext4.png ); }
.cm-mw-template3-ext2-ground { background-image: url( img/template8.png ), url( img/ext4.png ), url( img/ext4.png ); }
.cm-mw-template3-ext3-ground { background-image: url( img/template8.png ), url( img/ext4.png ), url( img/ext4.png ), url( img/ext4.png ); }
.cm-mw-template3-link-ground { background-image: url( img/template8.png ), url( img/link4.png ); }
.cm-mw-template3-ext-link-ground { background-image: url( img/template8.png ), url( img/ext4.png ), url( img/link4.png ); }
.cm-mw-template3-ext2-link-ground { background-image: url( img/template8.png ), url( img/ext4.png ), url( img/ext4.png ), url( img/link4.png ); }
.cm-mw-template3-ext3-link-ground { background-image: url( img/template8.png ), url( img/ext4.png ), url( img/ext4.png ), url( img/ext4.png ), url( img/link4.png ); }
.cm-mw-ext-ground { background-image: url( img/ext4.png ); }
.cm-mw-ext2-ground { background-image: url( img/ext4.png ), url( img/ext4.png ); }
.cm-mw-ext3-ground { background-image: url( img/ext4.png ), url( img/ext4.png ), url( img/ext4.png ); }
.cm-mw-ext-link-ground { background-image: url( img/link4.png ); }
.cm-mw-ext2-link-ground { background-image: url( img/ext4.png ), url( img/link4.png ); }
.cm-mw-ext3-link-ground { background-image: url( img/ext4.png ), url( img/ext4.png ), url( img/link4.png ); }
.cm-mw-link-ground { background-image: url( img/link4.png ); }