2021-08-26 19:56:07 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:SyntaxHighlight
|
|
|
|
* Module: ext.pygments
|
|
|
|
* Version: REL1_35 05598b3
|
|
|
|
*
|
2023-05-23 16:27:54 +00:00
|
|
|
* Date: 2023-05-22
|
|
|
|
*/
|
2021-08-26 19:56:07 +00:00
|
|
|
|
|
|
|
/* pygments.generated.css */
|
|
|
|
.mw-highlight {
|
|
|
|
background: var( --color-surface-2 );
|
|
|
|
|
|
|
|
.c {
|
|
|
|
color: var( --color-syntax-grey );
|
|
|
|
}
|
|
|
|
|
|
|
|
.err {
|
|
|
|
border-color: var( --background-color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
.k {
|
2021-08-26 20:55:33 +00:00
|
|
|
color: var( --color-syntax-purple );
|
2023-05-23 17:11:56 +00:00
|
|
|
font-weight: normal; // reset bold styles
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.o {
|
|
|
|
color: var( --color-syntax-cyan );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ch {
|
|
|
|
color: var( --color-syntax-grey );
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm {
|
|
|
|
color: var( --color-syntax-grey );
|
|
|
|
}
|
|
|
|
|
|
|
|
.cp {
|
|
|
|
color: var( --color-syntax-brown );
|
|
|
|
}
|
|
|
|
|
|
|
|
.cpf {
|
|
|
|
color: var( --color-syntax-grey );
|
|
|
|
}
|
|
|
|
|
|
|
|
.c1 {
|
|
|
|
color: var( --color-syntax-grey );
|
|
|
|
}
|
|
|
|
|
|
|
|
.cs {
|
|
|
|
color: var( --color-syntax-grey );
|
|
|
|
}
|
|
|
|
|
|
|
|
.gd {
|
|
|
|
color: var( --color-syntax-red );
|
|
|
|
}
|
|
|
|
|
|
|
|
.gr {
|
|
|
|
color: var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh {
|
|
|
|
color: var( --color-syntax-paleblue );
|
|
|
|
}
|
|
|
|
|
|
|
|
.gi {
|
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.go {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
.gp {
|
|
|
|
color: var( --color-syntax-paleblue );
|
|
|
|
}
|
|
|
|
|
|
|
|
.gu {
|
|
|
|
color: var( --color-syntax-violet );
|
|
|
|
}
|
|
|
|
|
|
|
|
.gt {
|
|
|
|
color: var( --color-syntax-blue );
|
|
|
|
}
|
|
|
|
|
|
|
|
.kc {
|
2021-08-26 20:55:33 +00:00
|
|
|
color: var( --color-syntax-orange );
|
2023-05-23 17:11:56 +00:00
|
|
|
font-weight: normal; // reset bold styles
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.kd {
|
2021-08-26 20:55:33 +00:00
|
|
|
color: var( --color-syntax-purple );
|
2023-05-23 17:11:56 +00:00
|
|
|
font-weight: normal; // reset bold styles
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.kn {
|
2021-08-26 20:55:33 +00:00
|
|
|
color: var( --color-syntax-purple );
|
2023-05-23 17:11:56 +00:00
|
|
|
font-weight: normal; // reset bold styles
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.kp {
|
2021-08-26 20:55:33 +00:00
|
|
|
color: var( --color-syntax-purple );
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.kr {
|
2021-08-26 20:55:33 +00:00
|
|
|
color: var( --color-syntax-purple );
|
2023-05-23 17:11:56 +00:00
|
|
|
font-weight: normal; // reset bold styles
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.kt {
|
|
|
|
color: var( --color-syntax-yellow );
|
|
|
|
}
|
|
|
|
|
|
|
|
.m {
|
|
|
|
color: var( --color-syntax-orange );
|
|
|
|
}
|
|
|
|
|
|
|
|
.s {
|
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.na {
|
|
|
|
color: var( --color-syntax-purple );
|
|
|
|
}
|
|
|
|
|
|
|
|
.nb {
|
2021-08-26 21:04:40 +00:00
|
|
|
color: var( --color-syntax-blue );
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nc {
|
|
|
|
color: var( --color-syntax-yellow );
|
2023-05-23 17:11:56 +00:00
|
|
|
font-weight: normal; // reset bold styles
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.no {
|
|
|
|
color: var( --color-syntax-blue );
|
|
|
|
}
|
|
|
|
|
|
|
|
.nd {
|
2021-08-26 20:55:33 +00:00
|
|
|
color: var( --color-syntax-purple );
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ni {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ne {
|
|
|
|
color: var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
.nf {
|
|
|
|
color: var( --color-syntax-blue );
|
|
|
|
}
|
|
|
|
|
|
|
|
.nl {
|
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.nn {
|
2021-08-26 20:55:33 +00:00
|
|
|
color: var( --color-syntax-red );
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nt {
|
|
|
|
color: var( --color-syntax-yellow );
|
|
|
|
}
|
|
|
|
|
|
|
|
.nv {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ow {
|
|
|
|
color: var( --color-syntax-cyan );
|
|
|
|
}
|
|
|
|
|
|
|
|
.w {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
.mb {
|
|
|
|
color: var( --color-syntax-orange );
|
|
|
|
}
|
|
|
|
|
|
|
|
.mf {
|
|
|
|
color: var( --color-syntax-orange );
|
|
|
|
}
|
|
|
|
|
|
|
|
.mh {
|
|
|
|
color: var( --color-syntax-orange );
|
|
|
|
}
|
|
|
|
|
|
|
|
.mi {
|
|
|
|
color: var( --color-syntax-orange );
|
|
|
|
}
|
|
|
|
|
|
|
|
.mo {
|
|
|
|
color: var( --color-syntax-orange );
|
|
|
|
}
|
|
|
|
|
|
|
|
.sa {
|
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb {
|
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.sc {
|
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.dl {
|
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.sd {
|
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.s2 {
|
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.se {
|
|
|
|
color: var( --color-base );
|
2023-05-23 17:11:56 +00:00
|
|
|
font-weight: normal; // reset bold styles
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sh {
|
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.si {
|
|
|
|
color: var( --color-base--emphasized );
|
2023-05-23 17:11:56 +00:00
|
|
|
font-weight: normal; // reset bold styles
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sx {
|
|
|
|
color: var( --color-syntax-orange );
|
|
|
|
}
|
|
|
|
|
|
|
|
.sr {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
.s1 {
|
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss {
|
|
|
|
color: var( --color-syntax-cyan );
|
|
|
|
}
|
|
|
|
|
|
|
|
.bp {
|
|
|
|
color: var( --color-syntax-orange );
|
|
|
|
}
|
|
|
|
|
|
|
|
.fm {
|
|
|
|
color: var( --color-syntax-blue );
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
.vg {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
.vi {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
.vm {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
.il {
|
|
|
|
color: var( --color-syntax-orange );
|
|
|
|
}
|
2021-08-26 20:07:29 +00:00
|
|
|
|
2021-08-26 20:55:33 +00:00
|
|
|
.p {
|
|
|
|
color: var( --color-syntax-cyan );
|
|
|
|
}
|
|
|
|
|
2021-08-26 21:26:03 +00:00
|
|
|
.n {
|
|
|
|
color: var( --color-base--emphasized );
|
2021-08-26 20:55:33 +00:00
|
|
|
}
|
|
|
|
|
2021-08-26 21:26:03 +00:00
|
|
|
.nx {
|
2021-08-26 21:04:40 +00:00
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
2021-08-26 20:07:29 +00:00
|
|
|
/* pygments.wrapper.less */
|
|
|
|
// MW REL1_36+
|
|
|
|
&-lines pre,
|
|
|
|
.content &-lines pre {
|
|
|
|
.mw-content-ltr&,
|
|
|
|
.mw-content-rtl& {
|
|
|
|
box-shadow: none; // Remove background
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.linenos {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover .linenos,
|
|
|
|
.hll a .linenos {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
2023-06-02 05:51:58 +00:00
|
|
|
|
|
|
|
.hll {
|
|
|
|
background-color: var( --background-color-warning );
|
|
|
|
}
|
2021-08-26 19:56:07 +00:00
|
|
|
}
|