pantsdown 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +136 -0
- package/README.md +75 -2
- package/bun.lockb +0 -0
- package/package.json +5 -4
- package/{styles.css → src/css/styles.css} +709 -242
- package/{styles.css.d.ts → src/css/styles.css.d.ts} +2 -2
- package/src/pantsdown.ts +5 -0
- package/src/parser.ts +9 -3
- package/src/renderer.ts +37 -8
- package/src/utils.ts +29 -7
- package/LICENSE.md +0 -67
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
3
|
+
* *
|
|
4
|
+
* Markdown *
|
|
5
|
+
* *
|
|
6
|
+
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
7
|
+
*
|
|
8
|
+
* https://github.com/sindresorhus/github-markdown-css/blob/main/github-markdown.css */
|
|
9
|
+
|
|
1
10
|
.pantsdown.dark {
|
|
2
11
|
color-scheme: dark;
|
|
3
12
|
--color-fg-default: #e6edf3;
|
|
@@ -18,115 +27,17 @@
|
|
|
18
27
|
--color-btn-bg: #21262d;
|
|
19
28
|
--color-btn-border: rgba(240, 246, 252, 0.1);
|
|
20
29
|
--color-btn-hover-bg: #30363d;
|
|
21
|
-
/*! https://github.com/highlightjs/highlight.js/blob/main/src/styles/github-dark.css */
|
|
22
|
-
}
|
|
23
|
-
.pantsdown.dark .hljs {
|
|
24
|
-
color: #c9d1d9;
|
|
25
|
-
}
|
|
26
|
-
.pantsdown.dark .hljs-doctag,
|
|
27
|
-
.pantsdown.dark .hljs-keyword,
|
|
28
|
-
.pantsdown.dark .hljs-meta .hljs-keyword,
|
|
29
|
-
.pantsdown.dark .hljs-template-tag,
|
|
30
|
-
.pantsdown.dark .hljs-template-variable,
|
|
31
|
-
.pantsdown.dark .hljs-type,
|
|
32
|
-
.pantsdown.dark .hljs-variable.language_ {
|
|
33
|
-
/* prettylights-syntax-keyword */
|
|
34
|
-
color: #ff7b72;
|
|
35
|
-
}
|
|
36
|
-
.pantsdown.dark .hljs-title,
|
|
37
|
-
.pantsdown.dark .hljs-title.class_,
|
|
38
|
-
.pantsdown.dark .hljs-title.class_.inherited__,
|
|
39
|
-
.pantsdown.dark .hljs-title.function_ {
|
|
40
|
-
/* prettylights-syntax-entity */
|
|
41
|
-
color: #d2a8ff;
|
|
42
|
-
}
|
|
43
|
-
.pantsdown.dark .hljs-attr,
|
|
44
|
-
.pantsdown.dark .hljs-attribute,
|
|
45
|
-
.pantsdown.dark .hljs-literal,
|
|
46
|
-
.pantsdown.dark .hljs-meta,
|
|
47
|
-
.pantsdown.dark .hljs-number,
|
|
48
|
-
.pantsdown.dark .hljs-operator,
|
|
49
|
-
.pantsdown.dark .hljs-variable,
|
|
50
|
-
.pantsdown.dark .hljs-selector-attr,
|
|
51
|
-
.pantsdown.dark .hljs-selector-class,
|
|
52
|
-
.pantsdown.dark .hljs-selector-id {
|
|
53
|
-
/* prettylights-syntax-constant */
|
|
54
|
-
color: #79c0ff;
|
|
55
|
-
}
|
|
56
|
-
.pantsdown.dark .hljs-regexp,
|
|
57
|
-
.pantsdown.dark .hljs-string,
|
|
58
|
-
.pantsdown.dark .hljs-meta .hljs-string {
|
|
59
|
-
/* prettylights-syntax-string */
|
|
60
|
-
color: #a5d6ff;
|
|
61
|
-
}
|
|
62
|
-
.pantsdown.dark .hljs-built_in,
|
|
63
|
-
.pantsdown.dark .hljs-symbol {
|
|
64
|
-
/* prettylights-syntax-variable */
|
|
65
|
-
color: #ffa657;
|
|
66
|
-
}
|
|
67
|
-
.pantsdown.dark .hljs-comment,
|
|
68
|
-
.pantsdown.dark .hljs-code,
|
|
69
|
-
.pantsdown.dark .hljs-formula {
|
|
70
|
-
/* prettylights-syntax-comment */
|
|
71
|
-
color: #8b949e;
|
|
72
|
-
}
|
|
73
|
-
.pantsdown.dark .hljs-name,
|
|
74
|
-
.pantsdown.dark .hljs-quote,
|
|
75
|
-
.pantsdown.dark .hljs-selector-tag,
|
|
76
|
-
.pantsdown.dark .hljs-selector-pseudo {
|
|
77
|
-
/* prettylights-syntax-entity-tag */
|
|
78
|
-
color: #7ee787;
|
|
79
|
-
}
|
|
80
|
-
.pantsdown.dark .hljs-subst {
|
|
81
|
-
/* prettylights-syntax-storage-modifier-import */
|
|
82
|
-
color: #c9d1d9;
|
|
83
|
-
}
|
|
84
|
-
.pantsdown.dark .hljs-section {
|
|
85
|
-
/* prettylights-syntax-markup-heading */
|
|
86
|
-
color: #1f6feb;
|
|
87
|
-
font-weight: bold;
|
|
88
|
-
}
|
|
89
|
-
.pantsdown.dark .hljs-bullet {
|
|
90
|
-
/* prettylights-syntax-markup-list */
|
|
91
|
-
color: #f2cc60;
|
|
92
|
-
}
|
|
93
|
-
.pantsdown.dark .hljs-emphasis {
|
|
94
|
-
/* prettylights-syntax-markup-italic */
|
|
95
|
-
color: #c9d1d9;
|
|
96
|
-
font-style: italic;
|
|
97
|
-
}
|
|
98
|
-
.pantsdown.dark .hljs-strong {
|
|
99
|
-
/* prettylights-syntax-markup-bold */
|
|
100
|
-
color: #c9d1d9;
|
|
101
|
-
font-weight: bold;
|
|
102
|
-
}
|
|
103
|
-
.pantsdown.dark .hljs-addition {
|
|
104
|
-
/* prettylights-syntax-markup-inserted */
|
|
105
|
-
color: #aff5b4;
|
|
106
|
-
background-color: #033a16;
|
|
107
|
-
}
|
|
108
|
-
.pantsdown.dark .hljs-deletion {
|
|
109
|
-
/* prettylights-syntax-markup-deleted */
|
|
110
|
-
color: #ffdcd7;
|
|
111
|
-
background-color: #67060c;
|
|
112
|
-
}
|
|
113
|
-
.pantsdown.dark .hljs-char.escape_,
|
|
114
|
-
.pantsdown.dark .hljs-link,
|
|
115
|
-
.pantsdown.dark .hljs-params,
|
|
116
|
-
.pantsdown.dark .hljs-property,
|
|
117
|
-
.pantsdown.dark .hljs-punctuation,
|
|
118
|
-
.pantsdown.dark .hljs-tag {
|
|
119
|
-
/* purposely ignored */
|
|
120
30
|
}
|
|
31
|
+
|
|
121
32
|
.pantsdown.light {
|
|
122
33
|
color-scheme: light;
|
|
123
34
|
--color-fg-default: #1f2328;
|
|
124
35
|
--color-fg-muted: #656d76;
|
|
125
36
|
--color-fg-subtle: #6e7781;
|
|
126
|
-
--color-canvas-default: #
|
|
37
|
+
--color-canvas-default: #ffffff;
|
|
127
38
|
--color-canvas-subtle: #f6f8fa;
|
|
128
39
|
--color-border-default: #d0d7de;
|
|
129
|
-
--color-border-muted:
|
|
40
|
+
--color-border-muted: hsla(210, 18%, 87%, 1);
|
|
130
41
|
--color-neutral-muted: rgba(175, 184, 193, 0.2);
|
|
131
42
|
--color-accent-fg: #0969da;
|
|
132
43
|
--color-accent-emphasis: #0969da;
|
|
@@ -138,159 +49,101 @@
|
|
|
138
49
|
--color-btn-bg: #f6f8fa;
|
|
139
50
|
--color-btn-border: rgba(31, 35, 40, 0.15);
|
|
140
51
|
--color-btn-hover-bg: #f3f4f6;
|
|
141
|
-
/*! https://github.com/highlightjs/highlight.js/blob/main/src/styles/github.css */
|
|
142
|
-
}
|
|
143
|
-
.pantsdown.light .hljs {
|
|
144
|
-
color: #24292e;
|
|
145
|
-
}
|
|
146
|
-
.pantsdown.light .hljs-doctag,
|
|
147
|
-
.pantsdown.light .hljs-keyword,
|
|
148
|
-
.pantsdown.light .hljs-meta .hljs-keyword,
|
|
149
|
-
.pantsdown.light .hljs-template-tag,
|
|
150
|
-
.pantsdown.light .hljs-template-variable,
|
|
151
|
-
.pantsdown.light .hljs-type,
|
|
152
|
-
.pantsdown.light .hljs-variable.language_ {
|
|
153
|
-
/* prettylights-syntax-keyword */
|
|
154
|
-
color: #d73a49;
|
|
155
|
-
}
|
|
156
|
-
.pantsdown.light .hljs-title,
|
|
157
|
-
.pantsdown.light .hljs-title.class_,
|
|
158
|
-
.pantsdown.light .hljs-title.class_.inherited__,
|
|
159
|
-
.pantsdown.light .hljs-title.function_ {
|
|
160
|
-
/* prettylights-syntax-entity */
|
|
161
|
-
color: #6f42c1;
|
|
162
|
-
}
|
|
163
|
-
.pantsdown.light .hljs-attr,
|
|
164
|
-
.pantsdown.light .hljs-attribute,
|
|
165
|
-
.pantsdown.light .hljs-literal,
|
|
166
|
-
.pantsdown.light .hljs-meta,
|
|
167
|
-
.pantsdown.light .hljs-number,
|
|
168
|
-
.pantsdown.light .hljs-operator,
|
|
169
|
-
.pantsdown.light .hljs-variable,
|
|
170
|
-
.pantsdown.light .hljs-selector-attr,
|
|
171
|
-
.pantsdown.light .hljs-selector-class,
|
|
172
|
-
.pantsdown.light .hljs-selector-id {
|
|
173
|
-
/* prettylights-syntax-constant */
|
|
174
|
-
color: #005cc5;
|
|
175
|
-
}
|
|
176
|
-
.pantsdown.light .hljs-regexp,
|
|
177
|
-
.pantsdown.light .hljs-string,
|
|
178
|
-
.pantsdown.light .hljs-meta .hljs-string {
|
|
179
|
-
/* prettylights-syntax-string */
|
|
180
|
-
color: #032f62;
|
|
181
|
-
}
|
|
182
|
-
.pantsdown.light .hljs-built_in,
|
|
183
|
-
.pantsdown.light .hljs-symbol {
|
|
184
|
-
/* prettylights-syntax-variable */
|
|
185
|
-
color: #e36209;
|
|
186
|
-
}
|
|
187
|
-
.pantsdown.light .hljs-comment,
|
|
188
|
-
.pantsdown.light .hljs-code,
|
|
189
|
-
.pantsdown.light .hljs-formula {
|
|
190
|
-
/* prettylights-syntax-comment */
|
|
191
|
-
color: #6a737d;
|
|
192
|
-
}
|
|
193
|
-
.pantsdown.light .hljs-name,
|
|
194
|
-
.pantsdown.light .hljs-quote,
|
|
195
|
-
.pantsdown.light .hljs-selector-tag,
|
|
196
|
-
.pantsdown.light .hljs-selector-pseudo {
|
|
197
|
-
/* prettylights-syntax-entity-tag */
|
|
198
|
-
color: #22863a;
|
|
199
|
-
}
|
|
200
|
-
.pantsdown.light .hljs-subst {
|
|
201
|
-
/* prettylights-syntax-storage-modifier-import */
|
|
202
|
-
color: #24292e;
|
|
203
|
-
}
|
|
204
|
-
.pantsdown.light .hljs-section {
|
|
205
|
-
/* prettylights-syntax-markup-heading */
|
|
206
|
-
color: #005cc5;
|
|
207
|
-
font-weight: bold;
|
|
208
|
-
}
|
|
209
|
-
.pantsdown.light .hljs-bullet {
|
|
210
|
-
/* prettylights-syntax-markup-list */
|
|
211
|
-
color: #735c0f;
|
|
212
|
-
}
|
|
213
|
-
.pantsdown.light .hljs-emphasis {
|
|
214
|
-
/* prettylights-syntax-markup-italic */
|
|
215
|
-
color: #24292e;
|
|
216
|
-
font-style: italic;
|
|
217
|
-
}
|
|
218
|
-
.pantsdown.light .hljs-strong {
|
|
219
|
-
/* prettylights-syntax-markup-bold */
|
|
220
|
-
color: #24292e;
|
|
221
|
-
font-weight: bold;
|
|
222
|
-
}
|
|
223
|
-
.pantsdown.light .hljs-addition {
|
|
224
|
-
/* prettylights-syntax-markup-inserted */
|
|
225
|
-
color: #22863a;
|
|
226
|
-
background-color: #f0fff4;
|
|
227
|
-
}
|
|
228
|
-
.pantsdown.light .hljs-deletion {
|
|
229
|
-
/* prettylights-syntax-markup-deleted */
|
|
230
|
-
color: #b31d28;
|
|
231
|
-
background-color: #ffeef0;
|
|
232
|
-
}
|
|
233
|
-
.pantsdown.light .hljs-char.escape_,
|
|
234
|
-
.pantsdown.light .hljs-link,
|
|
235
|
-
.pantsdown.light .hljs-params,
|
|
236
|
-
.pantsdown.light .hljs-property,
|
|
237
|
-
.pantsdown.light .hljs-punctuation,
|
|
238
|
-
.pantsdown.light .hljs-tag {
|
|
239
|
-
/* purposely ignored */
|
|
240
52
|
}
|
|
53
|
+
|
|
241
54
|
.pantsdown {
|
|
242
55
|
-ms-text-size-adjust: 100%;
|
|
243
56
|
-webkit-text-size-adjust: 100%;
|
|
244
57
|
margin: 0;
|
|
245
|
-
color: var(--
|
|
246
|
-
background-color: var(--
|
|
58
|
+
color: var(--color-fg-default);
|
|
59
|
+
background-color: var(--color-canvas-default);
|
|
247
60
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial,
|
|
248
61
|
sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
249
62
|
font-size: 16px;
|
|
250
63
|
line-height: 1.5;
|
|
251
64
|
word-wrap: break-word;
|
|
252
65
|
}
|
|
66
|
+
|
|
67
|
+
.pantsdown .octicon {
|
|
68
|
+
display: inline-block;
|
|
69
|
+
fill: currentColor;
|
|
70
|
+
vertical-align: text-bottom;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.pantsdown .anchor:focus {
|
|
74
|
+
outline: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.pantsdown h1 .anchor.octicon-link:after,
|
|
78
|
+
.pantsdown h2 .anchor.octicon-link:after,
|
|
79
|
+
.pantsdown h3 .anchor.octicon-link:after,
|
|
80
|
+
.pantsdown h4 .anchor.octicon-link:after,
|
|
81
|
+
.pantsdown h5 .anchor.octicon-link:after,
|
|
82
|
+
.pantsdown h6 .anchor.octicon-link:after {
|
|
83
|
+
width: 16px;
|
|
84
|
+
height: 16px;
|
|
85
|
+
content: " ";
|
|
86
|
+
margin-left: 10px;
|
|
87
|
+
display: inline-block;
|
|
88
|
+
vertical-align: middle;
|
|
89
|
+
background-color: currentColor;
|
|
90
|
+
color: var(--color-fg-muted);
|
|
91
|
+
-webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");
|
|
92
|
+
mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");
|
|
93
|
+
}
|
|
94
|
+
|
|
253
95
|
.pantsdown details,
|
|
254
96
|
.pantsdown figcaption,
|
|
255
97
|
.pantsdown figure {
|
|
256
98
|
display: block;
|
|
257
99
|
}
|
|
100
|
+
|
|
258
101
|
.pantsdown summary {
|
|
259
102
|
display: list-item;
|
|
260
103
|
}
|
|
104
|
+
|
|
261
105
|
.pantsdown [hidden] {
|
|
262
106
|
display: none !important;
|
|
263
107
|
}
|
|
108
|
+
|
|
264
109
|
.pantsdown a {
|
|
265
110
|
background-color: transparent;
|
|
266
|
-
color: var(--
|
|
111
|
+
color: var(--color-accent-fg);
|
|
267
112
|
text-decoration: none;
|
|
268
113
|
}
|
|
114
|
+
|
|
269
115
|
.pantsdown abbr[title] {
|
|
270
116
|
border-bottom: none;
|
|
117
|
+
-webkit-text-decoration: underline dotted;
|
|
271
118
|
text-decoration: underline dotted;
|
|
272
119
|
}
|
|
120
|
+
|
|
273
121
|
.pantsdown b,
|
|
274
122
|
.pantsdown strong {
|
|
275
|
-
font-weight:
|
|
123
|
+
font-weight: 600;
|
|
276
124
|
}
|
|
125
|
+
|
|
277
126
|
.pantsdown dfn {
|
|
278
127
|
font-style: italic;
|
|
279
128
|
}
|
|
129
|
+
|
|
280
130
|
.pantsdown h1 {
|
|
281
131
|
margin: 0.67em 0;
|
|
282
|
-
font-weight:
|
|
132
|
+
font-weight: 600;
|
|
283
133
|
padding-bottom: 0.3em;
|
|
284
134
|
font-size: 2em;
|
|
285
|
-
border-bottom: 1px solid var(--
|
|
135
|
+
border-bottom: 1px solid var(--color-border-muted);
|
|
286
136
|
}
|
|
137
|
+
|
|
287
138
|
.pantsdown mark {
|
|
288
|
-
background-color: var(--
|
|
289
|
-
color: var(--
|
|
139
|
+
background-color: var(--color-attention-subtle);
|
|
140
|
+
color: var(--color-fg-default);
|
|
290
141
|
}
|
|
142
|
+
|
|
291
143
|
.pantsdown small {
|
|
292
144
|
font-size: 90%;
|
|
293
145
|
}
|
|
146
|
+
|
|
294
147
|
.pantsdown sub,
|
|
295
148
|
.pantsdown sup {
|
|
296
149
|
font-size: 75%;
|
|
@@ -298,18 +151,22 @@
|
|
|
298
151
|
position: relative;
|
|
299
152
|
vertical-align: baseline;
|
|
300
153
|
}
|
|
154
|
+
|
|
301
155
|
.pantsdown sub {
|
|
302
156
|
bottom: -0.25em;
|
|
303
157
|
}
|
|
158
|
+
|
|
304
159
|
.pantsdown sup {
|
|
305
160
|
top: -0.5em;
|
|
306
161
|
}
|
|
162
|
+
|
|
307
163
|
.pantsdown img {
|
|
308
164
|
border-style: none;
|
|
309
165
|
max-width: 100%;
|
|
310
166
|
box-sizing: content-box;
|
|
311
|
-
background-color: var(--
|
|
167
|
+
background-color: var(--color-canvas-default);
|
|
312
168
|
}
|
|
169
|
+
|
|
313
170
|
.pantsdown code,
|
|
314
171
|
.pantsdown kbd,
|
|
315
172
|
.pantsdown pre,
|
|
@@ -317,20 +174,23 @@
|
|
|
317
174
|
font-family: monospace;
|
|
318
175
|
font-size: 1em;
|
|
319
176
|
}
|
|
177
|
+
|
|
320
178
|
.pantsdown figure {
|
|
321
179
|
margin: 1em 40px;
|
|
322
180
|
}
|
|
181
|
+
|
|
323
182
|
.pantsdown hr {
|
|
324
183
|
box-sizing: content-box;
|
|
325
184
|
overflow: hidden;
|
|
326
185
|
background: transparent;
|
|
327
|
-
border-bottom: 1px solid var(--
|
|
186
|
+
border-bottom: 1px solid var(--color-border-muted);
|
|
328
187
|
height: 0.25em;
|
|
329
188
|
padding: 0;
|
|
330
189
|
margin: 24px 0;
|
|
331
|
-
background-color: var(--
|
|
190
|
+
background-color: var(--color-border-default);
|
|
332
191
|
border: 0;
|
|
333
192
|
}
|
|
193
|
+
|
|
334
194
|
.pantsdown input {
|
|
335
195
|
font: inherit;
|
|
336
196
|
margin: 0;
|
|
@@ -339,49 +199,60 @@
|
|
|
339
199
|
font-size: inherit;
|
|
340
200
|
line-height: inherit;
|
|
341
201
|
}
|
|
202
|
+
|
|
342
203
|
.pantsdown [type="button"],
|
|
343
204
|
.pantsdown [type="reset"],
|
|
344
205
|
.pantsdown [type="submit"] {
|
|
345
|
-
-webkit-appearance: button;
|
|
346
206
|
appearance: button;
|
|
207
|
+
-webkit-appearance: button;
|
|
347
208
|
}
|
|
209
|
+
|
|
348
210
|
.pantsdown [type="checkbox"],
|
|
349
211
|
.pantsdown [type="radio"] {
|
|
350
212
|
box-sizing: border-box;
|
|
351
213
|
padding: 0;
|
|
352
214
|
}
|
|
215
|
+
|
|
353
216
|
.pantsdown [type="number"]::-webkit-inner-spin-button,
|
|
354
217
|
.pantsdown [type="number"]::-webkit-outer-spin-button {
|
|
355
218
|
height: auto;
|
|
356
219
|
}
|
|
220
|
+
|
|
357
221
|
.pantsdown [type="search"]::-webkit-search-cancel-button,
|
|
358
222
|
.pantsdown [type="search"]::-webkit-search-decoration {
|
|
359
223
|
-webkit-appearance: none;
|
|
360
224
|
}
|
|
225
|
+
|
|
361
226
|
.pantsdown ::-webkit-input-placeholder {
|
|
362
227
|
color: inherit;
|
|
363
228
|
opacity: 0.54;
|
|
364
229
|
}
|
|
230
|
+
|
|
365
231
|
.pantsdown ::-webkit-file-upload-button {
|
|
366
232
|
-webkit-appearance: button;
|
|
367
233
|
font: inherit;
|
|
368
234
|
}
|
|
235
|
+
|
|
369
236
|
.pantsdown a:hover {
|
|
370
237
|
text-decoration: underline;
|
|
371
238
|
}
|
|
239
|
+
|
|
372
240
|
.pantsdown ::placeholder {
|
|
373
|
-
color: var(--
|
|
241
|
+
color: var(--color-fg-subtle);
|
|
374
242
|
opacity: 1;
|
|
375
243
|
}
|
|
244
|
+
|
|
376
245
|
.pantsdown hr::before {
|
|
377
246
|
display: table;
|
|
378
247
|
content: "";
|
|
379
248
|
}
|
|
249
|
+
|
|
380
250
|
.pantsdown hr::after {
|
|
381
251
|
display: table;
|
|
382
252
|
clear: both;
|
|
383
253
|
content: "";
|
|
384
254
|
}
|
|
255
|
+
|
|
385
256
|
.pantsdown table {
|
|
386
257
|
border-spacing: 0;
|
|
387
258
|
border-collapse: collapse;
|
|
@@ -390,13 +261,54 @@
|
|
|
390
261
|
max-width: 100%;
|
|
391
262
|
overflow: auto;
|
|
392
263
|
}
|
|
264
|
+
|
|
393
265
|
.pantsdown td,
|
|
394
266
|
.pantsdown th {
|
|
395
267
|
padding: 0;
|
|
396
268
|
}
|
|
269
|
+
|
|
397
270
|
.pantsdown details summary {
|
|
398
271
|
cursor: pointer;
|
|
399
272
|
}
|
|
273
|
+
|
|
274
|
+
.pantsdown details:not([open]) > *:not(summary) {
|
|
275
|
+
display: none !important;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.pantsdown a:focus,
|
|
279
|
+
.pantsdown [role="button"]:focus,
|
|
280
|
+
.pantsdown input[type="radio"]:focus,
|
|
281
|
+
.pantsdown input[type="checkbox"]:focus {
|
|
282
|
+
outline: 2px solid var(--color-accent-fg);
|
|
283
|
+
outline-offset: -2px;
|
|
284
|
+
box-shadow: none;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.pantsdown a:focus:not(:focus-visible),
|
|
288
|
+
.pantsdown [role="button"]:focus:not(:focus-visible),
|
|
289
|
+
.pantsdown input[type="radio"]:focus:not(:focus-visible),
|
|
290
|
+
.pantsdown input[type="checkbox"]:focus:not(:focus-visible) {
|
|
291
|
+
outline: solid 1px transparent;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.pantsdown a:focus-visible,
|
|
295
|
+
.pantsdown [role="button"]:focus-visible,
|
|
296
|
+
.pantsdown input[type="radio"]:focus-visible,
|
|
297
|
+
.pantsdown input[type="checkbox"]:focus-visible {
|
|
298
|
+
outline: 2px solid var(--color-accent-fg);
|
|
299
|
+
outline-offset: -2px;
|
|
300
|
+
box-shadow: none;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.pantsdown a:not([class]):focus,
|
|
304
|
+
.pantsdown a:not([class]):focus-visible,
|
|
305
|
+
.pantsdown input[type="radio"]:focus,
|
|
306
|
+
.pantsdown input[type="radio"]:focus-visible,
|
|
307
|
+
.pantsdown input[type="checkbox"]:focus,
|
|
308
|
+
.pantsdown input[type="checkbox"]:focus-visible {
|
|
309
|
+
outline-offset: 0;
|
|
310
|
+
}
|
|
311
|
+
|
|
400
312
|
.pantsdown kbd {
|
|
401
313
|
display: inline-block;
|
|
402
314
|
padding: 3px 5px;
|
|
@@ -409,14 +321,15 @@
|
|
|
409
321
|
Liberation Mono,
|
|
410
322
|
monospace;
|
|
411
323
|
line-height: 10px;
|
|
412
|
-
color: var(--
|
|
324
|
+
color: var(--color-fg-default);
|
|
413
325
|
vertical-align: middle;
|
|
414
|
-
background-color: var(--
|
|
415
|
-
border: solid 1px var(--
|
|
416
|
-
border-bottom-color: var(--
|
|
326
|
+
background-color: var(--color-canvas-subtle);
|
|
327
|
+
border: solid 1px var(--color-neutral-muted);
|
|
328
|
+
border-bottom-color: var(--color-neutral-muted);
|
|
417
329
|
border-radius: 6px;
|
|
418
|
-
box-shadow: inset 0 -1px 0 var(--
|
|
330
|
+
box-shadow: inset 0 -1px 0 var(--color-neutral-muted);
|
|
419
331
|
}
|
|
332
|
+
|
|
420
333
|
.pantsdown h1,
|
|
421
334
|
.pantsdown h2,
|
|
422
335
|
.pantsdown h3,
|
|
@@ -425,65 +338,73 @@
|
|
|
425
338
|
.pantsdown h6 {
|
|
426
339
|
margin-top: 24px;
|
|
427
340
|
margin-bottom: 16px;
|
|
428
|
-
font-weight:
|
|
341
|
+
font-weight: 600;
|
|
429
342
|
line-height: 1.25;
|
|
430
343
|
}
|
|
344
|
+
|
|
431
345
|
.pantsdown h2 {
|
|
432
|
-
font-weight:
|
|
346
|
+
font-weight: 600;
|
|
433
347
|
padding-bottom: 0.3em;
|
|
434
348
|
font-size: 1.5em;
|
|
435
|
-
border-bottom: 1px solid var(--
|
|
349
|
+
border-bottom: 1px solid var(--color-border-muted);
|
|
436
350
|
}
|
|
351
|
+
|
|
437
352
|
.pantsdown h3 {
|
|
438
|
-
font-weight:
|
|
353
|
+
font-weight: 600;
|
|
439
354
|
font-size: 1.25em;
|
|
440
355
|
}
|
|
356
|
+
|
|
441
357
|
.pantsdown h4 {
|
|
442
|
-
font-weight:
|
|
358
|
+
font-weight: 600;
|
|
443
359
|
font-size: 1em;
|
|
444
360
|
}
|
|
361
|
+
|
|
445
362
|
.pantsdown h5 {
|
|
446
|
-
font-weight:
|
|
363
|
+
font-weight: 600;
|
|
447
364
|
font-size: 0.875em;
|
|
448
365
|
}
|
|
366
|
+
|
|
449
367
|
.pantsdown h6 {
|
|
450
|
-
font-weight:
|
|
368
|
+
font-weight: 600;
|
|
451
369
|
font-size: 0.85em;
|
|
452
|
-
color: var(--
|
|
370
|
+
color: var(--color-fg-muted);
|
|
453
371
|
}
|
|
372
|
+
|
|
454
373
|
.pantsdown p {
|
|
455
374
|
margin-top: 0;
|
|
456
375
|
margin-bottom: 10px;
|
|
457
376
|
}
|
|
377
|
+
|
|
458
378
|
.pantsdown blockquote {
|
|
459
379
|
margin: 0;
|
|
460
380
|
padding: 0 1em;
|
|
461
|
-
color: var(--
|
|
462
|
-
border-left: 0.25em solid var(--
|
|
463
|
-
}
|
|
464
|
-
#markdown-element-id > ul,
|
|
465
|
-
#markdown-element-id > ol {
|
|
466
|
-
padding-left: 1em;
|
|
381
|
+
color: var(--color-fg-muted);
|
|
382
|
+
border-left: 0.25em solid var(--color-border-default);
|
|
467
383
|
}
|
|
384
|
+
|
|
468
385
|
.pantsdown ul,
|
|
469
386
|
.pantsdown ol {
|
|
470
387
|
margin-top: 0;
|
|
471
388
|
margin-bottom: 0;
|
|
472
389
|
padding-left: 2em;
|
|
473
390
|
}
|
|
391
|
+
|
|
474
392
|
.pantsdown ol ol,
|
|
475
393
|
.pantsdown ul ol {
|
|
476
394
|
list-style-type: lower-roman;
|
|
477
395
|
}
|
|
396
|
+
|
|
478
397
|
.pantsdown ul ul ol,
|
|
479
398
|
.pantsdown ul ol ol,
|
|
480
399
|
.pantsdown ol ul ol,
|
|
481
400
|
.pantsdown ol ol ol {
|
|
482
401
|
list-style-type: lower-alpha;
|
|
483
402
|
}
|
|
403
|
+
|
|
484
404
|
.pantsdown dd {
|
|
485
405
|
margin-left: 0;
|
|
486
406
|
}
|
|
407
|
+
|
|
487
408
|
.pantsdown tt,
|
|
488
409
|
.pantsdown code,
|
|
489
410
|
.pantsdown samp {
|
|
@@ -497,6 +418,7 @@
|
|
|
497
418
|
monospace;
|
|
498
419
|
font-size: 12px;
|
|
499
420
|
}
|
|
421
|
+
|
|
500
422
|
.pantsdown pre {
|
|
501
423
|
margin-top: 0;
|
|
502
424
|
margin-bottom: 0;
|
|
@@ -511,31 +433,49 @@
|
|
|
511
433
|
font-size: 12px;
|
|
512
434
|
word-wrap: normal;
|
|
513
435
|
}
|
|
436
|
+
|
|
437
|
+
.pantsdown .octicon {
|
|
438
|
+
display: inline-block;
|
|
439
|
+
overflow: visible !important;
|
|
440
|
+
vertical-align: text-bottom;
|
|
441
|
+
fill: currentColor;
|
|
442
|
+
}
|
|
443
|
+
|
|
514
444
|
.pantsdown input::-webkit-outer-spin-button,
|
|
515
445
|
.pantsdown input::-webkit-inner-spin-button {
|
|
516
446
|
margin: 0;
|
|
517
447
|
-webkit-appearance: none;
|
|
518
448
|
appearance: none;
|
|
519
449
|
}
|
|
450
|
+
|
|
520
451
|
.pantsdown::before {
|
|
521
452
|
display: table;
|
|
522
453
|
content: "";
|
|
523
454
|
}
|
|
455
|
+
|
|
524
456
|
.pantsdown::after {
|
|
525
457
|
display: table;
|
|
526
458
|
clear: both;
|
|
527
459
|
content: "";
|
|
528
460
|
}
|
|
461
|
+
|
|
529
462
|
.pantsdown > *:first-child {
|
|
530
463
|
margin-top: 0 !important;
|
|
531
464
|
}
|
|
465
|
+
|
|
532
466
|
.pantsdown > *:last-child {
|
|
533
467
|
margin-bottom: 0 !important;
|
|
534
468
|
}
|
|
469
|
+
|
|
535
470
|
.pantsdown a:not([href]) {
|
|
536
471
|
color: inherit;
|
|
537
472
|
text-decoration: none;
|
|
538
473
|
}
|
|
474
|
+
|
|
475
|
+
.pantsdown .absent {
|
|
476
|
+
color: var(--color-danger-fg);
|
|
477
|
+
}
|
|
478
|
+
|
|
539
479
|
.pantsdown p,
|
|
540
480
|
.pantsdown blockquote,
|
|
541
481
|
.pantsdown ul,
|
|
@@ -547,12 +487,15 @@
|
|
|
547
487
|
margin-top: 0;
|
|
548
488
|
margin-bottom: 16px;
|
|
549
489
|
}
|
|
490
|
+
|
|
550
491
|
.pantsdown blockquote > :first-child {
|
|
551
492
|
margin-top: 0;
|
|
552
493
|
}
|
|
494
|
+
|
|
553
495
|
.pantsdown blockquote > :last-child {
|
|
554
496
|
margin-bottom: 0;
|
|
555
497
|
}
|
|
498
|
+
|
|
556
499
|
.pantsdown h1 tt,
|
|
557
500
|
.pantsdown h1 code,
|
|
558
501
|
.pantsdown h2 tt,
|
|
@@ -568,6 +511,7 @@
|
|
|
568
511
|
padding: 0 0.2em;
|
|
569
512
|
font-size: inherit;
|
|
570
513
|
}
|
|
514
|
+
|
|
571
515
|
.pantsdown summary h1,
|
|
572
516
|
.pantsdown summary h2,
|
|
573
517
|
.pantsdown summary h3,
|
|
@@ -576,29 +520,52 @@
|
|
|
576
520
|
.pantsdown summary h6 {
|
|
577
521
|
display: inline-block;
|
|
578
522
|
}
|
|
523
|
+
|
|
524
|
+
.pantsdown summary h1 .anchor,
|
|
525
|
+
.pantsdown summary h2 .anchor,
|
|
526
|
+
.pantsdown summary h3 .anchor,
|
|
527
|
+
.pantsdown summary h4 .anchor,
|
|
528
|
+
.pantsdown summary h5 .anchor,
|
|
529
|
+
.pantsdown summary h6 .anchor {
|
|
530
|
+
margin-left: -40px;
|
|
531
|
+
}
|
|
532
|
+
|
|
579
533
|
.pantsdown summary h1,
|
|
580
534
|
.pantsdown summary h2 {
|
|
581
535
|
padding-bottom: 0;
|
|
582
536
|
border-bottom: 0;
|
|
583
537
|
}
|
|
538
|
+
|
|
539
|
+
.pantsdown ul.no-list,
|
|
540
|
+
.pantsdown ol.no-list {
|
|
541
|
+
padding: 0;
|
|
542
|
+
list-style-type: none;
|
|
543
|
+
}
|
|
544
|
+
|
|
584
545
|
.pantsdown ol[type="a s"] {
|
|
585
546
|
list-style-type: lower-alpha;
|
|
586
547
|
}
|
|
548
|
+
|
|
587
549
|
.pantsdown ol[type="A s"] {
|
|
588
550
|
list-style-type: upper-alpha;
|
|
589
551
|
}
|
|
552
|
+
|
|
590
553
|
.pantsdown ol[type="i s"] {
|
|
591
554
|
list-style-type: lower-roman;
|
|
592
555
|
}
|
|
556
|
+
|
|
593
557
|
.pantsdown ol[type="I s"] {
|
|
594
558
|
list-style-type: upper-roman;
|
|
595
559
|
}
|
|
560
|
+
|
|
596
561
|
.pantsdown ol[type="1"] {
|
|
597
562
|
list-style-type: decimal;
|
|
598
563
|
}
|
|
564
|
+
|
|
599
565
|
.pantsdown div > ol:not([type]) {
|
|
600
566
|
list-style-type: decimal;
|
|
601
567
|
}
|
|
568
|
+
|
|
602
569
|
.pantsdown ul ul,
|
|
603
570
|
.pantsdown ul ol,
|
|
604
571
|
.pantsdown ol ol,
|
|
@@ -606,77 +573,189 @@
|
|
|
606
573
|
margin-top: 0;
|
|
607
574
|
margin-bottom: 0;
|
|
608
575
|
}
|
|
576
|
+
|
|
609
577
|
.pantsdown li > p {
|
|
610
578
|
margin-top: 16px;
|
|
611
579
|
}
|
|
612
|
-
|
|
580
|
+
|
|
613
581
|
/* .pantsdown li + li { */
|
|
614
582
|
.pantsdown li {
|
|
615
583
|
margin-top: 0.25em;
|
|
616
584
|
}
|
|
585
|
+
|
|
617
586
|
.pantsdown dl {
|
|
618
587
|
padding: 0;
|
|
619
588
|
}
|
|
589
|
+
|
|
620
590
|
.pantsdown dl dt {
|
|
621
591
|
padding: 0;
|
|
622
592
|
margin-top: 16px;
|
|
623
593
|
font-size: 1em;
|
|
624
594
|
font-style: italic;
|
|
625
|
-
font-weight:
|
|
595
|
+
font-weight: 600;
|
|
626
596
|
}
|
|
597
|
+
|
|
627
598
|
.pantsdown dl dd {
|
|
628
599
|
padding: 0 16px;
|
|
629
600
|
margin-bottom: 16px;
|
|
630
601
|
}
|
|
602
|
+
|
|
631
603
|
.pantsdown table th {
|
|
632
|
-
font-weight:
|
|
604
|
+
font-weight: 600;
|
|
633
605
|
}
|
|
606
|
+
|
|
634
607
|
.pantsdown table th,
|
|
635
608
|
.pantsdown table td {
|
|
636
609
|
padding: 6px 13px;
|
|
637
|
-
border: 1px solid var(--
|
|
610
|
+
border: 1px solid var(--color-border-default);
|
|
638
611
|
}
|
|
612
|
+
|
|
639
613
|
.pantsdown table td > :last-child {
|
|
640
614
|
margin-bottom: 0;
|
|
641
615
|
}
|
|
616
|
+
|
|
642
617
|
.pantsdown table tr {
|
|
643
|
-
background-color: var(--
|
|
644
|
-
border-top: 1px solid var(--
|
|
618
|
+
background-color: var(--color-canvas-default);
|
|
619
|
+
border-top: 1px solid var(--color-border-muted);
|
|
645
620
|
}
|
|
621
|
+
|
|
646
622
|
.pantsdown table tr:nth-child(2n) {
|
|
647
|
-
background-color: var(--
|
|
623
|
+
background-color: var(--color-canvas-subtle);
|
|
648
624
|
}
|
|
625
|
+
|
|
649
626
|
.pantsdown table img {
|
|
650
627
|
background-color: transparent;
|
|
651
628
|
}
|
|
629
|
+
|
|
652
630
|
.pantsdown img[align="right"] {
|
|
653
631
|
padding-left: 20px;
|
|
654
632
|
}
|
|
633
|
+
|
|
655
634
|
.pantsdown img[align="left"] {
|
|
656
635
|
padding-right: 20px;
|
|
657
636
|
}
|
|
637
|
+
|
|
638
|
+
.pantsdown .emoji {
|
|
639
|
+
max-width: none;
|
|
640
|
+
vertical-align: text-top;
|
|
641
|
+
background-color: transparent;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.pantsdown span.frame {
|
|
645
|
+
display: block;
|
|
646
|
+
overflow: hidden;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.pantsdown span.frame > span {
|
|
650
|
+
display: block;
|
|
651
|
+
float: left;
|
|
652
|
+
width: auto;
|
|
653
|
+
padding: 7px;
|
|
654
|
+
margin: 13px 0 0;
|
|
655
|
+
overflow: hidden;
|
|
656
|
+
border: 1px solid var(--color-border-default);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.pantsdown span.frame span img {
|
|
660
|
+
display: block;
|
|
661
|
+
float: left;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.pantsdown span.frame span span {
|
|
665
|
+
display: block;
|
|
666
|
+
padding: 5px 0 0;
|
|
667
|
+
clear: both;
|
|
668
|
+
color: var(--color-fg-default);
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.pantsdown span.align-center {
|
|
672
|
+
display: block;
|
|
673
|
+
overflow: hidden;
|
|
674
|
+
clear: both;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.pantsdown span.align-center > span {
|
|
678
|
+
display: block;
|
|
679
|
+
margin: 13px auto 0;
|
|
680
|
+
overflow: hidden;
|
|
681
|
+
text-align: center;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.pantsdown span.align-center span img {
|
|
685
|
+
margin: 0 auto;
|
|
686
|
+
text-align: center;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.pantsdown span.align-right {
|
|
690
|
+
display: block;
|
|
691
|
+
overflow: hidden;
|
|
692
|
+
clear: both;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.pantsdown span.align-right > span {
|
|
696
|
+
display: block;
|
|
697
|
+
margin: 13px 0 0;
|
|
698
|
+
overflow: hidden;
|
|
699
|
+
text-align: right;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
.pantsdown span.align-right span img {
|
|
703
|
+
margin: 0;
|
|
704
|
+
text-align: right;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.pantsdown span.float-left {
|
|
708
|
+
display: block;
|
|
709
|
+
float: left;
|
|
710
|
+
margin-right: 13px;
|
|
711
|
+
overflow: hidden;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.pantsdown span.float-left span {
|
|
715
|
+
margin: 13px 0 0;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.pantsdown span.float-right {
|
|
719
|
+
display: block;
|
|
720
|
+
float: right;
|
|
721
|
+
margin-left: 13px;
|
|
722
|
+
overflow: hidden;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
.pantsdown span.float-right > span {
|
|
726
|
+
display: block;
|
|
727
|
+
margin: 13px auto 0;
|
|
728
|
+
overflow: hidden;
|
|
729
|
+
text-align: right;
|
|
730
|
+
}
|
|
731
|
+
|
|
658
732
|
.pantsdown code,
|
|
659
733
|
.pantsdown tt {
|
|
660
734
|
padding: 0.2em 0.4em;
|
|
661
735
|
margin: 0;
|
|
662
736
|
font-size: 85%;
|
|
663
737
|
white-space: break-spaces;
|
|
664
|
-
background-color: var(--
|
|
738
|
+
background-color: var(--color-neutral-muted);
|
|
665
739
|
border-radius: 6px;
|
|
666
740
|
}
|
|
741
|
+
|
|
667
742
|
.pantsdown code br,
|
|
668
743
|
.pantsdown tt br {
|
|
669
744
|
display: none;
|
|
670
745
|
}
|
|
746
|
+
|
|
671
747
|
.pantsdown del code {
|
|
672
748
|
text-decoration: inherit;
|
|
673
749
|
}
|
|
750
|
+
|
|
674
751
|
.pantsdown samp {
|
|
675
752
|
font-size: 85%;
|
|
676
753
|
}
|
|
754
|
+
|
|
677
755
|
.pantsdown pre code {
|
|
678
756
|
font-size: 100%;
|
|
679
757
|
}
|
|
758
|
+
|
|
680
759
|
.pantsdown pre > code {
|
|
681
760
|
padding: 0;
|
|
682
761
|
margin: 0;
|
|
@@ -685,23 +764,27 @@
|
|
|
685
764
|
background: transparent;
|
|
686
765
|
border: 0;
|
|
687
766
|
}
|
|
767
|
+
|
|
688
768
|
.pantsdown .highlight {
|
|
689
769
|
margin-bottom: 16px;
|
|
690
770
|
}
|
|
771
|
+
|
|
691
772
|
.pantsdown .highlight pre {
|
|
692
773
|
margin-bottom: 0;
|
|
693
774
|
word-break: normal;
|
|
694
775
|
}
|
|
776
|
+
|
|
695
777
|
.pantsdown .highlight pre,
|
|
696
778
|
.pantsdown pre {
|
|
697
779
|
padding: 16px;
|
|
698
780
|
overflow: auto;
|
|
699
781
|
font-size: 85%;
|
|
700
782
|
line-height: 1.45;
|
|
701
|
-
color: var(--
|
|
702
|
-
background-color: var(--
|
|
783
|
+
color: var(--color-fg-default);
|
|
784
|
+
background-color: var(--color-canvas-subtle);
|
|
703
785
|
border-radius: 6px;
|
|
704
786
|
}
|
|
787
|
+
|
|
705
788
|
.pantsdown pre code,
|
|
706
789
|
.pantsdown pre tt {
|
|
707
790
|
display: inline;
|
|
@@ -714,3 +797,387 @@
|
|
|
714
797
|
background-color: transparent;
|
|
715
798
|
border: 0;
|
|
716
799
|
}
|
|
800
|
+
|
|
801
|
+
.pantsdown .csv-data td,
|
|
802
|
+
.pantsdown .csv-data th {
|
|
803
|
+
padding: 5px;
|
|
804
|
+
overflow: hidden;
|
|
805
|
+
font-size: 12px;
|
|
806
|
+
line-height: 1;
|
|
807
|
+
text-align: left;
|
|
808
|
+
white-space: nowrap;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.pantsdown .csv-data .blob-num {
|
|
812
|
+
padding: 10px 8px 9px;
|
|
813
|
+
text-align: right;
|
|
814
|
+
background: var(--color-canvas-default);
|
|
815
|
+
border: 0;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
.pantsdown .csv-data tr {
|
|
819
|
+
border-top: 0;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.pantsdown .csv-data th {
|
|
823
|
+
font-weight: 600;
|
|
824
|
+
background: var(--color-canvas-subtle);
|
|
825
|
+
border-top: 0;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.pantsdown [data-footnote-ref]::before {
|
|
829
|
+
content: "[";
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.pantsdown [data-footnote-ref]::after {
|
|
833
|
+
content: "]";
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.pantsdown .footnotes {
|
|
837
|
+
font-size: 12px;
|
|
838
|
+
color: var(--color-fg-muted);
|
|
839
|
+
border-top: 1px solid var(--color-border-default);
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.pantsdown .footnotes ol {
|
|
843
|
+
padding-left: 16px;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.pantsdown .footnotes ol ul {
|
|
847
|
+
display: inline-block;
|
|
848
|
+
padding-left: 16px;
|
|
849
|
+
margin-top: 16px;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
.pantsdown .footnotes li {
|
|
853
|
+
position: relative;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.pantsdown .footnotes li:target::before {
|
|
857
|
+
position: absolute;
|
|
858
|
+
top: -8px;
|
|
859
|
+
right: -8px;
|
|
860
|
+
bottom: -8px;
|
|
861
|
+
left: -24px;
|
|
862
|
+
pointer-events: none;
|
|
863
|
+
content: "";
|
|
864
|
+
border: 2px solid var(--color-accent-emphasis);
|
|
865
|
+
border-radius: 6px;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
.pantsdown .footnotes li:target {
|
|
869
|
+
color: var(--color-fg-default);
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.pantsdown .footnotes .data-footnote-backref g-emoji {
|
|
873
|
+
font-family: monospace;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.pantsdown g-emoji {
|
|
877
|
+
display: inline-block;
|
|
878
|
+
min-width: 1ch;
|
|
879
|
+
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
880
|
+
font-size: 1em;
|
|
881
|
+
font-style: normal !important;
|
|
882
|
+
font-weight: 400;
|
|
883
|
+
line-height: 1;
|
|
884
|
+
vertical-align: -0.075em;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.pantsdown g-emoji img {
|
|
888
|
+
width: 1em;
|
|
889
|
+
height: 1em;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.pantsdown .task-list-item {
|
|
893
|
+
list-style-type: none;
|
|
894
|
+
margin-top: 4px;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.pantsdown .task-list-item label {
|
|
898
|
+
font-weight: 400;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.pantsdown .task-list-item.enabled label {
|
|
902
|
+
cursor: pointer;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/* .pantsdown .task-list-item + .task-list-item { */
|
|
906
|
+
/* margin-top: 4px; */
|
|
907
|
+
/* } */
|
|
908
|
+
|
|
909
|
+
.pantsdown .task-list-item .handle {
|
|
910
|
+
display: none;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.pantsdown .task-list-item-checkbox {
|
|
914
|
+
margin: 0 0.2em 0.25em -1.4em;
|
|
915
|
+
vertical-align: middle;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
.pantsdown .contains-task-list:dir(rtl) .task-list-item-checkbox {
|
|
919
|
+
margin: 0 -1.6em 0.25em 0.2em;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.pantsdown .contains-task-list {
|
|
923
|
+
position: relative;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
.pantsdown .contains-task-list:hover .task-list-item-convert-container,
|
|
927
|
+
.pantsdown .contains-task-list:focus-within .task-list-item-convert-container {
|
|
928
|
+
display: block;
|
|
929
|
+
width: auto;
|
|
930
|
+
height: 24px;
|
|
931
|
+
overflow: visible;
|
|
932
|
+
clip: auto;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
.pantsdown ::-webkit-calendar-picker-indicator {
|
|
936
|
+
filter: invert(50%);
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
/*
|
|
940
|
+
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
941
|
+
* *
|
|
942
|
+
* highlight.js github LIGHT *
|
|
943
|
+
* *
|
|
944
|
+
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
945
|
+
*
|
|
946
|
+
* https://github.com/highlightjs/highlight.js/blob/main/src/styles/github.css */
|
|
947
|
+
|
|
948
|
+
.pantsdown.light .hljs {
|
|
949
|
+
color: #24292e;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
.pantsdown.light .hljs-doctag,
|
|
953
|
+
.pantsdown.light .hljs-keyword,
|
|
954
|
+
.pantsdown.light .hljs-meta .hljs-keyword,
|
|
955
|
+
.pantsdown.light .hljs-template-tag,
|
|
956
|
+
.pantsdown.light .hljs-template-variable,
|
|
957
|
+
.pantsdown.light .hljs-type,
|
|
958
|
+
.pantsdown.light .hljs-variable.language_ {
|
|
959
|
+
/* prettylights-syntax-keyword */
|
|
960
|
+
color: #d73a49;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
.pantsdown.light .hljs-title,
|
|
964
|
+
.pantsdown.light .hljs-title.class_,
|
|
965
|
+
.pantsdown.light .hljs-title.class_.inherited__,
|
|
966
|
+
.pantsdown.light .hljs-title.function_ {
|
|
967
|
+
/* prettylights-syntax-entity */
|
|
968
|
+
color: #6f42c1;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
.pantsdown.light .hljs-attr,
|
|
972
|
+
.pantsdown.light .hljs-attribute,
|
|
973
|
+
.pantsdown.light .hljs-literal,
|
|
974
|
+
.pantsdown.light .hljs-meta,
|
|
975
|
+
.pantsdown.light .hljs-number,
|
|
976
|
+
.pantsdown.light .hljs-operator,
|
|
977
|
+
.pantsdown.light .hljs-variable,
|
|
978
|
+
.pantsdown.light .hljs-selector-attr,
|
|
979
|
+
.pantsdown.light .hljs-selector-class,
|
|
980
|
+
.pantsdown.light .hljs-selector-id {
|
|
981
|
+
/* prettylights-syntax-constant */
|
|
982
|
+
color: #005cc5;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.pantsdown.light .hljs-regexp,
|
|
986
|
+
.pantsdown.light .hljs-string,
|
|
987
|
+
.pantsdown.light .hljs-meta .hljs-string {
|
|
988
|
+
/* prettylights-syntax-string */
|
|
989
|
+
color: #032f62;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.pantsdown.light .hljs-built_in,
|
|
993
|
+
.pantsdown.light .hljs-symbol {
|
|
994
|
+
/* prettylights-syntax-variable */
|
|
995
|
+
color: #e36209;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
.pantsdown.light .hljs-comment,
|
|
999
|
+
.pantsdown.light .hljs-code,
|
|
1000
|
+
.pantsdown.light .hljs-formula {
|
|
1001
|
+
/* prettylights-syntax-comment */
|
|
1002
|
+
color: #6a737d;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.pantsdown.light .hljs-name,
|
|
1006
|
+
.pantsdown.light .hljs-quote,
|
|
1007
|
+
.pantsdown.light .hljs-selector-tag,
|
|
1008
|
+
.pantsdown.light .hljs-selector-pseudo {
|
|
1009
|
+
/* prettylights-syntax-entity-tag */
|
|
1010
|
+
color: #22863a;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.pantsdown.light .hljs-subst {
|
|
1014
|
+
/* prettylights-syntax-storage-modifier-import */
|
|
1015
|
+
color: #24292e;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.pantsdown.light .hljs-section {
|
|
1019
|
+
/* prettylights-syntax-markup-heading */
|
|
1020
|
+
color: #005cc5;
|
|
1021
|
+
font-weight: bold;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
.pantsdown.light .hljs-bullet {
|
|
1025
|
+
/* prettylights-syntax-markup-list */
|
|
1026
|
+
color: #735c0f;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
.pantsdown.light .hljs-emphasis {
|
|
1030
|
+
/* prettylights-syntax-markup-italic */
|
|
1031
|
+
color: #24292e;
|
|
1032
|
+
font-style: italic;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
.pantsdown.light .hljs-strong {
|
|
1036
|
+
/* prettylights-syntax-markup-bold */
|
|
1037
|
+
color: #24292e;
|
|
1038
|
+
font-weight: bold;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
.pantsdown.light .hljs-addition {
|
|
1042
|
+
/* prettylights-syntax-markup-inserted */
|
|
1043
|
+
color: #22863a;
|
|
1044
|
+
background-color: #f0fff4;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.pantsdown.light .hljs-deletion {
|
|
1048
|
+
/* prettylights-syntax-markup-deleted */
|
|
1049
|
+
color: #b31d28;
|
|
1050
|
+
background-color: #ffeef0;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/* .pantsdown.light .hljs-char.escape_, */
|
|
1054
|
+
/* .pantsdown.light .hljs-link, */
|
|
1055
|
+
/* .pantsdown.light .hljs-params, */
|
|
1056
|
+
/* .pantsdown.light .hljs-property, */
|
|
1057
|
+
/* .pantsdown.light .hljs-punctuation, */
|
|
1058
|
+
/* .pantsdown.light .hljs-tag { */
|
|
1059
|
+
/* /1* purposely ignored *1/ */
|
|
1060
|
+
/* } */
|
|
1061
|
+
|
|
1062
|
+
/*
|
|
1063
|
+
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
1064
|
+
* *
|
|
1065
|
+
* highlight.js github dark *
|
|
1066
|
+
* *
|
|
1067
|
+
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
1068
|
+
*
|
|
1069
|
+
* https://github.com/highlightjs/highlight.js/blob/main/src/styles/github.css */
|
|
1070
|
+
|
|
1071
|
+
.pantsdown.dark .hljs {
|
|
1072
|
+
color: #c9d1d9;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
.pantsdown.dark .hljs-doctag,
|
|
1076
|
+
.pantsdown.dark .hljs-keyword,
|
|
1077
|
+
.pantsdown.dark .hljs-meta .hljs-keyword,
|
|
1078
|
+
.pantsdown.dark .hljs-template-tag,
|
|
1079
|
+
.pantsdown.dark .hljs-template-variable,
|
|
1080
|
+
.pantsdown.dark .hljs-type,
|
|
1081
|
+
.pantsdown.dark .hljs-variable.language_ {
|
|
1082
|
+
/* prettylights-syntax-keyword */
|
|
1083
|
+
color: #ff7b72;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.pantsdown.dark .hljs-title,
|
|
1087
|
+
.pantsdown.dark .hljs-title.class_,
|
|
1088
|
+
.pantsdown.dark .hljs-title.class_.inherited__,
|
|
1089
|
+
.pantsdown.dark .hljs-title.function_ {
|
|
1090
|
+
/* prettylights-syntax-entity */
|
|
1091
|
+
color: #d2a8ff;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.pantsdown.dark .hljs-attr,
|
|
1095
|
+
.pantsdown.dark .hljs-attribute,
|
|
1096
|
+
.pantsdown.dark .hljs-literal,
|
|
1097
|
+
.pantsdown.dark .hljs-meta,
|
|
1098
|
+
.pantsdown.dark .hljs-number,
|
|
1099
|
+
.pantsdown.dark .hljs-operator,
|
|
1100
|
+
.pantsdown.dark .hljs-variable,
|
|
1101
|
+
.pantsdown.dark .hljs-selector-attr,
|
|
1102
|
+
.pantsdown.dark .hljs-selector-class,
|
|
1103
|
+
.pantsdown.dark .hljs-selector-id {
|
|
1104
|
+
/* prettylights-syntax-constant */
|
|
1105
|
+
color: #79c0ff;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
.pantsdown.dark .hljs-regexp,
|
|
1109
|
+
.pantsdown.dark .hljs-string,
|
|
1110
|
+
.pantsdown.dark .hljs-meta .hljs-string {
|
|
1111
|
+
/* prettylights-syntax-string */
|
|
1112
|
+
color: #a5d6ff;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
.pantsdown.dark .hljs-built_in,
|
|
1116
|
+
.pantsdown.dark .hljs-symbol {
|
|
1117
|
+
/* prettylights-syntax-variable */
|
|
1118
|
+
color: #ffa657;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
.pantsdown.dark .hljs-comment,
|
|
1122
|
+
.pantsdown.dark .hljs-code,
|
|
1123
|
+
.pantsdown.dark .hljs-formula {
|
|
1124
|
+
/* prettylights-syntax-comment */
|
|
1125
|
+
color: #8b949e;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
.pantsdown.dark .hljs-name,
|
|
1129
|
+
.pantsdown.dark .hljs-quote,
|
|
1130
|
+
.pantsdown.dark .hljs-selector-tag,
|
|
1131
|
+
.pantsdown.dark .hljs-selector-pseudo {
|
|
1132
|
+
/* prettylights-syntax-entity-tag */
|
|
1133
|
+
color: #7ee787;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
.pantsdown.dark .hljs-subst {
|
|
1137
|
+
/* prettylights-syntax-storage-modifier-import */
|
|
1138
|
+
color: #c9d1d9;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.pantsdown.dark .hljs-section {
|
|
1142
|
+
/* prettylights-syntax-markup-heading */
|
|
1143
|
+
color: #1f6feb;
|
|
1144
|
+
font-weight: bold;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
.pantsdown.dark .hljs-bullet {
|
|
1148
|
+
/* prettylights-syntax-markup-list */
|
|
1149
|
+
color: #f2cc60;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.pantsdown.dark .hljs-emphasis {
|
|
1153
|
+
/* prettylights-syntax-markup-italic */
|
|
1154
|
+
color: #c9d1d9;
|
|
1155
|
+
font-style: italic;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.pantsdown.dark .hljs-strong {
|
|
1159
|
+
/* prettylights-syntax-markup-bold */
|
|
1160
|
+
color: #c9d1d9;
|
|
1161
|
+
font-weight: bold;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.pantsdown.dark .hljs-addition {
|
|
1165
|
+
/* prettylights-syntax-markup-inserted */
|
|
1166
|
+
color: #aff5b4;
|
|
1167
|
+
background-color: #033a16;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
.pantsdown.dark .hljs-deletion {
|
|
1171
|
+
/* prettylights-syntax-markup-deleted */
|
|
1172
|
+
color: #ffdcd7;
|
|
1173
|
+
background-color: #67060c;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
/* .pantsdown.dark .hljs-char.escape_, */
|
|
1177
|
+
/* .pantsdown.dark .hljs-link, */
|
|
1178
|
+
/* .pantsdown.dark .hljs-params, */
|
|
1179
|
+
/* .pantsdown.dark .hljs-property, */
|
|
1180
|
+
/* .pantsdown.dark .hljs-punctuation, */
|
|
1181
|
+
/* .pantsdown.dark .hljs-tag { */
|
|
1182
|
+
/* /1* purposely ignored *1/ */
|
|
1183
|
+
/* } */
|