Add initial code highlighting

Julien LepillerSun Jun 20 23:52:53+0200 2021

3e7472f

Add initial code highlighting

assets/css/highlight.css unknown status 1

1+
/*
2+
 * SPDX-FileCopyrightText: 2020, 2021 Julien Lepiller <julien@lepiller.eu>
3+
 *
4+
 * SPDX-License-Identifier: CC0-1.0
5+
 */
6+
7+
:root {
8+
  --comment: #777;
9+
  --string: rgb(235, 87, 83);
10+
  --number: rgb(254, 62, 83);
11+
  --keyword: rgb(78, 137, 167);
12+
  --keyword2: rgb(52, 183, 178);
13+
}
14+
15+
/* syntax highlighting */
16+
.syntax-comment {
17+
  color: var(--comment);
18+
}
19+
20+
.syntax-string {
21+
  color: var(--string);
22+
}
23+
24+
.syntax-keyword {
25+
  color: var(--keyword2);
26+
  font-weight: bold;
27+
}
28+
29+
.language-scheme .syntax-special {
30+
  color: var(--keyword);
31+
  font-weight: bold;
32+
}
33+
34+
.language-scheme .syntax-open + .syntax-symbol {
35+
  font-weight: bold;
36+
}
37+
38+
.language-scheme .syntax-open, .language-scheme .syntax-close {
39+
  color: var(--comment);
40+
}