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

142 lines
1.7 KiB
SCSS
Raw Normal View History

2021-07-18 10:34:01 +02:00
pre[class*="language-"],
code[class*="language-"] {
color: #d4d4d4;
font-size: 13px;
text-shadow: none;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
line-height: 1.5;
}
2021-12-08 17:54:53 +01:00
pre {
2021-12-09 02:58:29 +01:00
line-height: 1.5;
2021-12-08 17:54:53 +01:00
}
2021-07-18 10:34:01 +02:00
.chroma {
background-color: #292929;
margin: .5em 0;
}
/* LineTableTD */
.chroma .lntd {
vertical-align: top;
padding: 0;
margin: 0;
border: 0;
}
.chroma .lntable {
border-spacing: 0;
padding: 0;
margin: 0;
border: 0;
width: auto;
overflow: auto;
display: block;
}
/* LineNumbersTable */
.chroma .lnt {
color: #999;
display: block;
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;
line-height: 1.5;
font-size: 13px;
}
/* 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;
}
/* 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;
}