summaryrefslogtreecommitdiff
path: root/source/infra/css/syntax.css
blob: 08e24b4e560efda7c19e3612eaa1861d129e6f92 (plain)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
.highlighter-rouge {
	padding: 0 2px;
	border: 1px solid;
	border-color: #999988;
	background-color: #f8f8f8;
}
@media only screen and (prefers-color-scheme: dark) {
.highlighter-rouge {
	background-color: #0d1117;
	border-color: #8b949e;
}
}
div.highlight { overflow: auto; }
pre.highlight { margin: 0.5em; }



/* From https://github.com/brazacz/rouge-themes/blob/main/css/github.css */
.highlight      { background-color: #f8f8f8; }
.highlight .bp  { color: #999999; }
.highlight .c   { color: #999988; font-style: italic; }
.highlight .c1  { color: #999988; font-style: italic; }
.highlight .cd  { color: #999988; font-style: italic; }
.highlight .ch  { color: #999988; font-style: italic; }
.highlight .cm  { color: #999988; font-style: italic; }
.highlight .cp  { color: #999999; font-weight: bold; }
.highlight .cpf { color: #999988; font-style: italic; }
.highlight .cs  { color: #999999; font-weight: bold; font-style: italic; }
.highlight .dl  { color: #dd1144; }
.highlight .err { color: #a61717; background-color: #e3d2d2; }
.highlight .fm  { color: #990000; font-weight: bold; }
.highlight .gd  { color: #000000; background-color: #ffdddd; }
.highlight .ge  { color: #000000; font-style: italic; }
.highlight .gh  { color: #999999; }
.highlight .gi  { color: #000000; background-color: #ddffdd; }
.highlight .go  { color: #888888; }
.highlight .gp  { color: #555555; }
.highlight .gr  { color: #aa0000; }
.highlight .gs  { font-weight: bold; }
.highlight .gt  { color: #aa0000; }
.highlight .gu  { color: #aaaaaa; }
.highlight .il  { color: #009999; }
.highlight .k   { color: #000000; font-weight: bold; }
.highlight .kc  { color: #000000; font-weight: bold; }
.highlight .kd  { color: #000000; font-weight: bold; }
.highlight .kn  { color: #000000; font-weight: bold; }
.highlight .kp  { color: #000000; font-weight: bold; }
.highlight .kr  { color: #000000; font-weight: bold; }
.highlight .kt  { color: #445588; font-weight: bold; }
.highlight .kv  { color: #000000; font-weight: bold; }
.highlight .m   { color: #009999; }
.highlight .mb  { color: #009999; }
.highlight .mf  { color: #009999; }
.highlight .mh  { color: #009999; }
.highlight .mi  { color: #009999; }
.highlight .mo  { color: #009999; }
.highlight .mx  { color: #009999; }
.highlight .na  { color: #008080; }
.highlight .nb  { color: #0086B3; }
.highlight .nc  { color: #445588; font-weight: bold; }
.highlight .nd  { color: #3c5d5d; font-weight: bold; }
.highlight .ne  { color: #990000; font-weight: bold; }
.highlight .nf  { color: #990000; font-weight: bold; }
.highlight .ni  { color: #800080; }
.highlight .nl  { color: #990000; font-weight: bold; }
.highlight .nn  { color: #555555; }
.highlight .no  { color: #008080; }
.highlight .nt  { color: #000080; }
.highlight .nv  { color: #008080; }
.highlight .o   { color: #000000; font-weight: bold; }
.highlight .ow  { color: #000000; font-weight: bold; }
.highlight .s   { color: #dd1144; }
.highlight .s1  { color: #dd1144; }
.highlight .s2  { color: #dd1144; }
.highlight .sa  { color: #000000; font-weight: bold; }
.highlight .sb  { color: #dd1144; }
.highlight .sc  { color: #dd1144; }
.highlight .sd  { color: #dd1144; }
.highlight .se  { color: #dd1144; }
.highlight .sh  { color: #dd1144; }
.highlight .si  { color: #dd1144; }
.highlight .sr  { color: #009926; }
.highlight .ss  { color: #990073; }
.highlight .sx  { color: #dd1144; }
.highlight .vc  { color: #008080; }
.highlight .vg  { color: #008080; }
.highlight .vi  { color: #008080; }
.highlight .vm  { color: #008080; }
.highlight .w   { color: #bbbbbb; }

@media only screen and (prefers-color-scheme: dark) {
/* From https://github.com/numist/highlight-css/blob/main/Pygments/github-dark.css */
.highlight      { background-color: #0d1117; }
.highlight .bp  { color: #c9d1d9; } /* Name.Builtin.Pseudo */
.highlight .c   { color: #8b949e; font-style: italic; } /* Comment */
.highlight .c1  { color: #8b949e; font-style: italic; } /* Comment.Single */
.highlight .cd  { color: #8b949e; font-style: italic; } /* ? */
.highlight .ch  { color: #8b949e; font-style: italic; } /* Comment.Hashbang */
.highlight .cm  { color: #8b949e; font-style: italic; } /* Comment.Multiline */
.highlight .cp  { color: #8b949e; font-weight: bold; font-style: italic; } /* Comment.Preproc */
.highlight .cpf { color: #8b949e; font-style: italic; } /* Comment.PreprocFile */
.highlight .cs  { color: #8b949e; font-weight: bold; font-style: italic; } /* Comment.Special */
.highlight .dl  { color: #79c0ff; } /* Literal.String.Delimiter */
.highlight .err { color: #f85149; } /* Error */
.highlight .fm  { color: #d2a8ff; font-weight: bold; } /* Name.Function.Magic */
.highlight .gd  { color: #ffa198; background-color: #490202; } /* Generic.Deleted */
.highlight .ge  { color: #c9d1d9; font-style: italic; } /* Generic.Emph */
.highlight .gh  { color: #79c0ff; font-weight: bold; } /* Generic.Heading */
.highlight .gi  { color: #56d364; background-color: #0f5323; } /* Generic.Inserted */
.highlight .go  { color: #8b949e; } /* Generic.Output */
.highlight .gp  { color: #8b949e; } /* Generic.Prompt */
.highlight .gr  { color: #ffa198; } /* Generic.Error */
.highlight .gs  { font-weight: bold; } /* Generic.Strong */
.highlight .gt  { color: #ff7b72; } /* Generic.Traceback */
.highlight .gu  { color: #79c0ff; } /* Generic.Subheading */
.highlight .il  { color: #a5d6ff; } /* Literal.Number.Integer.Long */
.highlight .k   { color: #ff7b72; } /* Keyword */
.highlight .kc  { color: #79c0ff; } /* Keyword.Constant */
.highlight .kd  { color: #ff7b72; } /* Keyword.Declaration */
.highlight .kn  { color: #ff7b72; } /* Keyword.Namespace */
.highlight .kp  { color: #79c0ff; } /* Keyword.Pseudo */
.highlight .kr  { color: #ff7b72; } /* Keyword.Reserved */
.highlight .kt  { color: #ff7b72; } /* Keyword.Type */
.highlight .kv  { color: #ff7b72; } /* ? */
.highlight .m   { color: #a5d6ff; } /* Literal.Number */
.highlight .mb  { color: #a5d6ff; } /* Literal.Number.Bin */
.highlight .mf  { color: #a5d6ff; } /* Literal.Number.Float */
.highlight .mh  { color: #a5d6ff; } /* Literal.Number.Hex */
.highlight .mi  { color: #a5d6ff; } /* Literal.Number.Integer */
.highlight .mo  { color: #a5d6ff; } /* Literal.Number.Oct */
.highlight .mx  { color: #a5d6ff; } /* ? */
.highlight .na  { color: #c9d1d9; } /* Name.Attribute */
.highlight .nb  { color: #c9d1d9; } /* Name.Builtin */
.highlight .nc  { color: #f0883e; font-weight: bold; } /* Name.Class */
.highlight .nd  { color: #d2a8ff; font-weight: bold; } /* Name.Decorator */
.highlight .ne  { color: #f0883e; font-weight: bold; } /* Name.Exception */
.highlight .nf  { color: #d2a8ff; font-weight: bold; } /* Name.Function */
.highlight .ni  { color: #ffa657; } /* Name.Entity */
.highlight .nl  { color: #79c0ff; font-weight: bold; } /* Name.Label */
.highlight .nn  { color: #ff7b72; } /* Name.Namespace */
.highlight .no  { color: #79c0ff; font-weight: bold; } /* Name.Constant */
.highlight .nt  { color: #7ee787; } /* Name.Tag */
.highlight .nv  { color: #79c0ff; } /* Name.Variable */
.highlight .o   { color: #ff7b72; font-weight: bold; } /* Operator */
.highlight .ow  { color: #ff7b72; font-weight: bold; } /* Operator.Word */
.highlight .s   { color: #a5d6ff; } /* Literal.String */
.highlight .s1  { color: #a5d6ff; } /* Literal.String.Single */
.highlight .s2  { color: #a5d6ff; } /* Literal.String.Double */
.highlight .sa  { color: #79c0ff; } /* Literal.String.Affix */
.highlight .sb  { color: #a5d6ff; } /* Literal.String.Backtick */
.highlight .sc  { color: #a5d6ff; } /* Literal.String.Char */
.highlight .sd  { color: #a5d6ff; } /* Literal.String.Doc */
.highlight .se  { color: #79c0ff; } /* Literal.String.Escape */
.highlight .sh  { color: #79c0ff; } /* Literal.String.Heredoc */
.highlight .si  { color: #a5d6ff; } /* Literal.String.Interpol */
.highlight .sr  { color: #79c0ff; } /* Literal.String.Regex */
.highlight .ss  { color: #a5d6ff; } /* Literal.String.Symbol */
.highlight .sx  { color: #a5d6ff; } /* Literal.String.Other */
.highlight .vc  { color: #79c0ff; } /* Name.Variable.Class */
.highlight .vg  { color: #79c0ff; } /* Name.Variable.Global */
.highlight .vi  { color: #79c0ff; } /* Name.Variable.Instance */
.highlight .vm  { color: #79c0ff; } /* Name.Variable.Magic */
.highlight .w   { color: #6e7681; } /* Text.Whitespace */
}