2017-03-21 10:13:18 +00:00
|
|
|
/* 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 */
|
|
|
|
|
2022-06-14 11:20:34 +00:00
|
|
|
@template-background-color: #a11;
|
|
|
|
@ext-background-color: #70a;
|
|
|
|
@link-background-color: #219;
|
|
|
|
|
|
|
|
.ground( @template: 0, @ext: 0, @link: 0 ) {
|
|
|
|
@template-shade: fade( @template-background-color, 4% * @template );
|
|
|
|
@ext-shade: fade( @ext-background-color, 4% * @ext );
|
|
|
|
@link-shade: fade( @link-background-color, 4% * @link );
|
|
|
|
background-color: average( average( @template-shade, @ext-shade ), @link-shade );
|
|
|
|
}
|
|
|
|
|
2014-10-23 06:09:10 +00:00
|
|
|
.cm-mw-pagename { text-decoration: underline; }
|
|
|
|
|
2017-03-21 10:13:18 +00:00
|
|
|
.cm-mw-matching { background-color: #ffd700; }
|
|
|
|
|
|
|
|
.cm-mw-skipformatting { background-color: #adf; }
|
2022-06-14 07:48:27 +00:00
|
|
|
.cm-mw-list,
|
2022-06-10 14:09:12 +00:00
|
|
|
.cm-mw-indenting { color: #0076dd; font-weight: bold; }
|
2022-06-14 07:48:27 +00:00
|
|
|
.cm-mw-doubleUnderscore, .cm-mw-signature, .cm-mw-hr { color: #0076dd; font-weight: bold; background-color: #eee; }
|
2022-06-10 14:09:12 +00:00
|
|
|
.cm-mw-mnemonic { color: #14866d; }
|
|
|
|
.cm-mw-comment { color: #72777d; font-weight: normal; }
|
|
|
|
.cm-mw-apostrophes-bold, .cm-mw-apostrophes-italic { color: #0076dd; }
|
2017-03-21 10:13:18 +00:00
|
|
|
|
2020-12-01 13:25:53 +00:00
|
|
|
pre.CodeMirror-line.cm-mw-section-1,
|
|
|
|
pre.CodeMirror-line-like.cm-mw-section-1 {
|
|
|
|
font-size: 1.8em;
|
|
|
|
line-height: 1.2em;
|
|
|
|
}
|
|
|
|
pre.CodeMirror-line.cm-mw-section-2,
|
|
|
|
pre.CodeMirror-line-like.cm-mw-section-2 {
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1.2em;
|
|
|
|
}
|
|
|
|
pre.CodeMirror-line.cm-mw-section-3,
|
2022-06-14 07:48:27 +00:00
|
|
|
pre.CodeMirror-line-like.cm-mw-section-3,
|
2020-12-01 13:25:53 +00:00
|
|
|
pre.CodeMirror-line.cm-mw-section-4,
|
2022-06-14 07:48:27 +00:00
|
|
|
pre.CodeMirror-line-like.cm-mw-section-4,
|
2020-12-01 13:25:53 +00:00
|
|
|
pre.CodeMirror-line.cm-mw-section-5,
|
2022-06-14 07:48:27 +00:00
|
|
|
pre.CodeMirror-line-like.cm-mw-section-5,
|
2020-12-01 13:25:53 +00:00
|
|
|
pre.CodeMirror-line.cm-mw-section-6,
|
|
|
|
pre.CodeMirror-line-like.cm-mw-section-6 {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2017-03-21 10:13:18 +00:00
|
|
|
|
2017-06-29 22:27:06 +00:00
|
|
|
.cm-mw-template { color: #80c; font-weight: normal; }
|
2017-03-21 10:13:18 +00:00
|
|
|
.cm-mw-template-name-mnemonic { font-weight: normal; }
|
2022-06-14 07:48:27 +00:00
|
|
|
.cm-mw-template-name,
|
|
|
|
.cm-mw-template-argument-name,
|
|
|
|
.cm-mw-template-delimiter,
|
2017-06-29 22:27:06 +00:00
|
|
|
.cm-mw-template-bracket { color: #80c; font-weight: bold; }
|
2017-03-21 10:13:18 +00:00
|
|
|
|
2022-06-14 07:48:27 +00:00
|
|
|
.cm-mw-templatevariable,
|
2022-06-10 14:09:12 +00:00
|
|
|
.cm-mw-templatevariable-bracket { color: #ac6600; font-weight: normal; }
|
2022-06-14 07:48:27 +00:00
|
|
|
.cm-mw-templatevariable-name,
|
2022-06-10 14:09:12 +00:00
|
|
|
.cm-mw-templatevariable-delimiter { color: #ac6600; font-weight: bold; }
|
2017-03-21 10:13:18 +00:00
|
|
|
|
|
|
|
.cm-mw-parserfunction { font-weight: normal; }
|
2022-06-14 07:48:27 +00:00
|
|
|
.cm-mw-parserfunction-name,
|
|
|
|
.cm-mw-parserfunction-bracket,
|
2022-06-10 14:09:12 +00:00
|
|
|
.cm-mw-parserfunction-delimiter { color: #d33; font-weight: bold; }
|
2017-03-21 10:13:18 +00:00
|
|
|
|
2020-12-01 13:25:53 +00:00
|
|
|
pre.CodeMirror-line.cm-mw-exttag,
|
|
|
|
pre.CodeMirror-line-like.cm-mw-exttag {
|
2022-06-14 11:20:34 +00:00
|
|
|
.ground( @ext: 0.5 );
|
2020-12-01 13:25:53 +00:00
|
|
|
}
|
2022-06-14 11:20:34 +00:00
|
|
|
.cm-mw-exttag { .ground( @ext: 1 ); }
|
2022-06-14 07:48:27 +00:00
|
|
|
.cm-mw-exttag-name,
|
2022-06-10 14:09:12 +00:00
|
|
|
.cm-mw-htmltag-name { color: #14866d; font-weight: bold; }
|
2022-06-14 07:48:27 +00:00
|
|
|
.cm-mw-exttag-bracket,
|
|
|
|
.cm-mw-exttag-attribute,
|
|
|
|
.cm-mw-htmltag-bracket,
|
2022-06-10 14:09:12 +00:00
|
|
|
.cm-mw-htmltag-attribute { color: #14866d; font-weight: normal; }
|
2017-03-21 10:13:18 +00:00
|
|
|
|
2020-12-01 13:25:53 +00:00
|
|
|
pre.CodeMirror-line.cm-mw-tag-pre,
|
|
|
|
pre.CodeMirror-line-like.cm-mw-tag-pre,
|
2022-06-14 07:48:27 +00:00
|
|
|
.cm-mw-tag-pre,
|
2020-12-01 13:25:53 +00:00
|
|
|
pre.CodeMirror-line.cm-mw-tag-nowiki,
|
|
|
|
pre.CodeMirror-line-like.cm-mw-tag-nowiki,
|
|
|
|
.cm-mw-tag-nowiki {
|
|
|
|
background-color: rgba( 0, 0, 0, 0.04 );
|
|
|
|
}
|
2017-03-21 10:13:18 +00:00
|
|
|
|
2022-06-14 07:48:27 +00:00
|
|
|
.cm-mw-link,
|
|
|
|
.cm-mw-link-tosection,
|
|
|
|
.cm-mw-section-header { color: #0076dd; font-weight: normal; }
|
|
|
|
.cm-mw-link-pagename,
|
|
|
|
.cm-mw-link-bracket,
|
|
|
|
.cm-mw-link-delimiter,
|
|
|
|
.cm-mw-extlink,
|
|
|
|
.cm-mw-free-extlink { color: #000aaa; font-weight: normal; }
|
|
|
|
.cm-mw-extlink-protocol,
|
|
|
|
.cm-mw-free-extlink-protocol,
|
2022-06-10 14:09:12 +00:00
|
|
|
.cm-mw-extlink-bracket { color: #000aaa; font-weight: bold; }
|
2017-03-21 10:13:18 +00:00
|
|
|
|
2022-06-14 07:48:27 +00:00
|
|
|
.cm-mw-table-bracket,
|
2022-06-10 14:09:12 +00:00
|
|
|
.cm-mw-table-delimiter { color: #d08; font-weight: bold; }
|
|
|
|
.cm-mw-table-definition { color: #d08; font-weight: normal; }
|
2017-03-21 10:13:18 +00:00
|
|
|
.cm-mw-table-caption { font-weight: bold; }
|
|
|
|
|
2022-06-14 11:20:34 +00:00
|
|
|
.cm-mw-template2-ground { .ground( @template: 1 ); }
|
|
|
|
.cm-mw-template3-ground { .ground( @template: 2 ); }
|
|
|
|
.cm-mw-template-ext-ground { .ground( @ext: 1 ); }
|
|
|
|
.cm-mw-template-ext2-ground { .ground( @ext: 2 ); }
|
|
|
|
.cm-mw-template-ext3-ground { .ground( @ext: 3 ); }
|
|
|
|
.cm-mw-template-link-ground { .ground( @link: 1 ); }
|
|
|
|
.cm-mw-template-ext-link-ground { .ground( @ext: 1, @link: 1 ); }
|
|
|
|
.cm-mw-template-ext2-link-ground { .ground( @ext: 2, @link: 1 ); }
|
|
|
|
.cm-mw-template-ext3-link-ground { .ground( @ext: 3, @link: 1 ); }
|
|
|
|
|
|
|
|
.cm-mw-template2-ext-ground { .ground( @template: 1, @ext: 1 ); }
|
|
|
|
.cm-mw-template2-ext2-ground { .ground( @template: 1, @ext: 2 ); }
|
|
|
|
.cm-mw-template2-ext3-ground { .ground( @template: 1, @ext: 3 ); }
|
|
|
|
.cm-mw-template2-link-ground { .ground( @template: 1, @link: 1 ); }
|
|
|
|
.cm-mw-template2-ext-link-ground { .ground( @template: 1, @ext: 1, @link: 1 ); }
|
|
|
|
.cm-mw-template2-ext2-link-ground { .ground( @template: 1, @ext: 2, @link: 1 ); }
|
|
|
|
.cm-mw-template2-ext3-link-ground { .ground( @template: 1, @ext: 3, @link: 1 ); }
|
|
|
|
|
|
|
|
.cm-mw-template3-ext-ground { .ground( @template: 2, @ext: 1 ); }
|
|
|
|
.cm-mw-template3-ext2-ground { .ground( @template: 2, @ext: 2 ); }
|
|
|
|
.cm-mw-template3-ext3-ground { .ground( @template: 2, @ext: 3 ); }
|
|
|
|
.cm-mw-template3-link-ground { .ground( @template: 2, @link: 1 ); }
|
|
|
|
.cm-mw-template3-ext-link-ground { .ground( @template: 2, @ext: 1, @link: 1 ); }
|
|
|
|
.cm-mw-template3-ext2-link-ground { .ground( @template: 2, @ext: 2, @link: 1 ); }
|
|
|
|
.cm-mw-template3-ext3-link-ground { .ground( @template: 2, @ext: 3, @link: 1 ); }
|
|
|
|
|
|
|
|
.cm-mw-ext-ground { .ground( @ext: 1 ); }
|
|
|
|
.cm-mw-ext2-ground { .ground( @ext: 2 ); }
|
|
|
|
.cm-mw-ext3-ground { .ground( @ext: 3 ); }
|
|
|
|
.cm-mw-ext-link-ground { .ground( @link: 1 ); }
|
|
|
|
.cm-mw-ext2-link-ground { .ground( @ext: 1, @link: 1 ); }
|
|
|
|
.cm-mw-ext3-link-ground { .ground( @ext: 2, @link: 1 ); }
|
|
|
|
.cm-mw-link-ground { .ground( @link: 1 ); }
|
2021-03-04 13:55:25 +00:00
|
|
|
|
|
|
|
.cm-mw-matchingbracket {
|
|
|
|
background-color: #eee;
|
|
|
|
box-shadow: inset 0 0 1px 1px #999;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|