-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode.css
More file actions
58 lines (57 loc) · 1.05 KB
/
code.css
File metadata and controls
58 lines (57 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
:root {
--code-ff: monospace;
--code-clr: #c9d1d9;
--code-bgclr: #161b22;
--code-border: #535353;
}
.pre {
margin: 1rem 0 0 0;
padding: 1rem;
border: 3px solid var(--code-border);
line-height: 1.4em;
overflow: auto;
border-radius: 10px;
background-clip: padding-box;
background-color: var(--code-bgclr);
}
.code {
margin: 0;
padding: 0px 4px;
display: inline-block;
font-family: var(--code-ff);
color: var(--code-clr);
background-clip: padding-box;
background-color: var(--code-bgclr);
white-space: pre-line;
}
.console {
margin: 0;
padding: 0px 4px;
display: inline-block;
font-family: var(--ff-secondary);
color: var(--code-clr);
background-clip: padding-box;
background-color: var(--code-bgclr);
white-space: pre-line;
}
span.key {
color: #569cd6;
}
span.class {
color: #4ec9b0;
}
span.func {
color: #dcdcaa;
}
span.local {
color: #95dcfe;
}
span.str {
color: #d69d85;
}
span.logic {
color: #d8a0df;
}
span.num {
color: #b5cea8;
}