@anyblades/blades 3.1.0-alpha.1 → 3.1.0-beta.2

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 (108) hide show
  1. package/README.md +78 -3
  2. package/css/blades.css +371 -978
  3. package/css/blades.min.css +74 -37
  4. package/css/blades.ninja.css +4057 -0
  5. package/css/blades.ninja.min.css +190 -0
  6. package/css/float-label.css +207 -0
  7. package/css/float-label.min.css +55 -0
  8. package/css/{pico.layered.css → layered/blades.layered.css} +654 -397
  9. package/css/layered/blades.layered.min.css +184 -0
  10. package/css/layered/compact.css +54 -0
  11. package/css/layered/components/accordion.css +85 -0
  12. package/css/layered/components/card.css +48 -0
  13. package/css/layered/components/dropdown.css +191 -0
  14. package/css/layered/components/group.css +208 -0
  15. package/css/layered/components/loading.css +43 -0
  16. package/css/layered/components/modal.css +158 -0
  17. package/css/layered/components/nav.css +117 -0
  18. package/css/layered/components/progress.css +76 -0
  19. package/css/layered/components/tooltip.css +176 -0
  20. package/css/layered/components.css +1082 -0
  21. package/css/layered/content/button.css +208 -0
  22. package/css/layered/content/code.css +64 -0
  23. package/css/layered/content/embedded-content.css +41 -0
  24. package/css/layered/content/figure.css +15 -0
  25. package/css/layered/content/link.css +84 -0
  26. package/css/layered/content/misc.css +22 -0
  27. package/css/layered/content/table.css +33 -0
  28. package/css/layered/content/typography.css +159 -0
  29. package/css/layered/content.css +611 -0
  30. package/css/layered/forms/basics.css +338 -0
  31. package/css/layered/forms/checkbox-radio-switch.css +164 -0
  32. package/css/layered/forms/input-color.css +20 -0
  33. package/css/layered/forms/input-datetime.css +57 -0
  34. package/css/layered/forms/input-file.css +29 -0
  35. package/css/layered/forms/input-range.css +121 -0
  36. package/css/layered/forms/input-search.css +66 -0
  37. package/css/layered/forms.css +778 -0
  38. package/css/layered/layout/container.css +42 -0
  39. package/css/layered/layout/document.css +48 -0
  40. package/css/layered/layout/grid.css +22 -0
  41. package/css/layered/layout/landmarks.css +12 -0
  42. package/css/layered/layout/overflow-auto.css +9 -0
  43. package/css/layered/layout/section.css +9 -0
  44. package/css/layered/layout.css +119 -0
  45. package/css/layered/utilities.css +35 -0
  46. package/css/layered/variables.css +365 -0
  47. package/css/pico.conditional.css +229 -396
  48. package/css/pico.conditional.min.css +42 -31
  49. package/css/pico.css +229 -396
  50. package/css/pico.min.css +42 -31
  51. package/package.json +24 -11
  52. package/src/_compact.css +51 -0
  53. package/src/blades/_index.css +23 -0
  54. package/src/blades/float-label/_index.css +2 -0
  55. package/src/{standalone/forms/_float-label.theme.css → blades/float-label/_theme.css} +5 -1
  56. package/src/blades.css +3 -2
  57. package/src/blades.ninja.css +3 -0
  58. package/src/float-label.css +1 -0
  59. package/src/ninja/_index.css +19 -0
  60. package/src/{standalone → ninja}/_theme.css +0 -2
  61. package/src/{ninja.css → ninja/_utilities.css} +55 -6
  62. package/src/pico/_variables.css +77 -386
  63. package/src/pico/components/_accordion.css +8 -0
  64. package/src/pico/components/_card.css +14 -0
  65. package/src/pico/components/_dropdown.css +9 -0
  66. package/src/pico/components/_group.css +38 -0
  67. package/src/pico/components/_loading.css +9 -0
  68. package/src/pico/components/_modal.css +13 -0
  69. package/src/pico/components/_nav.css +6 -0
  70. package/src/pico/components/_progress.css +6 -0
  71. package/src/pico/components/_tooltip.css +6 -0
  72. package/src/pico/content/_button.css +1 -1
  73. package/src/pico/forms/_checkbox-radio-switch.css +13 -0
  74. package/src/pico/forms/_input-datetime.css +6 -0
  75. package/src/pico/forms/_input-range.css +9 -0
  76. package/src/pico/forms/_input-search.css +5 -0
  77. package/src/pico/layout/_document.css +9 -0
  78. package/src/pico/layout/_index.css +0 -1
  79. package/src/pico/layout/_landmarks.css +1 -9
  80. package/src/pico.css +1 -0
  81. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -25
  82. package/.github/ISSUE_TEMPLATE/config.yml +0 -8
  83. package/.prettierignore +0 -3
  84. package/CODE_OF_CONDUCT.md +0 -92
  85. package/context7.json +0 -4
  86. package/css/blades.standalone.css +0 -860
  87. package/css/blades.standalone.min.css +0 -37
  88. package/css/ninja.css +0 -83
  89. package/css/ninja.min.css +0 -5
  90. package/css/pico.layered.min.css +0 -107
  91. package/css/postcss.config.js +0 -23
  92. package/index.html +0 -63
  93. package/src/blades.standalone.css +0 -2
  94. package/src/standalone/_core.css +0 -32
  95. package/src/standalone/_utilities.css +0 -55
  96. package/src/standalone/forms/_float-label.css +0 -2
  97. /package/src/{standalone/content → blades}/_code.css +0 -0
  98. /package/src/{standalone/layout → blades}/_columns.css +0 -0
  99. /package/src/{standalone/components/_icon-helper.css → blades/_icon.css} +0 -0
  100. /package/src/{standalone/components → blades}/_timeline.css +0 -0
  101. /package/src/{standalone → blades}/_variables.css +0 -0
  102. /package/src/{standalone/forms/_float-label.core.css → blades/float-label/_core.css} +0 -0
  103. /package/src/{standalone/layout/_breakout.css → ninja/_container-breakout.css} +0 -0
  104. /package/src/{standalone/content/_typography.css → ninja/_heading-anchor.css} +0 -0
  105. /package/src/{standalone/content/_list.css → ninja/_list-helpers.css} +0 -0
  106. /package/src/{standalone/layout/_scroller.css → ninja/_page-anchors.css} +0 -0
  107. /package/src/{standalone/content/_table.css → ninja/_table-helpers.css} +0 -0
  108. /package/src/{standalone/content → ninja}/_table-responsive.css +0 -0
@@ -0,0 +1,611 @@
1
+ @layer blades {
2
+ /**
3
+ * Typography
4
+ */
5
+ b,
6
+ strong {
7
+ font-weight: bolder;
8
+ }
9
+
10
+ sub,
11
+ sup {
12
+ position: relative;
13
+ font-size: 0.75em;
14
+ line-height: 0;
15
+ vertical-align: baseline;
16
+ }
17
+
18
+ sub {
19
+ bottom: -0.25em;
20
+ }
21
+
22
+ sup {
23
+ top: -0.5em;
24
+ }
25
+
26
+ address,
27
+ blockquote,
28
+ dl,
29
+ ol,
30
+ p,
31
+ pre,
32
+ table,
33
+ ul {
34
+ margin-top: 0;
35
+ margin-bottom: var(--pico-typography-spacing-vertical);
36
+ color: var(--pico-color);
37
+ font-style: normal;
38
+ font-weight: var(--pico-font-weight);
39
+ }
40
+
41
+ h1,
42
+ h2,
43
+ h3,
44
+ h4,
45
+ h5,
46
+ h6 {
47
+ margin-top: 0;
48
+ margin-bottom: var(--pico-typography-spacing-vertical);
49
+ color: var(--pico-color);
50
+ font-weight: var(--pico-font-weight);
51
+ font-size: var(--pico-font-size);
52
+ line-height: var(--pico-line-height);
53
+ font-family: var(--pico-font-family);
54
+ }
55
+
56
+ h1 {
57
+ --pico-color: var(--pico-h1-color);
58
+ }
59
+
60
+ h2 {
61
+ --pico-color: var(--pico-h2-color);
62
+ }
63
+
64
+ h3 {
65
+ --pico-color: var(--pico-h3-color);
66
+ }
67
+
68
+ h4 {
69
+ --pico-color: var(--pico-h4-color);
70
+ }
71
+
72
+ h5 {
73
+ --pico-color: var(--pico-h5-color);
74
+ }
75
+
76
+ h6 {
77
+ --pico-color: var(--pico-h6-color);
78
+ }
79
+
80
+ :where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul)
81
+ ~ :is(h1, h2, h3, h4, h5, h6) {
82
+ margin-top: var(--pico-typography-spacing-top);
83
+ }
84
+
85
+ p {
86
+ margin-bottom: var(--pico-typography-spacing-vertical);
87
+ }
88
+
89
+ hgroup {
90
+ margin-bottom: var(--pico-typography-spacing-vertical);
91
+ }
92
+ hgroup > * {
93
+ margin-top: 0;
94
+ margin-bottom: 0;
95
+ }
96
+ hgroup > *:not(:first-child):last-child {
97
+ --pico-color: var(--pico-muted-color);
98
+ --pico-font-weight: unset;
99
+ font-size: 1rem;
100
+ }
101
+
102
+ :where(ol, ul) li {
103
+ margin-bottom: calc(var(--pico-typography-spacing-vertical) * 0.25);
104
+ }
105
+
106
+ :where(dl, ol, ul) :where(dl, ol, ul) {
107
+ margin: 0;
108
+ margin-top: calc(var(--pico-typography-spacing-vertical) * 0.25);
109
+ }
110
+
111
+ ul li {
112
+ list-style: square;
113
+ }
114
+
115
+ mark {
116
+ padding: 0.125rem 0.25rem;
117
+ background-color: var(--pico-mark-background-color);
118
+ color: var(--pico-mark-color);
119
+ vertical-align: baseline;
120
+ }
121
+
122
+ blockquote {
123
+ display: block;
124
+ margin: var(--pico-typography-spacing-vertical) 0;
125
+ padding: var(--pico-spacing);
126
+ border-right: none;
127
+ border-left: 0.25rem solid var(--pico-blockquote-border-color);
128
+ border-inline-start: 0.25rem solid var(--pico-blockquote-border-color);
129
+ border-inline-end: none;
130
+ }
131
+ blockquote footer {
132
+ margin-top: calc(var(--pico-typography-spacing-vertical) * 0.5);
133
+ color: var(--pico-blockquote-footer-color);
134
+ }
135
+
136
+ abbr[title] {
137
+ border-bottom: 1px dotted;
138
+ text-decoration: none;
139
+ cursor: help;
140
+ }
141
+
142
+ ins {
143
+ color: var(--pico-ins-color);
144
+ text-decoration: none;
145
+ }
146
+
147
+ del {
148
+ color: var(--pico-del-color);
149
+ }
150
+
151
+ ::-moz-selection {
152
+ background-color: var(--pico-text-selection-color);
153
+ }
154
+
155
+ ::selection {
156
+ background-color: var(--pico-text-selection-color);
157
+ }
158
+
159
+ /**
160
+ * Link
161
+ */
162
+ :where(a:not([role="button"])),
163
+ [role="link"] {
164
+ --pico-color: var(--pico-primary);
165
+ --pico-background-color: transparent;
166
+ --pico-underline: var(--pico-primary-underline);
167
+ outline: none;
168
+ background-color: var(--pico-background-color);
169
+ color: var(--pico-color);
170
+ -webkit-text-decoration: var(--pico-text-decoration);
171
+ text-decoration: var(--pico-text-decoration);
172
+ text-decoration-color: var(--pico-underline);
173
+ text-underline-offset: 0.125em;
174
+ transition:
175
+ background-color var(--pico-transition),
176
+ color var(--pico-transition),
177
+ box-shadow var(--pico-transition),
178
+ -webkit-text-decoration var(--pico-transition);
179
+ transition:
180
+ background-color var(--pico-transition),
181
+ color var(--pico-transition),
182
+ text-decoration var(--pico-transition),
183
+ box-shadow var(--pico-transition);
184
+ transition:
185
+ background-color var(--pico-transition),
186
+ color var(--pico-transition),
187
+ text-decoration var(--pico-transition),
188
+ box-shadow var(--pico-transition),
189
+ -webkit-text-decoration var(--pico-transition);
190
+ }
191
+ :where(a:not([role="button"])):is(
192
+ [aria-current]:not([aria-current="false"]),
193
+ :hover,
194
+ :active,
195
+ :focus
196
+ ),
197
+ [role="link"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
198
+ --pico-color: var(--pico-primary-hover);
199
+ --pico-underline: var(--pico-primary-hover-underline);
200
+ --pico-text-decoration: underline;
201
+ }
202
+ :where(a:not([role="button"])):focus-visible,
203
+ [role="link"]:focus-visible {
204
+ box-shadow: 0 0 0 var(--pico-outline-width) var(--pico-primary-focus);
205
+ }
206
+ :where(a:not([role="button"])).secondary,
207
+ [role="link"].secondary {
208
+ --pico-color: var(--pico-secondary);
209
+ --pico-underline: var(--pico-secondary-underline);
210
+ }
211
+ :where(a:not([role="button"])).secondary:is(
212
+ [aria-current]:not([aria-current="false"]),
213
+ :hover,
214
+ :active,
215
+ :focus
216
+ ),
217
+ [role="link"].secondary:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
218
+ --pico-color: var(--pico-secondary-hover);
219
+ --pico-underline: var(--pico-secondary-hover-underline);
220
+ }
221
+ :where(a:not([role="button"])).contrast,
222
+ [role="link"].contrast {
223
+ --pico-color: var(--pico-contrast);
224
+ --pico-underline: var(--pico-contrast-underline);
225
+ }
226
+ :where(a:not([role="button"])).contrast:is(
227
+ [aria-current]:not([aria-current="false"]),
228
+ :hover,
229
+ :active,
230
+ :focus
231
+ ),
232
+ [role="link"].contrast:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
233
+ --pico-color: var(--pico-contrast-hover);
234
+ --pico-underline: var(--pico-contrast-hover-underline);
235
+ }
236
+
237
+ a[role="button"] {
238
+ display: inline-block;
239
+ }
240
+
241
+ /**
242
+ * Button
243
+ */
244
+ button {
245
+ margin: 0;
246
+ overflow: visible;
247
+ font-family: inherit;
248
+ text-transform: none;
249
+ }
250
+
251
+ button,
252
+ [type="submit"],
253
+ [type="reset"],
254
+ [type="button"] {
255
+ -webkit-appearance: button;
256
+ }
257
+
258
+ button,
259
+ [type="submit"],
260
+ [type="reset"],
261
+ [type="button"],
262
+ [type="file"]::file-selector-button,
263
+ [role="button"] {
264
+ --pico-background-color: var(--pico-primary-background);
265
+ --pico-border-color: var(--pico-primary-border);
266
+ --pico-color: var(--pico-primary-inverse);
267
+ --pico-box-shadow: var(--pico-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
268
+ padding: var(--pico-form-element-spacing-vertical) var(--pico-form-element-spacing-horizontal);
269
+ border: var(--pico-border-width) solid var(--pico-border-color);
270
+ border-radius: var(--pico-border-radius);
271
+ outline: none;
272
+ background-color: var(--pico-background-color);
273
+ box-shadow: var(--pico-box-shadow);
274
+ color: var(--pico-color);
275
+ font-weight: var(--pico-button-font-weight, var(--pico-font-weight));
276
+ font-size: 1rem;
277
+ line-height: var(--pico-line-height);
278
+ text-align: center;
279
+ text-decoration: none;
280
+ cursor: pointer;
281
+ -webkit-user-select: none;
282
+ -moz-user-select: none;
283
+ transition:
284
+ background-color var(--pico-transition),
285
+ border-color var(--pico-transition),
286
+ color var(--pico-transition),
287
+ box-shadow var(--pico-transition);
288
+ user-select: none;
289
+ }
290
+ button:is([aria-current]:not([aria-current="false"])),
291
+ button:is(:hover, :active, :focus),
292
+ [type="submit"]:is([aria-current]:not([aria-current="false"])),
293
+ [type="submit"]:is(:hover, :active, :focus),
294
+ [type="reset"]:is([aria-current]:not([aria-current="false"])),
295
+ [type="reset"]:is(:hover, :active, :focus),
296
+ [type="button"]:is([aria-current]:not([aria-current="false"])),
297
+ [type="button"]:is(:hover, :active, :focus),
298
+ [type="file"]::file-selector-button:is([aria-current]:not([aria-current="false"])),
299
+ [type="file"]::file-selector-button:is(:hover, :active, :focus),
300
+ [role="button"]:is([aria-current]:not([aria-current="false"])),
301
+ [role="button"]:is(:hover, :active, :focus) {
302
+ --pico-background-color: var(--pico-primary-hover-background);
303
+ --pico-border-color: var(--pico-primary-hover-border);
304
+ --pico-box-shadow: var(--pico-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
305
+ --pico-color: var(--pico-primary-inverse);
306
+ }
307
+ button:focus,
308
+ button:is([aria-current]:not([aria-current="false"])):focus,
309
+ [type="submit"]:focus,
310
+ [type="submit"]:is([aria-current]:not([aria-current="false"])):focus,
311
+ [type="reset"]:focus,
312
+ [type="reset"]:is([aria-current]:not([aria-current="false"])):focus,
313
+ [type="button"]:focus,
314
+ [type="button"]:is([aria-current]:not([aria-current="false"])):focus,
315
+ [type="file"]::file-selector-button:focus,
316
+ [type="file"]::file-selector-button:is([aria-current]:not([aria-current="false"])):focus,
317
+ [role="button"]:focus,
318
+ [role="button"]:is([aria-current]:not([aria-current="false"])):focus {
319
+ --pico-box-shadow:
320
+ var(--pico-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
321
+ 0 0 0 var(--pico-outline-width) var(--pico-primary-focus);
322
+ }
323
+
324
+ [type="submit"],
325
+ [type="reset"],
326
+ [type="button"] {
327
+ margin-bottom: var(--pico-spacing);
328
+ }
329
+
330
+ :is(button, [type="submit"], [type="button"], [role="button"]).secondary,
331
+ [type="reset"],
332
+ [type="file"]::file-selector-button {
333
+ --pico-background-color: var(--pico-secondary-background);
334
+ --pico-border-color: var(--pico-secondary-border);
335
+ --pico-color: var(--pico-secondary-inverse);
336
+ cursor: pointer;
337
+ }
338
+ :is(button, [type="submit"], [type="button"], [role="button"]).secondary:is(
339
+ [aria-current]:not([aria-current="false"]),
340
+ :hover,
341
+ :active,
342
+ :focus
343
+ ),
344
+ [type="reset"]:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus),
345
+ [type="file"]::file-selector-button:is(
346
+ [aria-current]:not([aria-current="false"]),
347
+ :hover,
348
+ :active,
349
+ :focus
350
+ ) {
351
+ --pico-background-color: var(--pico-secondary-hover-background);
352
+ --pico-border-color: var(--pico-secondary-hover-border);
353
+ --pico-color: var(--pico-secondary-inverse);
354
+ }
355
+ :is(button, [type="submit"], [type="button"], [role="button"]).secondary:focus,
356
+ :is(button, [type="submit"], [type="button"], [role="button"]).secondary:is(
357
+ [aria-current]:not([aria-current="false"])
358
+ ):focus,
359
+ [type="reset"]:focus,
360
+ [type="reset"]:is([aria-current]:not([aria-current="false"])):focus,
361
+ [type="file"]::file-selector-button:focus,
362
+ [type="file"]::file-selector-button:is([aria-current]:not([aria-current="false"])):focus {
363
+ --pico-box-shadow:
364
+ var(--pico-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
365
+ 0 0 0 var(--pico-outline-width) var(--pico-secondary-focus);
366
+ }
367
+
368
+ :is(button, [type="submit"], [type="button"], [role="button"]).contrast {
369
+ --pico-background-color: var(--pico-contrast-background);
370
+ --pico-border-color: var(--pico-contrast-border);
371
+ --pico-color: var(--pico-contrast-inverse);
372
+ }
373
+ :is(button, [type="submit"], [type="button"], [role="button"]).contrast:is(
374
+ [aria-current]:not([aria-current="false"]),
375
+ :hover,
376
+ :active,
377
+ :focus
378
+ ) {
379
+ --pico-background-color: var(--pico-contrast-hover-background);
380
+ --pico-border-color: var(--pico-contrast-hover-border);
381
+ --pico-color: var(--pico-contrast-inverse);
382
+ }
383
+ :is(button, [type="submit"], [type="button"], [role="button"]).contrast:focus,
384
+ :is(button, [type="submit"], [type="button"], [role="button"]).contrast:is(
385
+ [aria-current]:not([aria-current="false"])
386
+ ):focus {
387
+ --pico-box-shadow:
388
+ var(--pico-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
389
+ 0 0 0 var(--pico-outline-width) var(--pico-contrast-focus);
390
+ }
391
+
392
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline,
393
+ [type="reset"].outline {
394
+ --pico-background-color: transparent;
395
+ --pico-color: var(--pico-primary);
396
+ --pico-border-color: var(--pico-primary);
397
+ }
398
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline:is(
399
+ [aria-current]:not([aria-current="false"]),
400
+ :hover,
401
+ :active,
402
+ :focus
403
+ ),
404
+ [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
405
+ --pico-background-color: transparent;
406
+ --pico-color: var(--pico-primary-hover);
407
+ --pico-border-color: var(--pico-primary-hover);
408
+ }
409
+
410
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary,
411
+ [type="reset"].outline {
412
+ --pico-color: var(--pico-secondary);
413
+ --pico-border-color: var(--pico-secondary);
414
+ }
415
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.secondary:is(
416
+ [aria-current]:not([aria-current="false"]),
417
+ :hover,
418
+ :active,
419
+ :focus
420
+ ),
421
+ [type="reset"].outline:is([aria-current]:not([aria-current="false"]), :hover, :active, :focus) {
422
+ --pico-color: var(--pico-secondary-hover);
423
+ --pico-border-color: var(--pico-secondary-hover);
424
+ }
425
+
426
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast {
427
+ --pico-color: var(--pico-contrast);
428
+ --pico-border-color: var(--pico-contrast);
429
+ }
430
+ :is(button, [type="submit"], [type="button"], [role="button"]).outline.contrast:is(
431
+ [aria-current]:not([aria-current="false"]),
432
+ :hover,
433
+ :active,
434
+ :focus
435
+ ) {
436
+ --pico-color: var(--pico-contrast-hover);
437
+ --pico-border-color: var(--pico-contrast-hover);
438
+ }
439
+
440
+ :where(button, [type="submit"], [type="reset"], [type="button"], [role="button"])[disabled],
441
+ :where(fieldset[disabled])
442
+ :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
443
+ opacity: 0.5;
444
+ pointer-events: none;
445
+ }
446
+
447
+ /**
448
+ * Table
449
+ */
450
+ :where(table) {
451
+ width: 100%;
452
+ border-collapse: collapse;
453
+ border-spacing: 0;
454
+ text-indent: 0;
455
+ }
456
+
457
+ th,
458
+ td {
459
+ padding: calc(var(--pico-spacing) / 2) var(--pico-spacing);
460
+ border-bottom: var(--pico-border-width) solid var(--pico-table-border-color);
461
+ background-color: var(--pico-background-color);
462
+ color: var(--pico-color);
463
+ font-weight: var(--pico-font-weight);
464
+ text-align: start;
465
+ }
466
+
467
+ tfoot th,
468
+ tfoot td {
469
+ border-top: var(--pico-border-width) solid var(--pico-table-border-color);
470
+ border-bottom: 0;
471
+ }
472
+
473
+ table.striped tbody tr:nth-child(odd) th,
474
+ table.striped tbody tr:nth-child(odd) td {
475
+ background-color: var(--pico-table-row-stripped-background-color);
476
+ }
477
+
478
+ /**
479
+ * Embedded content
480
+ */
481
+ :where(audio, canvas, iframe, img, svg, video) {
482
+ vertical-align: middle;
483
+ }
484
+
485
+ audio,
486
+ video {
487
+ display: inline-block;
488
+ }
489
+
490
+ audio:not([controls]) {
491
+ display: none;
492
+ height: 0;
493
+ }
494
+
495
+ :where(iframe) {
496
+ border-style: none;
497
+ }
498
+
499
+ img:not([height]) {
500
+ max-width: 100%;
501
+ height: auto;
502
+ }
503
+
504
+ img {
505
+ border-style: none;
506
+ }
507
+
508
+ :where(svg:not([fill])) {
509
+ fill: currentColor;
510
+ }
511
+
512
+ svg:not(:scope),
513
+ svg:not(:host) {
514
+ overflow: hidden;
515
+ }
516
+
517
+ /**
518
+ * Code
519
+ */
520
+ pre,
521
+ code,
522
+ var,
523
+ kbd,
524
+ samp {
525
+ font-size: 0.875em;
526
+ font-family: var(--pico-font-family);
527
+ }
528
+
529
+ pre code,
530
+ pre samp {
531
+ font-size: inherit;
532
+ font-family: inherit;
533
+ }
534
+
535
+ pre {
536
+ -ms-overflow-style: scrollbar;
537
+ overflow: auto;
538
+ }
539
+
540
+ pre,
541
+ code,
542
+ var,
543
+ kbd,
544
+ samp {
545
+ border-radius: var(--pico-border-radius);
546
+ background: var(--pico-code-background-color);
547
+ color: var(--pico-code-color);
548
+ font-weight: var(--pico-font-weight);
549
+ line-height: initial;
550
+ }
551
+
552
+ code,
553
+ var,
554
+ kbd,
555
+ samp {
556
+ display: inline-block;
557
+ padding: 0.375rem;
558
+ }
559
+
560
+ pre {
561
+ display: block;
562
+ margin-bottom: var(--pico-spacing);
563
+ overflow-x: auto;
564
+ }
565
+ pre > code,
566
+ pre > samp {
567
+ display: block;
568
+ padding: var(--pico-spacing);
569
+ background: none;
570
+ line-height: var(--pico-line-height);
571
+ }
572
+
573
+ kbd {
574
+ background-color: var(--pico-code-kbd-background-color);
575
+ color: var(--pico-code-kbd-color);
576
+ vertical-align: baseline;
577
+ }
578
+
579
+ /**
580
+ * Figure
581
+ */
582
+ figure {
583
+ display: block;
584
+ margin: 0;
585
+ padding: 0;
586
+ }
587
+ figure figcaption {
588
+ padding: calc(var(--pico-spacing) * 0.5) 0;
589
+ color: var(--pico-muted-color);
590
+ }
591
+ /**
592
+ * Misc
593
+ */
594
+ hr {
595
+ height: 0;
596
+ margin: var(--pico-typography-spacing-vertical) 0;
597
+ border: 0;
598
+ border-top: 1px solid var(--pico-muted-border-color);
599
+ color: inherit;
600
+ }
601
+
602
+ [hidden],
603
+ template {
604
+ display: none !important;
605
+ }
606
+
607
+ canvas {
608
+ display: inline-block;
609
+ }
610
+
611
+ }