This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathhandbook.css
More file actions
340 lines (302 loc) · 13.3 KB
/
Copy pathhandbook.css
File metadata and controls
340 lines (302 loc) · 13.3 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
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
@charset "UTF-8";
body {
background: #FCFCFC;
position: relative;
margin: 0px; }
body article {
font-family: 'Segoe UI Semilight', Tahoma, Geneva, Verdana, sans-serif;
margin-left: auto;
margin-right: auto;
line-height: 1.3em; }
@media (min-width: 800px) {
body article {
max-width: 65em; } }
div.theme-selector {
font-family: 'Segoe UI Semilight', Tahoma, Geneva, Verdana, sans-serif;
padding-left: 0.5em;
padding-right: 0.5em;
padding-top: 0.25em;
padding-bottom: 0.25em;
border-radius: 0px 0px 0px 8px;
right: 0px;
top: 0px;
background: #777;
width: fit-content;
color: white;
position: absolute; }
@media (min-width: 1400px) {
div.theme-selector {
position: fixed; } }
div.theme-selector div {
display: inline-block;
font-size: 160%;
width: 1.3em;
height: 1.3em;
border-radius: 6px;
text-align: center;
cursor: pointer; }
div.theme-selector #set-theme-light {
color: white;
background: white; }
div.theme-selector #set-theme-dark {
color: black;
background: black; }
div.theme-selector #set-theme-light-dark {
background: white;
color: black; }
div.theme-selector #set-theme-dark-light {
background: black;
color: white; }
article :not(pre) code {
font-family: Consolas, Menlo, Monaco, Deja Vu Sans Mono, "Courier New", monospace; }
article {
padding-top: 1em; }
article h1, article h2, article h3, article h4, article h5, article h6 {
margin-top: 1.2em;
margin-bottom: 0.6em;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
article h1 {
font-size: 170%; }
article h2 {
margin-top: 1.8em; }
article h3 {
margin-top: 1.6em; }
pre.typescript-code {
font-family: Consolas, Menlo, Monaco, Deja Vu Sans Mono, "Courier New", monospace;
font-size: 100%;
display: block;
position: relative;
max-width: 80em;
width: 90%;
padding: 0.8em;
padding-left: 1.6em;
padding-right: 4em;
border: solid #777 1px;
line-height: 1.45em;
min-width: 30em;
border-radius: 8px;
box-shadow: 0px 0px 8px #00000020; }
span.quickinfo-result {
cursor: help;
position: relative;
display: inline-block;
background: white;
padding: 3px 10px 3px 8px;
border: solid #AAAACC 1px;
left: 0.2em;
box-shadow: 0px 0px 3px #00000033;
/*
* Disallow user-selection on quick-info.
* This allows users to copy/paste examples without the quick info contents.
* Ideally, we'd still allow users to select within a quick info bubble separately.
*/
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
span.quickinfo-arrow {
color: #AAAACC;
position: absolute;
top: -0.75em;
left: -0.3em; }
span.error {
position: relative; }
span.error-highlight {
background: #FF000010;
border-radius: 0.4em;
border-bottom: #F44 2px;
border-bottom-style: dotted;
position: absolute;
display: inline-block;
top: -2px;
left: -2px;
right: -2px;
bottom: -5px; }
.error-tooltip {
display: block;
opacity: 0;
margin: 0;
font-family: Consolas, Menlo, Monaco, Deja Vu Sans Mono, "Courier New", monospace;
padding: 3px 10px 3px 8px;
border: solid #AAAACC 1px;
box-shadow: 0px 0px 3px #00000033;
position: absolute;
visibility: hidden;
top: 1.5225em;
left: 0px;
transition-property: opacity;
transition-duration: 0.25s; }
.error:hover > .error-tooltip, .error:focus > .error-tooltip {
visibility: visible;
opacity: 1;
z-index: 1; }
.dark .error-tooltip, .light-dark .error-tooltip {
background: #222;
color: #E4E4E4; }
.light .error-tooltip, .dark-light .error-tooltip {
background: #FFF;
color: #000; }
span.highlight {
position: relative; }
span.highlight-content {
background: #FFFF0040;
position: absolute;
display: inline-block;
top: -3px;
left: -1px;
right: -1px;
bottom: -3px;
border-radius: 6px;
box-shadow: 0px 0px 6px #00000088; }
span.highlight-description {
display: none; }
div.indent {
display: inline-block;
width: 1.1em; }
div.indent::before {
content: "→";
color: #BBB; }
a, a:visited, a:active, a:hover {
text-decoration: none; }
a:hover {
text-decoration: underline; }
span.toc-title {
font-weight: bold;
border-bottom: solid 1px gray; }
ul {
padding-left: 0em; }
ul ul, ul ul ul {
margin-left: 1.3em; }
h1 a, h2 a, h3 a, h4 a {
text-decoration: none;
position: relative; }
h1 a:hover::before, h2 a:hover::before, h3 a:hover::before, h4 a:hover::before {
content: "#";
position: absolute;
left: -0.7em; }
hr.error-divider {
margin-left: -1em;
margin-right: -3em;
margin-top: 0.75em;
margin-bottom: 0.75em; }
div.listed-error, div.error-line {
word-wrap: normal;
overflow-wrap: normal; }
blockquote {
margin: 1em;
padding: 0.02em 1em 0.02em 1em; }
aside {
width: fit-content;
margin-left: 0.5em;
padding: 0.4em;
padding-left: 1em;
padding-right: 1em;
border-radius: 12px; }
body.dark pre.typescript-code, body.light-dark pre.typescript-code {
background: #111;
color: #D4D4D4; }
body.dark pre.typescript-code .tm-cmt, body.light-dark pre.typescript-code .tm-cmt {
color: #608B4E; }
body.dark pre.typescript-code .tm-kw, body.light-dark pre.typescript-code .tm-kw {
color: #569CD6; }
body.dark pre.typescript-code .tm-def, body.light-dark pre.typescript-code .tm-def {
color: #D4D4D4; }
body.dark pre.typescript-code .tm-typ, body.light-dark pre.typescript-code .tm-typ {
color: #4EC9B0; }
body.dark pre.typescript-code .tm-vr, body.light-dark pre.typescript-code .tm-vr {
color: #9CDCFE; }
body.dark pre.typescript-code .tm-str, body.light-dark pre.typescript-code .tm-str {
color: #CE9178; }
body.dark pre.typescript-code .tm-mth, body.light-dark pre.typescript-code .tm-mth {
color: #DCDCAA; }
body.dark pre.typescript-code .tm-num, body.light-dark pre.typescript-code .tm-num {
color: #B5CEA8; }
body.dark pre.typescript-code .punctuation, body.dark pre.typescript-code .operator, body.dark pre.typescript-code .text, body.dark pre.typescript-code .localName, body.dark pre.typescript-code .propertyName, body.dark pre.typescript-code .methodName, body.dark pre.typescript-code .parameterName, body.light-dark pre.typescript-code .punctuation, body.light-dark pre.typescript-code .operator, body.light-dark pre.typescript-code .text, body.light-dark pre.typescript-code .localName, body.light-dark pre.typescript-code .propertyName, body.light-dark pre.typescript-code .methodName, body.light-dark pre.typescript-code .parameterName {
color: #D4D4D4; }
body.dark pre.typescript-code .keyword, body.light-dark pre.typescript-code .keyword {
color: #569CD6; }
body.dark pre.typescript-code .className, body.dark pre.typescript-code .typeParameterName, body.dark pre.typescript-code .interfaceName, body.dark pre.typescript-code .aliasName, body.light-dark pre.typescript-code .className, body.light-dark pre.typescript-code .typeParameterName, body.light-dark pre.typescript-code .interfaceName, body.light-dark pre.typescript-code .aliasName {
color: #4EC9B0; }
body.dark pre.typescript-code .stringLiteral, body.light-dark pre.typescript-code .stringLiteral {
color: #CE9178; }
body.dark pre.typescript-code span.quickinfo-result, body.light-dark pre.typescript-code span.quickinfo-result {
background: #222; }
body.dark div.listed-error, body.light-dark div.listed-error {
color: #D4D4D4; }
body.light pre.typescript-code, body.dark-light pre.typescript-code {
background: #FFF;
color: #000000;
/**
* Colors from our own classifier
*/ }
body.light pre.typescript-code .tm-cmt, body.dark-light pre.typescript-code .tm-cmt {
color: #008000; }
body.light pre.typescript-code .tm-kw, body.dark-light pre.typescript-code .tm-kw {
color: #0000FF; }
body.light pre.typescript-code .tm-def, body.dark-light pre.typescript-code .tm-def {
color: #000000; }
body.light pre.typescript-code .tm-typ, body.dark-light pre.typescript-code .tm-typ {
color: #267F99; }
body.light pre.typescript-code .tm-vr, body.dark-light pre.typescript-code .tm-vr {
color: #001080; }
body.light pre.typescript-code .tm-str, body.dark-light pre.typescript-code .tm-str {
color: #A31515; }
body.light pre.typescript-code .tm-mth, body.dark-light pre.typescript-code .tm-mth {
color: #795E26; }
body.light pre.typescript-code .tm-num, body.dark-light pre.typescript-code .tm-num {
color: #09885A; }
body.light pre.typescript-code .punctuation, body.light pre.typescript-code .operator, body.light pre.typescript-code .text, body.light pre.typescript-code .localName, body.light pre.typescript-code .propertyName, body.light pre.typescript-code .methodName, body.light pre.typescript-code .parameterName, body.dark-light pre.typescript-code .punctuation, body.dark-light pre.typescript-code .operator, body.dark-light pre.typescript-code .text, body.dark-light pre.typescript-code .localName, body.dark-light pre.typescript-code .propertyName, body.dark-light pre.typescript-code .methodName, body.dark-light pre.typescript-code .parameterName {
color: #000000; }
body.light pre.typescript-code .keyword, body.dark-light pre.typescript-code .keyword {
color: #0000FF; }
body.light pre.typescript-code .className, body.light pre.typescript-code .typeParameterName, body.light pre.typescript-code .interfaceName, body.light pre.typescript-code .aliasName, body.dark-light pre.typescript-code .className, body.dark-light pre.typescript-code .typeParameterName, body.dark-light pre.typescript-code .interfaceName, body.dark-light pre.typescript-code .aliasName {
color: #267F99; }
body.light pre.typescript-code .stringLiteral, body.dark-light pre.typescript-code .stringLiteral {
color: #A31515; }
body.light pre.typescript-code span.quickinfo-result, body.dark-light pre.typescript-code span.quickinfo-result {
background: #f5f5f5; }
body.light div.listed-error, body.dark-light div.listed-error {
color: #000000; }
body.dark, body.dark-light {
background: #222;
color: #E4E4E4; }
body.dark a, body.dark a:hover, body.dark a:visited, body.dark a:active, body.dark-light a, body.dark-light a:hover, body.dark-light a:visited, body.dark-light a:active {
color: #FFD; }
body.dark h1 a, body.dark h1 a:visited, body.dark h1 a:active, body.dark h1 a:hover, body.dark h2 a, body.dark h2 a:visited, body.dark h2 a:active, body.dark h2 a:hover, body.dark h3 a, body.dark h3 a:visited, body.dark h3 a:active, body.dark h3 a:hover, body.dark h4 a, body.dark h4 a:visited, body.dark h4 a:active, body.dark h4 a:hover, body.dark-light h1 a, body.dark-light h1 a:visited, body.dark-light h1 a:active, body.dark-light h1 a:hover, body.dark-light h2 a, body.dark-light h2 a:visited, body.dark-light h2 a:active, body.dark-light h2 a:hover, body.dark-light h3 a, body.dark-light h3 a:visited, body.dark-light h3 a:active, body.dark-light h3 a:hover, body.dark-light h4 a, body.dark-light h4 a:visited, body.dark-light h4 a:active, body.dark-light h4 a:hover {
color: #EEE; }
body.dark aside, body.dark-light aside {
background: #444;
border: solid #999 3px; }
body.dark blockquote, body.dark-light blockquote {
background: #224;
border-left: solid #446 4px; }
body.dark article :not(pre) code, body.dark-light article :not(pre) code {
color: #F37575; }
body.light, body.light-dark {
background: #FFF;
color: #000; }
body.light a, body.light a:visited, body.light a:active, body.light a:hover, body.light-dark a, body.light-dark a:visited, body.light-dark a:active, body.light-dark a:hover {
color: #265988; }
body.light h1 a, body.light h1 a:visited, body.light h1 a:active, body.light h1 a:hover, body.light h2 a, body.light h2 a:visited, body.light h2 a:active, body.light h2 a:hover, body.light h3 a, body.light h3 a:visited, body.light h3 a:active, body.light h3 a:hover, body.light h4 a, body.light h4 a:visited, body.light h4 a:active, body.light h4 a:hover, body.light-dark h1 a, body.light-dark h1 a:visited, body.light-dark h1 a:active, body.light-dark h1 a:hover, body.light-dark h2 a, body.light-dark h2 a:visited, body.light-dark h2 a:active, body.light-dark h2 a:hover, body.light-dark h3 a, body.light-dark h3 a:visited, body.light-dark h3 a:active, body.light-dark h3 a:hover, body.light-dark h4 a, body.light-dark h4 a:visited, body.light-dark h4 a:active, body.light-dark h4 a:hover {
color: #000; }
body.light aside, body.light-dark aside {
background: #EEEEFF;
border: solid #33338855 3px; }
body.light blockquote, body.light-dark blockquote {
background: #FFFFF0;
border-left: solid #EEB 4px; }
body.light article :not(pre) code, body.light-dark article :not(pre) code {
color: #a31515; }
body.light a.playground-link, body.light-dark a.playground-link, body.dark-light a.playground-link, body.dark a.playground-link {
font-family: "wf_segoe-ui_normal", Verdana, Geneva, Tahoma, sans-serif;
position: absolute;
font-size: 12px;
bottom: 0px;
right: 0px;
padding: 6px;
background-color: #0074c1;
border-top-left-radius: 7px;
border-bottom-right-radius: 7px; }
body.light a.playground-link, body.light a.playground-link:visited, body.light-dark a.playground-link, body.light-dark a.playground-link:visited, body.dark-light a.playground-link, body.dark-light a.playground-link:visited, body.dark a.playground-link, body.dark a.playground-link:visited {
color: #FFF;
text-decoration: none; }