pantsdown 1.2.0 → 1.3.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/styles.css +244 -244
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantsdown",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "author": "wallpants",
5
5
  "description": "The markdown parser",
6
6
  "license": "MIT",
package/styles.css CHANGED
@@ -1,4 +1,4 @@
1
- .github-styles.dark {
1
+ .pantsdown.dark {
2
2
  color-scheme: dark;
3
3
  --color-fg-default: #e6edf3;
4
4
  --color-fg-muted: #7d8590;
@@ -20,105 +20,105 @@
20
20
  --color-btn-hover-bg: #30363d;
21
21
  /*! https://github.com/highlightjs/highlight.js/blob/main/src/styles/github-dark.css */
22
22
  }
23
- .github-styles.dark .hljs {
23
+ .pantsdown.dark .hljs {
24
24
  color: #c9d1d9;
25
25
  }
26
- .github-styles.dark .hljs-doctag,
27
- .github-styles.dark .hljs-keyword,
28
- .github-styles.dark .hljs-meta .hljs-keyword,
29
- .github-styles.dark .hljs-template-tag,
30
- .github-styles.dark .hljs-template-variable,
31
- .github-styles.dark .hljs-type,
32
- .github-styles.dark .hljs-variable.language_ {
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
33
  /* prettylights-syntax-keyword */
34
34
  color: #ff7b72;
35
35
  }
36
- .github-styles.dark .hljs-title,
37
- .github-styles.dark .hljs-title.class_,
38
- .github-styles.dark .hljs-title.class_.inherited__,
39
- .github-styles.dark .hljs-title.function_ {
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
40
  /* prettylights-syntax-entity */
41
41
  color: #d2a8ff;
42
42
  }
43
- .github-styles.dark .hljs-attr,
44
- .github-styles.dark .hljs-attribute,
45
- .github-styles.dark .hljs-literal,
46
- .github-styles.dark .hljs-meta,
47
- .github-styles.dark .hljs-number,
48
- .github-styles.dark .hljs-operator,
49
- .github-styles.dark .hljs-variable,
50
- .github-styles.dark .hljs-selector-attr,
51
- .github-styles.dark .hljs-selector-class,
52
- .github-styles.dark .hljs-selector-id {
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
53
  /* prettylights-syntax-constant */
54
54
  color: #79c0ff;
55
55
  }
56
- .github-styles.dark .hljs-regexp,
57
- .github-styles.dark .hljs-string,
58
- .github-styles.dark .hljs-meta .hljs-string {
56
+ .pantsdown.dark .hljs-regexp,
57
+ .pantsdown.dark .hljs-string,
58
+ .pantsdown.dark .hljs-meta .hljs-string {
59
59
  /* prettylights-syntax-string */
60
60
  color: #a5d6ff;
61
61
  }
62
- .github-styles.dark .hljs-built_in,
63
- .github-styles.dark .hljs-symbol {
62
+ .pantsdown.dark .hljs-built_in,
63
+ .pantsdown.dark .hljs-symbol {
64
64
  /* prettylights-syntax-variable */
65
65
  color: #ffa657;
66
66
  }
67
- .github-styles.dark .hljs-comment,
68
- .github-styles.dark .hljs-code,
69
- .github-styles.dark .hljs-formula {
67
+ .pantsdown.dark .hljs-comment,
68
+ .pantsdown.dark .hljs-code,
69
+ .pantsdown.dark .hljs-formula {
70
70
  /* prettylights-syntax-comment */
71
71
  color: #8b949e;
72
72
  }
73
- .github-styles.dark .hljs-name,
74
- .github-styles.dark .hljs-quote,
75
- .github-styles.dark .hljs-selector-tag,
76
- .github-styles.dark .hljs-selector-pseudo {
73
+ .pantsdown.dark .hljs-name,
74
+ .pantsdown.dark .hljs-quote,
75
+ .pantsdown.dark .hljs-selector-tag,
76
+ .pantsdown.dark .hljs-selector-pseudo {
77
77
  /* prettylights-syntax-entity-tag */
78
78
  color: #7ee787;
79
79
  }
80
- .github-styles.dark .hljs-subst {
80
+ .pantsdown.dark .hljs-subst {
81
81
  /* prettylights-syntax-storage-modifier-import */
82
82
  color: #c9d1d9;
83
83
  }
84
- .github-styles.dark .hljs-section {
84
+ .pantsdown.dark .hljs-section {
85
85
  /* prettylights-syntax-markup-heading */
86
86
  color: #1f6feb;
87
87
  font-weight: bold;
88
88
  }
89
- .github-styles.dark .hljs-bullet {
89
+ .pantsdown.dark .hljs-bullet {
90
90
  /* prettylights-syntax-markup-list */
91
91
  color: #f2cc60;
92
92
  }
93
- .github-styles.dark .hljs-emphasis {
93
+ .pantsdown.dark .hljs-emphasis {
94
94
  /* prettylights-syntax-markup-italic */
95
95
  color: #c9d1d9;
96
96
  font-style: italic;
97
97
  }
98
- .github-styles.dark .hljs-strong {
98
+ .pantsdown.dark .hljs-strong {
99
99
  /* prettylights-syntax-markup-bold */
100
100
  color: #c9d1d9;
101
101
  font-weight: bold;
102
102
  }
103
- .github-styles.dark .hljs-addition {
103
+ .pantsdown.dark .hljs-addition {
104
104
  /* prettylights-syntax-markup-inserted */
105
105
  color: #aff5b4;
106
106
  background-color: #033a16;
107
107
  }
108
- .github-styles.dark .hljs-deletion {
108
+ .pantsdown.dark .hljs-deletion {
109
109
  /* prettylights-syntax-markup-deleted */
110
110
  color: #ffdcd7;
111
111
  background-color: #67060c;
112
112
  }
113
- .github-styles.dark .hljs-char.escape_,
114
- .github-styles.dark .hljs-link,
115
- .github-styles.dark .hljs-params,
116
- .github-styles.dark .hljs-property,
117
- .github-styles.dark .hljs-punctuation,
118
- .github-styles.dark .hljs-tag {
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
119
  /* purposely ignored */
120
120
  }
121
- .github-styles.light {
121
+ .pantsdown.light {
122
122
  color-scheme: light;
123
123
  --color-fg-default: #1f2328;
124
124
  --color-fg-muted: #656d76;
@@ -140,105 +140,105 @@
140
140
  --color-btn-hover-bg: #f3f4f6;
141
141
  /*! https://github.com/highlightjs/highlight.js/blob/main/src/styles/github.css */
142
142
  }
143
- .github-styles.light .hljs {
143
+ .pantsdown.light .hljs {
144
144
  color: #24292e;
145
145
  }
146
- .github-styles.light .hljs-doctag,
147
- .github-styles.light .hljs-keyword,
148
- .github-styles.light .hljs-meta .hljs-keyword,
149
- .github-styles.light .hljs-template-tag,
150
- .github-styles.light .hljs-template-variable,
151
- .github-styles.light .hljs-type,
152
- .github-styles.light .hljs-variable.language_ {
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
153
  /* prettylights-syntax-keyword */
154
154
  color: #d73a49;
155
155
  }
156
- .github-styles.light .hljs-title,
157
- .github-styles.light .hljs-title.class_,
158
- .github-styles.light .hljs-title.class_.inherited__,
159
- .github-styles.light .hljs-title.function_ {
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
160
  /* prettylights-syntax-entity */
161
161
  color: #6f42c1;
162
162
  }
163
- .github-styles.light .hljs-attr,
164
- .github-styles.light .hljs-attribute,
165
- .github-styles.light .hljs-literal,
166
- .github-styles.light .hljs-meta,
167
- .github-styles.light .hljs-number,
168
- .github-styles.light .hljs-operator,
169
- .github-styles.light .hljs-variable,
170
- .github-styles.light .hljs-selector-attr,
171
- .github-styles.light .hljs-selector-class,
172
- .github-styles.light .hljs-selector-id {
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
173
  /* prettylights-syntax-constant */
174
174
  color: #005cc5;
175
175
  }
176
- .github-styles.light .hljs-regexp,
177
- .github-styles.light .hljs-string,
178
- .github-styles.light .hljs-meta .hljs-string {
176
+ .pantsdown.light .hljs-regexp,
177
+ .pantsdown.light .hljs-string,
178
+ .pantsdown.light .hljs-meta .hljs-string {
179
179
  /* prettylights-syntax-string */
180
180
  color: #032f62;
181
181
  }
182
- .github-styles.light .hljs-built_in,
183
- .github-styles.light .hljs-symbol {
182
+ .pantsdown.light .hljs-built_in,
183
+ .pantsdown.light .hljs-symbol {
184
184
  /* prettylights-syntax-variable */
185
185
  color: #e36209;
186
186
  }
187
- .github-styles.light .hljs-comment,
188
- .github-styles.light .hljs-code,
189
- .github-styles.light .hljs-formula {
187
+ .pantsdown.light .hljs-comment,
188
+ .pantsdown.light .hljs-code,
189
+ .pantsdown.light .hljs-formula {
190
190
  /* prettylights-syntax-comment */
191
191
  color: #6a737d;
192
192
  }
193
- .github-styles.light .hljs-name,
194
- .github-styles.light .hljs-quote,
195
- .github-styles.light .hljs-selector-tag,
196
- .github-styles.light .hljs-selector-pseudo {
193
+ .pantsdown.light .hljs-name,
194
+ .pantsdown.light .hljs-quote,
195
+ .pantsdown.light .hljs-selector-tag,
196
+ .pantsdown.light .hljs-selector-pseudo {
197
197
  /* prettylights-syntax-entity-tag */
198
198
  color: #22863a;
199
199
  }
200
- .github-styles.light .hljs-subst {
200
+ .pantsdown.light .hljs-subst {
201
201
  /* prettylights-syntax-storage-modifier-import */
202
202
  color: #24292e;
203
203
  }
204
- .github-styles.light .hljs-section {
204
+ .pantsdown.light .hljs-section {
205
205
  /* prettylights-syntax-markup-heading */
206
206
  color: #005cc5;
207
207
  font-weight: bold;
208
208
  }
209
- .github-styles.light .hljs-bullet {
209
+ .pantsdown.light .hljs-bullet {
210
210
  /* prettylights-syntax-markup-list */
211
211
  color: #735c0f;
212
212
  }
213
- .github-styles.light .hljs-emphasis {
213
+ .pantsdown.light .hljs-emphasis {
214
214
  /* prettylights-syntax-markup-italic */
215
215
  color: #24292e;
216
216
  font-style: italic;
217
217
  }
218
- .github-styles.light .hljs-strong {
218
+ .pantsdown.light .hljs-strong {
219
219
  /* prettylights-syntax-markup-bold */
220
220
  color: #24292e;
221
221
  font-weight: bold;
222
222
  }
223
- .github-styles.light .hljs-addition {
223
+ .pantsdown.light .hljs-addition {
224
224
  /* prettylights-syntax-markup-inserted */
225
225
  color: #22863a;
226
226
  background-color: #f0fff4;
227
227
  }
228
- .github-styles.light .hljs-deletion {
228
+ .pantsdown.light .hljs-deletion {
229
229
  /* prettylights-syntax-markup-deleted */
230
230
  color: #b31d28;
231
231
  background-color: #ffeef0;
232
232
  }
233
- .github-styles.light .hljs-char.escape_,
234
- .github-styles.light .hljs-link,
235
- .github-styles.light .hljs-params,
236
- .github-styles.light .hljs-property,
237
- .github-styles.light .hljs-punctuation,
238
- .github-styles.light .hljs-tag {
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
239
  /* purposely ignored */
240
240
  }
241
- .github-styles {
241
+ .pantsdown {
242
242
  -ms-text-size-adjust: 100%;
243
243
  -webkit-text-size-adjust: 100%;
244
244
  margin: 0;
@@ -250,77 +250,77 @@
250
250
  line-height: 1.5;
251
251
  word-wrap: break-word;
252
252
  }
253
- .github-styles details,
254
- .github-styles figcaption,
255
- .github-styles figure {
253
+ .pantsdown details,
254
+ .pantsdown figcaption,
255
+ .pantsdown figure {
256
256
  display: block;
257
257
  }
258
- .github-styles summary {
258
+ .pantsdown summary {
259
259
  display: list-item;
260
260
  }
261
- .github-styles [hidden] {
261
+ .pantsdown [hidden] {
262
262
  display: none !important;
263
263
  }
264
- .github-styles a {
264
+ .pantsdown a {
265
265
  background-color: transparent;
266
266
  color: var(--fgColor-accent, var(--color-accent-fg));
267
267
  text-decoration: none;
268
268
  }
269
- .github-styles abbr[title] {
269
+ .pantsdown abbr[title] {
270
270
  border-bottom: none;
271
271
  text-decoration: underline dotted;
272
272
  }
273
- .github-styles b,
274
- .github-styles strong {
273
+ .pantsdown b,
274
+ .pantsdown strong {
275
275
  font-weight: var(--base-text-weight-semibold, 600);
276
276
  }
277
- .github-styles dfn {
277
+ .pantsdown dfn {
278
278
  font-style: italic;
279
279
  }
280
- .github-styles h1 {
280
+ .pantsdown h1 {
281
281
  margin: 0.67em 0;
282
282
  font-weight: var(--base-text-weight-semibold, 600);
283
283
  padding-bottom: 0.3em;
284
284
  font-size: 2em;
285
285
  border-bottom: 1px solid var(--borderColor-muted, var(--color-border-muted));
286
286
  }
287
- .github-styles mark {
287
+ .pantsdown mark {
288
288
  background-color: var(--bgColor-attention-muted, var(--color-attention-subtle));
289
289
  color: var(--fgColor-default, var(--color-fg-default));
290
290
  }
291
- .github-styles small {
291
+ .pantsdown small {
292
292
  font-size: 90%;
293
293
  }
294
- .github-styles sub,
295
- .github-styles sup {
294
+ .pantsdown sub,
295
+ .pantsdown sup {
296
296
  font-size: 75%;
297
297
  line-height: 0;
298
298
  position: relative;
299
299
  vertical-align: baseline;
300
300
  }
301
- .github-styles sub {
301
+ .pantsdown sub {
302
302
  bottom: -0.25em;
303
303
  }
304
- .github-styles sup {
304
+ .pantsdown sup {
305
305
  top: -0.5em;
306
306
  }
307
- .github-styles img {
307
+ .pantsdown img {
308
308
  border-style: none;
309
309
  max-width: 100%;
310
310
  box-sizing: content-box;
311
311
  background-color: var(--bgColor-default, var(--color-canvas-default));
312
312
  }
313
- .github-styles code,
314
- .github-styles kbd,
315
- .github-styles pre,
316
- .github-styles samp {
313
+ .pantsdown code,
314
+ .pantsdown kbd,
315
+ .pantsdown pre,
316
+ .pantsdown samp {
317
317
  font-family: monospace;
318
318
  font-size: 1em;
319
319
  }
320
- .github-styles figure {
320
+ .pantsdown figure {
321
321
  margin: 1em 40px;
322
322
  }
323
- .github-styles hr {
323
+ .pantsdown hr {
324
324
  box-sizing: content-box;
325
325
  overflow: hidden;
326
326
  background: transparent;
@@ -331,7 +331,7 @@
331
331
  background-color: var(--borderColor-default, var(--color-border-default));
332
332
  border: 0;
333
333
  }
334
- .github-styles input {
334
+ .pantsdown input {
335
335
  font: inherit;
336
336
  margin: 0;
337
337
  overflow: visible;
@@ -339,50 +339,50 @@
339
339
  font-size: inherit;
340
340
  line-height: inherit;
341
341
  }
342
- .github-styles [type="button"],
343
- .github-styles [type="reset"],
344
- .github-styles [type="submit"] {
342
+ .pantsdown [type="button"],
343
+ .pantsdown [type="reset"],
344
+ .pantsdown [type="submit"] {
345
345
  -webkit-appearance: button;
346
346
  appearance: button;
347
347
  }
348
- .github-styles [type="checkbox"],
349
- .github-styles [type="radio"] {
348
+ .pantsdown [type="checkbox"],
349
+ .pantsdown [type="radio"] {
350
350
  box-sizing: border-box;
351
351
  padding: 0;
352
352
  }
353
- .github-styles [type="number"]::-webkit-inner-spin-button,
354
- .github-styles [type="number"]::-webkit-outer-spin-button {
353
+ .pantsdown [type="number"]::-webkit-inner-spin-button,
354
+ .pantsdown [type="number"]::-webkit-outer-spin-button {
355
355
  height: auto;
356
356
  }
357
- .github-styles [type="search"]::-webkit-search-cancel-button,
358
- .github-styles [type="search"]::-webkit-search-decoration {
357
+ .pantsdown [type="search"]::-webkit-search-cancel-button,
358
+ .pantsdown [type="search"]::-webkit-search-decoration {
359
359
  -webkit-appearance: none;
360
360
  }
361
- .github-styles ::-webkit-input-placeholder {
361
+ .pantsdown ::-webkit-input-placeholder {
362
362
  color: inherit;
363
363
  opacity: 0.54;
364
364
  }
365
- .github-styles ::-webkit-file-upload-button {
365
+ .pantsdown ::-webkit-file-upload-button {
366
366
  -webkit-appearance: button;
367
367
  font: inherit;
368
368
  }
369
- .github-styles a:hover {
369
+ .pantsdown a:hover {
370
370
  text-decoration: underline;
371
371
  }
372
- .github-styles ::placeholder {
372
+ .pantsdown ::placeholder {
373
373
  color: var(--fgColor-muted, var(--color-fg-subtle));
374
374
  opacity: 1;
375
375
  }
376
- .github-styles hr::before {
376
+ .pantsdown hr::before {
377
377
  display: table;
378
378
  content: "";
379
379
  }
380
- .github-styles hr::after {
380
+ .pantsdown hr::after {
381
381
  display: table;
382
382
  clear: both;
383
383
  content: "";
384
384
  }
385
- .github-styles table {
385
+ .pantsdown table {
386
386
  border-spacing: 0;
387
387
  border-collapse: collapse;
388
388
  display: block;
@@ -390,14 +390,14 @@
390
390
  max-width: 100%;
391
391
  overflow: auto;
392
392
  }
393
- .github-styles td,
394
- .github-styles th {
393
+ .pantsdown td,
394
+ .pantsdown th {
395
395
  padding: 0;
396
396
  }
397
- .github-styles details summary {
397
+ .pantsdown details summary {
398
398
  cursor: pointer;
399
399
  }
400
- .github-styles kbd {
400
+ .pantsdown kbd {
401
401
  display: inline-block;
402
402
  padding: 3px 5px;
403
403
  font:
@@ -417,45 +417,45 @@
417
417
  border-radius: 6px;
418
418
  box-shadow: inset 0 -1px 0 var(--borderColor-neutral-muted, var(--color-neutral-muted));
419
419
  }
420
- .github-styles h1,
421
- .github-styles h2,
422
- .github-styles h3,
423
- .github-styles h4,
424
- .github-styles h5,
425
- .github-styles h6 {
420
+ .pantsdown h1,
421
+ .pantsdown h2,
422
+ .pantsdown h3,
423
+ .pantsdown h4,
424
+ .pantsdown h5,
425
+ .pantsdown h6 {
426
426
  margin-top: 24px;
427
427
  margin-bottom: 16px;
428
428
  font-weight: var(--base-text-weight-semibold, 600);
429
429
  line-height: 1.25;
430
430
  }
431
- .github-styles h2 {
431
+ .pantsdown h2 {
432
432
  font-weight: var(--base-text-weight-semibold, 600);
433
433
  padding-bottom: 0.3em;
434
434
  font-size: 1.5em;
435
435
  border-bottom: 1px solid var(--borderColor-muted, var(--color-border-muted));
436
436
  }
437
- .github-styles h3 {
437
+ .pantsdown h3 {
438
438
  font-weight: var(--base-text-weight-semibold, 600);
439
439
  font-size: 1.25em;
440
440
  }
441
- .github-styles h4 {
441
+ .pantsdown h4 {
442
442
  font-weight: var(--base-text-weight-semibold, 600);
443
443
  font-size: 1em;
444
444
  }
445
- .github-styles h5 {
445
+ .pantsdown h5 {
446
446
  font-weight: var(--base-text-weight-semibold, 600);
447
447
  font-size: 0.875em;
448
448
  }
449
- .github-styles h6 {
449
+ .pantsdown h6 {
450
450
  font-weight: var(--base-text-weight-semibold, 600);
451
451
  font-size: 0.85em;
452
452
  color: var(--fgColor-muted, var(--color-fg-muted));
453
453
  }
454
- .github-styles p {
454
+ .pantsdown p {
455
455
  margin-top: 0;
456
456
  margin-bottom: 10px;
457
457
  }
458
- .github-styles blockquote {
458
+ .pantsdown blockquote {
459
459
  margin: 0;
460
460
  padding: 0 1em;
461
461
  color: var(--fgColor-muted, var(--color-fg-muted));
@@ -465,28 +465,28 @@
465
465
  #markdown-element-id > ol {
466
466
  padding-left: 1em;
467
467
  }
468
- .github-styles ul,
469
- .github-styles ol {
468
+ .pantsdown ul,
469
+ .pantsdown ol {
470
470
  margin-top: 0;
471
471
  margin-bottom: 0;
472
472
  padding-left: 2em;
473
473
  }
474
- .github-styles ol ol,
475
- .github-styles ul ol {
474
+ .pantsdown ol ol,
475
+ .pantsdown ul ol {
476
476
  list-style-type: lower-roman;
477
477
  }
478
- .github-styles ul ul ol,
479
- .github-styles ul ol ol,
480
- .github-styles ol ul ol,
481
- .github-styles ol ol ol {
478
+ .pantsdown ul ul ol,
479
+ .pantsdown ul ol ol,
480
+ .pantsdown ol ul ol,
481
+ .pantsdown ol ol ol {
482
482
  list-style-type: lower-alpha;
483
483
  }
484
- .github-styles dd {
484
+ .pantsdown dd {
485
485
  margin-left: 0;
486
486
  }
487
- .github-styles tt,
488
- .github-styles code,
489
- .github-styles samp {
487
+ .pantsdown tt,
488
+ .pantsdown code,
489
+ .pantsdown samp {
490
490
  font-family:
491
491
  ui-monospace,
492
492
  SFMono-Regular,
@@ -497,7 +497,7 @@
497
497
  monospace;
498
498
  font-size: 12px;
499
499
  }
500
- .github-styles pre {
500
+ .pantsdown pre {
501
501
  margin-top: 0;
502
502
  margin-bottom: 0;
503
503
  font-family:
@@ -511,152 +511,152 @@
511
511
  font-size: 12px;
512
512
  word-wrap: normal;
513
513
  }
514
- .github-styles input::-webkit-outer-spin-button,
515
- .github-styles input::-webkit-inner-spin-button {
514
+ .pantsdown input::-webkit-outer-spin-button,
515
+ .pantsdown input::-webkit-inner-spin-button {
516
516
  margin: 0;
517
517
  -webkit-appearance: none;
518
518
  appearance: none;
519
519
  }
520
- .github-styles::before {
520
+ .pantsdown::before {
521
521
  display: table;
522
522
  content: "";
523
523
  }
524
- .github-styles::after {
524
+ .pantsdown::after {
525
525
  display: table;
526
526
  clear: both;
527
527
  content: "";
528
528
  }
529
- .github-styles > *:first-child {
529
+ .pantsdown > *:first-child {
530
530
  margin-top: 0 !important;
531
531
  }
532
- .github-styles > *:last-child {
532
+ .pantsdown > *:last-child {
533
533
  margin-bottom: 0 !important;
534
534
  }
535
- .github-styles a:not([href]) {
535
+ .pantsdown a:not([href]) {
536
536
  color: inherit;
537
537
  text-decoration: none;
538
538
  }
539
- .github-styles p,
540
- .github-styles blockquote,
541
- .github-styles ul,
542
- .github-styles ol,
543
- .github-styles dl,
544
- .github-styles table,
545
- .github-styles pre,
546
- .github-styles details {
539
+ .pantsdown p,
540
+ .pantsdown blockquote,
541
+ .pantsdown ul,
542
+ .pantsdown ol,
543
+ .pantsdown dl,
544
+ .pantsdown table,
545
+ .pantsdown pre,
546
+ .pantsdown details {
547
547
  margin-top: 0;
548
548
  margin-bottom: 16px;
549
549
  }
550
- .github-styles blockquote > :first-child {
550
+ .pantsdown blockquote > :first-child {
551
551
  margin-top: 0;
552
552
  }
553
- .github-styles blockquote > :last-child {
553
+ .pantsdown blockquote > :last-child {
554
554
  margin-bottom: 0;
555
555
  }
556
- .github-styles h1 tt,
557
- .github-styles h1 code,
558
- .github-styles h2 tt,
559
- .github-styles h2 code,
560
- .github-styles h3 tt,
561
- .github-styles h3 code,
562
- .github-styles h4 tt,
563
- .github-styles h4 code,
564
- .github-styles h5 tt,
565
- .github-styles h5 code,
566
- .github-styles h6 tt,
567
- .github-styles h6 code {
556
+ .pantsdown h1 tt,
557
+ .pantsdown h1 code,
558
+ .pantsdown h2 tt,
559
+ .pantsdown h2 code,
560
+ .pantsdown h3 tt,
561
+ .pantsdown h3 code,
562
+ .pantsdown h4 tt,
563
+ .pantsdown h4 code,
564
+ .pantsdown h5 tt,
565
+ .pantsdown h5 code,
566
+ .pantsdown h6 tt,
567
+ .pantsdown h6 code {
568
568
  padding: 0 0.2em;
569
569
  font-size: inherit;
570
570
  }
571
- .github-styles summary h1,
572
- .github-styles summary h2,
573
- .github-styles summary h3,
574
- .github-styles summary h4,
575
- .github-styles summary h5,
576
- .github-styles summary h6 {
571
+ .pantsdown summary h1,
572
+ .pantsdown summary h2,
573
+ .pantsdown summary h3,
574
+ .pantsdown summary h4,
575
+ .pantsdown summary h5,
576
+ .pantsdown summary h6 {
577
577
  display: inline-block;
578
578
  }
579
- .github-styles summary h1,
580
- .github-styles summary h2 {
579
+ .pantsdown summary h1,
580
+ .pantsdown summary h2 {
581
581
  padding-bottom: 0;
582
582
  border-bottom: 0;
583
583
  }
584
- .github-styles ol[type="a s"] {
584
+ .pantsdown ol[type="a s"] {
585
585
  list-style-type: lower-alpha;
586
586
  }
587
- .github-styles ol[type="A s"] {
587
+ .pantsdown ol[type="A s"] {
588
588
  list-style-type: upper-alpha;
589
589
  }
590
- .github-styles ol[type="i s"] {
590
+ .pantsdown ol[type="i s"] {
591
591
  list-style-type: lower-roman;
592
592
  }
593
- .github-styles ol[type="I s"] {
593
+ .pantsdown ol[type="I s"] {
594
594
  list-style-type: upper-roman;
595
595
  }
596
- .github-styles ol[type="1"] {
596
+ .pantsdown ol[type="1"] {
597
597
  list-style-type: decimal;
598
598
  }
599
- .github-styles div > ol:not([type]) {
599
+ .pantsdown div > ol:not([type]) {
600
600
  list-style-type: decimal;
601
601
  }
602
- .github-styles ul ul,
603
- .github-styles ul ol,
604
- .github-styles ol ol,
605
- .github-styles ol ul {
602
+ .pantsdown ul ul,
603
+ .pantsdown ul ol,
604
+ .pantsdown ol ol,
605
+ .pantsdown ol ul {
606
606
  margin-top: 0;
607
607
  margin-bottom: 0;
608
608
  }
609
- .github-styles li > p {
609
+ .pantsdown li > p {
610
610
  margin-top: 16px;
611
611
  }
612
612
  /* include margin-top even for first li childs for easier scroll offset calculation */
613
- /* .github-styles li + li { */
614
- .github-styles li {
613
+ /* .pantsdown li + li { */
614
+ .pantsdown li {
615
615
  margin-top: 0.25em;
616
616
  }
617
- .github-styles dl {
617
+ .pantsdown dl {
618
618
  padding: 0;
619
619
  }
620
- .github-styles dl dt {
620
+ .pantsdown dl dt {
621
621
  padding: 0;
622
622
  margin-top: 16px;
623
623
  font-size: 1em;
624
624
  font-style: italic;
625
625
  font-weight: var(--base-text-weight-semibold, 600);
626
626
  }
627
- .github-styles dl dd {
627
+ .pantsdown dl dd {
628
628
  padding: 0 16px;
629
629
  margin-bottom: 16px;
630
630
  }
631
- .github-styles table th {
631
+ .pantsdown table th {
632
632
  font-weight: var(--base-text-weight-semibold, 600);
633
633
  }
634
- .github-styles table th,
635
- .github-styles table td {
634
+ .pantsdown table th,
635
+ .pantsdown table td {
636
636
  padding: 6px 13px;
637
637
  border: 1px solid var(--borderColor-default, var(--color-border-default));
638
638
  }
639
- .github-styles table td > :last-child {
639
+ .pantsdown table td > :last-child {
640
640
  margin-bottom: 0;
641
641
  }
642
- .github-styles table tr {
642
+ .pantsdown table tr {
643
643
  background-color: var(--bgColor-default, var(--color-canvas-default));
644
644
  border-top: 1px solid var(--borderColor-muted, var(--color-border-muted));
645
645
  }
646
- .github-styles table tr:nth-child(2n) {
646
+ .pantsdown table tr:nth-child(2n) {
647
647
  background-color: var(--bgColor-muted, var(--color-canvas-subtle));
648
648
  }
649
- .github-styles table img {
649
+ .pantsdown table img {
650
650
  background-color: transparent;
651
651
  }
652
- .github-styles img[align="right"] {
652
+ .pantsdown img[align="right"] {
653
653
  padding-left: 20px;
654
654
  }
655
- .github-styles img[align="left"] {
655
+ .pantsdown img[align="left"] {
656
656
  padding-right: 20px;
657
657
  }
658
- .github-styles code,
659
- .github-styles tt {
658
+ .pantsdown code,
659
+ .pantsdown tt {
660
660
  padding: 0.2em 0.4em;
661
661
  margin: 0;
662
662
  font-size: 85%;
@@ -664,20 +664,20 @@
664
664
  background-color: var(--bgColor-neutral-muted, var(--color-neutral-muted));
665
665
  border-radius: 6px;
666
666
  }
667
- .github-styles code br,
668
- .github-styles tt br {
667
+ .pantsdown code br,
668
+ .pantsdown tt br {
669
669
  display: none;
670
670
  }
671
- .github-styles del code {
671
+ .pantsdown del code {
672
672
  text-decoration: inherit;
673
673
  }
674
- .github-styles samp {
674
+ .pantsdown samp {
675
675
  font-size: 85%;
676
676
  }
677
- .github-styles pre code {
677
+ .pantsdown pre code {
678
678
  font-size: 100%;
679
679
  }
680
- .github-styles pre > code {
680
+ .pantsdown pre > code {
681
681
  padding: 0;
682
682
  margin: 0;
683
683
  word-break: normal;
@@ -685,15 +685,15 @@
685
685
  background: transparent;
686
686
  border: 0;
687
687
  }
688
- .github-styles .highlight {
688
+ .pantsdown .highlight {
689
689
  margin-bottom: 16px;
690
690
  }
691
- .github-styles .highlight pre {
691
+ .pantsdown .highlight pre {
692
692
  margin-bottom: 0;
693
693
  word-break: normal;
694
694
  }
695
- .github-styles .highlight pre,
696
- .github-styles pre {
695
+ .pantsdown .highlight pre,
696
+ .pantsdown pre {
697
697
  padding: 16px;
698
698
  overflow: auto;
699
699
  font-size: 85%;
@@ -702,8 +702,8 @@
702
702
  background-color: var(--bgColor-muted, var(--color-canvas-subtle));
703
703
  border-radius: 6px;
704
704
  }
705
- .github-styles pre code,
706
- .github-styles pre tt {
705
+ .pantsdown pre code,
706
+ .pantsdown pre tt {
707
707
  display: inline;
708
708
  max-width: auto;
709
709
  padding: 0;