hugo-theme-minima/assets/css/syntax.scss

142 lines
1.6 KiB
SCSS
Raw Normal View History

2022-04-12 15:43:46 +02:00
.chroma code {
2021-07-18 10:34:01 +02:00
color: #d4d4d4;
2021-12-08 17:54:53 +01:00
}
2021-07-18 10:34:01 +02:00
.chroma {
2022-11-09 11:03:38 +01:00
background-color: #222222;
2021-07-18 10:34:01 +02:00
margin: .5em 0;
}
/* LineTableTD */
.chroma .lntd {
vertical-align: top;
padding: 0;
margin: 0;
border: 0;
}
2022-04-12 15:43:46 +02:00
.chroma .lntable tbody {
2021-07-18 10:34:01 +02:00
border: 0;
}
2022-04-12 15:43:46 +02:00
.chroma .lntable td:nth-child(2) {
width: 100%;
}
.chroma .lnt,
.chroma .line {
display: block;
line-height: 1.3;
2021-12-09 06:36:53 +01:00
}
2021-07-18 10:34:01 +02:00
/* LineNumbersTable */
.chroma .lnt {
color: #999;
2021-12-09 02:58:29 +01:00
padding-left: .9em;
2021-07-18 10:34:01 +02:00
padding-right: 1em;
text-align: right;
2022-04-12 15:43:46 +02:00
}
.chroma .hl .lnt {
display: inline;
2021-07-18 10:34:01 +02:00
}
/* Keyword */
.chroma .kc,
.chroma .kd,
.chroma .kn,
.chroma .kp,
.chroma .kr,
2021-12-09 02:58:29 +01:00
// .chroma .kt,
2021-07-18 10:34:01 +02:00
.chroma .k,
.chroma .si {
color: #569cd6;
}
.chroma .na {
color: #9cdcfe;
}
2021-12-09 02:58:29 +01:00
// .chroma .n,
2021-07-18 10:34:01 +02:00
.chroma .nb,
.chroma .bp,
2021-12-09 02:58:29 +01:00
// .chroma .nc,
2021-07-18 10:34:01 +02:00
.chroma .no,
.chroma .nd,
.chroma .ni,
.chroma .ne,
2021-12-09 02:58:29 +01:00
// .chroma .nf,
2021-07-18 10:34:01 +02:00
.chroma .fm,
.chroma .nl,
.chroma .nn {
2021-08-19 06:42:00 +02:00
color: #569cd6;
2021-07-18 10:34:01 +02:00
}
/* NameProperty */
.chroma .py,
.chroma .nt,
.chroma .nv,
.chroma .vc,
.chroma .vg,
.chroma .vi,
.chroma .vm {
color: #569cd6;
}
/* LiteralString */
.chroma .s,
.chroma .sa,
.chroma .sb,
.chroma .sc,
.chroma .dl,
.chroma .sd,
.chroma .s2,
.chroma .se,
.chroma .sh,
.chroma .sx,
.chroma .sr,
.chroma .s1,
2021-12-09 02:58:29 +01:00
.chroma .ss,
.chroma .cpf {
2021-07-18 10:34:01 +02:00
color: #ce9178;
}
2022-11-08 11:07:48 +01:00
2021-07-18 10:34:01 +02:00
/* LiteralNumber */
.chroma .m,
.chroma .mb,
.chroma .mf,
.chroma .mh,
.chroma .mi,
.chroma .il,
.chroma .mo {
color: #b5cea8;
}
/* Comment */
.chroma .c,
.chroma .ch,
.chroma .cm,
.chroma .c1,
.chroma .cs {
color: #517043;
}
2021-12-09 02:58:29 +01:00
.chroma .nb,
.chroma .kt {
color: #4ec9b0;
}
.chroma .fm,
.chroma .nf {
color: #dcdcaa;
}
.chroma .cp {
color: #c586c0;
}
2022-04-12 15:43:46 +02:00
.chroma .hl {
display: block;
background-color: #585858;
2022-11-08 11:07:48 +01:00
}