mediawiki-skins-Citizen/skinStyles/extensions/CodeMirror/ext.CodeMirror.mode.mediawiki.less

186 lines
3 KiB
Plaintext
Raw Normal View History

2021-08-25 19:08:28 +00:00
/*
* Citizen
*
* SkinStyles for Extension:CodeMirror
* Module: ext.CodeMirror.mode.mediawiki
* Version: REL1_35 a326407
*
* Date: 2021-08-25
*/
.cm-mw {
&-matching {
background-color: var( --color-syntax-yellow );
2021-08-25 19:08:28 +00:00
}
&-skipformatting {
background-color: var( --color-syntax-cyan );
2021-08-25 19:08:28 +00:00
}
&-list {
color: var( --color-syntax-cyan );
2021-08-25 19:08:28 +00:00
}
&-doubleUnderscore,
&-signature,
&-hr {
color: var( --color-syntax-purple );
background-color: transparent;
2021-08-25 19:08:28 +00:00
}
&-indenting {
color: var( --color-syntax-cyan );
2021-08-25 19:08:28 +00:00
}
&-mnemonic {
color: var( --color-syntax-green );
2021-08-25 19:08:28 +00:00
}
&-comment {
color: var( --color-syntax-grey );
2021-08-25 19:08:28 +00:00
}
&-apostrophes-bold,
&-apostrophes-italic {
color: var( --color-syntax-cyan );
2021-08-25 19:08:28 +00:00
}
&-section {
&-1,
&-2,
&-3,
&-4,
&-5,
&-6 {
span:not( .cm-mw-section-header ) {
color: var( --color-emphasized );
2021-08-25 19:08:28 +00:00
}
}
}
&-section-header {
color: var( --color-syntax-cyan );
2021-08-25 19:08:28 +00:00
}
&-template,
&-templatevariable,
&-parserfunction {
color: var( --color-emphasized );
2021-08-25 19:08:28 +00:00
&-name {
font-weight: var( --font-weight-normal );
color: var( --color-syntax-blue );
2021-08-25 19:08:28 +00:00
}
&-delimiter {
font-weight: var( --font-weight-normal );
color: var( --color-syntax-cyan );
2021-08-25 19:08:28 +00:00
}
&-bracket {
font-weight: var( --font-weight-normal );
color: var( --color-syntax-purple );
2021-08-25 19:08:28 +00:00
}
}
&-template {
&-name-mnemonic {
font-weight: var( --font-weight-normal );
color: var( --color-syntax-blue );
2021-08-25 19:08:28 +00:00
}
&-argument-name {
font-weight: var( --font-weight-normal );
color: var( --color-syntax-red );
2021-08-25 19:08:28 +00:00
}
}
&-exttag,
&-htmltag {
&-name {
font-weight: var( --font-weight-normal );
color: var( --color-syntax-red );
2021-08-25 19:08:28 +00:00
}
&-bracket {
color: var( --color-syntax-cyan );
2021-08-25 19:08:28 +00:00
}
&-attribute {
color: var( --color-syntax-yellow );
2021-08-25 19:08:28 +00:00
}
}
&-link {
color: var( --color-progressive );
2021-08-25 19:08:28 +00:00
&-pagename {
color: var( --color-progressive );
2021-08-25 19:08:28 +00:00
}
&-tosection {
color: var( --color-progressive--hover );
2021-08-25 19:08:28 +00:00
}
&-text {
color: var( --color-syntax-green );
2021-08-25 19:08:28 +00:00
}
&-bracket {
color: var( --color-progressive );
2021-08-25 19:08:28 +00:00
}
&-delimiter {
color: var( --color-syntax-cyan );
2021-08-25 19:08:28 +00:00
}
&-ground {
background-color: var( --background-color-progressive-subtle );
2021-08-25 19:08:28 +00:00
}
}
&-extlink,
&-free-extlink {
color: var( --color-progressive );
2021-08-25 19:08:28 +00:00
&-protocol {
font-weight: var( --font-weight-normal );
color: var( --color-syntax-orange );
2021-08-25 19:08:28 +00:00
}
&-text {
color: var( --color-syntax-green );
2021-08-25 19:08:28 +00:00
}
&-bracket {
font-weight: var( --font-weight-normal );
color: var( --color-progressive );
2021-08-25 19:08:28 +00:00
}
&-ground {
background-color: var( --background-color-progressive-subtle );
2021-08-25 19:08:28 +00:00
}
}
&-table {
&-bracket {
font-weight: var( --font-weight-normal );
color: var( --color-syntax-pink );
2021-08-25 19:08:28 +00:00
}
&-delimiter {
font-weight: var( --font-weight-normal );
color: var( --color-syntax-cyan );
2021-08-25 19:08:28 +00:00
}
&-definition {
color: var( --color-syntax-yellow );
2021-08-25 19:08:28 +00:00
}
&-caption {
font-weight: var( --font-weight-normal );
color: var( --color-emphasized );
2021-08-25 19:08:28 +00:00
}
}
}