-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhighlight.css
More file actions
77 lines (69 loc) · 2.26 KB
/
Copy pathhighlight.css
File metadata and controls
77 lines (69 loc) · 2.26 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
table.sourceCode, tr.sourceCode, td.sourceCode, table.sourceCode pre {
margin: 0;
padding: 0;
border: 0;
vertical-align: baseline;
border: none;
background-color: #2d2d2d;
}
td.nums {
text-align: right;
padding-left: 5px;
padding-right: 5px;
background-color: #252525;
}
td.sourceCode {
padding-left: 5px;
}
*:not(pre) > code {
color: magenta;
}
code > * {
padding-left: 4px;
padding-right: 4px;
}
pre, pre > code {
color: magenta;
line-height: 125%;
}
pre {
background-color: black;
border-radius: 24px;
margin: 0 auto; /* Centers code horizontally */
padding: 1em;
overflow-x: auto;
}
td.nums pre {
background-color: #2d2d2d;
line-height: 125%;
}
code.sourceCode span.kw { color: gold } /* Keyword */
code.sourceCode span.dt { color: greenyellow } /* DataType */
code.sourceCode span.dv { color: green } /* DecVal, Integer */
code.sourceCode span.bn { color: green } /* BaseN, Hex */
code.sourceCode span.fl { color: green } /* Float */
code.sourceCode span.ch { color: green } /* Char */
code.sourceCode span.st { color: green } /* String */
code.sourceCode span.co { color: darkgray; font-style: italic } /* Comment */
code.sourceCode span.ot { } /* Other */
code.sourceCode span.al { color: #ef2929 } /* Alert */
code.sourceCode span.fu { color: lightskyblue } /* Function */
code.sourceCode span.re { } /* RegionMarker */
code.sourceCode span.er { color: #a40000; border: 1px solid #ef2929 } /* Error */
code.sourceCode span.cn { } /* Constant */
code.sourceCode span.sc { } /* SpecialChar */
code.sourceCode span.vs { } /* VerbatimString */
code.sourceCode span.ss { } /* SpecialString */
code.sourceCode span.im { color: gold } /* Import */
code.sourceCode span.do { } /* Documentation */
code.sourceCode span.an { } /* Anotation */
code.sourceCode span.cv { } /* CommentVar */
code.sourceCode span.va { } /* Variable */
code.sourceCode span.cf { color: gold } /* ControlFlow */
code.sourceCode span.op { } /* Operator */
code.sourceCode span.bu { color: lightskyblue } /* BuiltIn */
code.sourceCode span.ex { } /* Extension */
code.sourceCode span.pp { } /* Preprocessor */
code.sourceCode span.at { } /* Attribute */
code.sourceCode span.in { } /* Information */
code.sourceCode span.wa { } /* Warning */