@cirthcss/cirth 0.9.0 → 0.10.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/README.md CHANGED
@@ -55,8 +55,8 @@ Include one stylesheet and write ordinary semantic HTML.
55
55
  ```html
56
56
  <link
57
57
  rel="stylesheet"
58
- href="https://cdn.jsdelivr.net/npm/@cirthcss/cirth@0.9.0/dist/cirth.min.css"
59
- integrity="sha384-GcsDrZOEcXva08eOmuqAN405xtTxYjeaLGAJWQwIDzwHLPGiAngOnCO0PK8xs/MR"
58
+ href="https://cdn.jsdelivr.net/npm/@cirthcss/cirth@0.10.0/dist/cirth.min.css"
59
+ integrity="sha384-eryxoPjA1vogVlspjzxHv7EDws0Ns2llZpU+nFSO6MKh58+TqPrpTxm/nBZcjAuE"
60
60
  crossorigin="anonymous">
61
61
  ```
62
62
 
@@ -247,13 +247,16 @@ npm run docs:dev
247
247
  [Dropdown](docs/src/pages/components/dropdown.md) ·
248
248
  [Group](docs/src/pages/components/group.md) ·
249
249
  [Loading](docs/src/pages/components/loading.md) ·
250
+ [Meter](docs/src/pages/components/meter.md) ·
250
251
  [Modal](docs/src/pages/components/modal.md) ·
251
252
  [Nav](docs/src/pages/components/nav.md) ·
252
253
  [Progress](docs/src/pages/components/progress.md) ·
253
254
  [Tooltip](docs/src/pages/components/tooltip.md)
254
255
  - **Utilities** —
255
256
  [Accessibility](docs/src/pages/utilities/accessibility.md) ·
256
- [Reduce motion](docs/src/pages/utilities/reduce-motion.md)
257
+ [High contrast](docs/src/pages/utilities/high-contrast.md) ·
258
+ [Reduce motion](docs/src/pages/utilities/reduce-motion.md) ·
259
+ [Print](docs/src/pages/utilities/print.md)
257
260
  - **Project** —
258
261
  [Examples](docs/src/pages/examples.md) ·
259
262
  [Contributions](docs/src/pages/contributions.md) ·
@@ -1398,6 +1398,50 @@ button[aria-busy="true"], [type="submit"][aria-busy="true"], [type="button"][ari
1398
1398
  pointer-events: none;
1399
1399
  }
1400
1400
 
1401
+ meter {
1402
+ appearance: none;
1403
+ width: 100%;
1404
+ height: var(--cirth-size-2);
1405
+ margin-bottom: calc(var(--cirth-spacing) * .5);
1406
+ border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
1407
+ border-radius: var(--cirth-border-radius);
1408
+ background: var(--cirth-meter-background-color);
1409
+ display: inline-block;
1410
+ overflow: hidden;
1411
+ }
1412
+
1413
+ meter::-webkit-meter-bar {
1414
+ background: none;
1415
+ }
1416
+
1417
+ meter::-webkit-meter-inner-element {
1418
+ display: flex;
1419
+ }
1420
+
1421
+ meter::-webkit-meter-optimum-value {
1422
+ background: var(--cirth-meter-optimum-color);
1423
+ }
1424
+
1425
+ meter::-webkit-meter-suboptimum-value {
1426
+ background: var(--cirth-meter-suboptimum-color);
1427
+ }
1428
+
1429
+ meter::-webkit-meter-even-less-good-value {
1430
+ background: var(--cirth-meter-even-less-good-color);
1431
+ }
1432
+
1433
+ meter::-moz-meter-bar {
1434
+ background: var(--cirth-meter-optimum-color);
1435
+ }
1436
+
1437
+ meter:-moz-meter-sub-optimum::-moz-meter-bar {
1438
+ background: var(--cirth-meter-suboptimum-color);
1439
+ }
1440
+
1441
+ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
1442
+ background: var(--cirth-meter-even-less-good-color);
1443
+ }
1444
+
1401
1445
  :root, :host {
1402
1446
  --cirth-scrollbar-width: 0px;
1403
1447
  }
@@ -1965,6 +2009,8 @@ progress::-moz-progress-bar {
1965
2009
  var(--cirth-primary-focus);
1966
2010
  --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
1967
2011
  var(--cirth-form-element-border-color);
2012
+ --cirth-meter-background-color: var(--cirth-progress-background-color);
2013
+ --cirth-meter-border-color: var(--cirth-progress-border-color);
1968
2014
  --cirth-modal-overlay-backdrop-filter: blur(.375rem);
1969
2015
  --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
1970
2016
  --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
@@ -2107,7 +2153,7 @@ details summary[role="button"]:after {
2107
2153
  filter: brightness(0) invert();
2108
2154
  }
2109
2155
 
2110
- [data-theme="light"], :root:not([data-theme="dark"]), :host(:not([data-theme="dark"])) {
2156
+ :where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
2111
2157
  --lightningcss-light: initial;
2112
2158
  --lightningcss-dark: ;
2113
2159
  color-scheme: light;
@@ -2202,6 +2248,9 @@ details summary[role="button"]:after {
2202
2248
  --cirth-card-sectioning-background-color: oklch(99% 0 336);
2203
2249
  --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2204
2250
  --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2251
+ --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2252
+ --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2253
+ --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2205
2254
  --cirth-progress-background-color: oklch(91.7% .006 264);
2206
2255
  --cirth-progress-border-color: oklch(61.3% .032 264);
2207
2256
  --cirth-progress-color: var(--cirth-primary-background);
@@ -2211,12 +2260,12 @@ details summary[role="button"]:after {
2211
2260
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(189, 47, 33)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2212
2261
  }
2213
2262
 
2214
- [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2263
+ :where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :root:where(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:where(:not([data-theme="dark"]))) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2215
2264
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
2216
2265
  }
2217
2266
 
2218
2267
  @media only screen and (prefers-color-scheme: dark) {
2219
- :root:not([data-theme]), :host(:not([data-theme])) {
2268
+ :root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
2220
2269
  --lightningcss-light: ;
2221
2270
  --lightningcss-dark: initial;
2222
2271
  color-scheme: dark;
@@ -2311,6 +2360,9 @@ details summary[role="button"]:after {
2311
2360
  --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2312
2361
  --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2313
2362
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2363
+ --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2364
+ --cirth-meter-suboptimum-color: oklch(70% .124 78);
2365
+ --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2314
2366
  --cirth-progress-background-color: oklch(26.7% .011 264);
2315
2367
  --cirth-progress-border-color: oklch(52.7% .032 264);
2316
2368
  --cirth-progress-color: oklch(61.3% .113 69.35);
@@ -2320,12 +2372,12 @@ details summary[role="button"]:after {
2320
2372
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2321
2373
  }
2322
2374
 
2323
- :root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2375
+ :root:where(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:where(:not([data-theme]))) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2324
2376
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
2325
2377
  }
2326
2378
  }
2327
2379
 
2328
- [data-theme="dark"] {
2380
+ :where([data-theme="dark"]) {
2329
2381
  --lightningcss-light: ;
2330
2382
  --lightningcss-dark: initial;
2331
2383
  color-scheme: dark;
@@ -2420,6 +2472,9 @@ details summary[role="button"]:after {
2420
2472
  --cirth-card-sectioning-background-color: oklch(23.4% .00725 264);
2421
2473
  --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2422
2474
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2475
+ --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2476
+ --cirth-meter-suboptimum-color: oklch(70% .124 78);
2477
+ --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2423
2478
  --cirth-progress-background-color: oklch(26.7% .011 264);
2424
2479
  --cirth-progress-border-color: oklch(52.7% .032 264);
2425
2480
  --cirth-progress-color: oklch(61.3% .113 69.35);
@@ -2429,10 +2484,244 @@ details summary[role="button"]:after {
2429
2484
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2430
2485
  }
2431
2486
 
2432
- [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2487
+ :where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2433
2488
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
2434
2489
  }
2435
2490
 
2436
2491
  progress, [type="checkbox"], [type="radio"], [type="range"] {
2437
2492
  accent-color: var(--cirth-primary);
2438
2493
  }
2494
+
2495
+ @media (prefers-contrast: more) {
2496
+ :where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
2497
+ --cirth-color: oklch(22.3% .006 264);
2498
+ --cirth-h1-color: var(--cirth-color);
2499
+ --cirth-h2-color: var(--cirth-color);
2500
+ --cirth-h3-color: var(--cirth-color);
2501
+ --cirth-h4-color: var(--cirth-color);
2502
+ --cirth-h5-color: var(--cirth-color);
2503
+ --cirth-h6-color: var(--cirth-color);
2504
+ --cirth-muted-color: oklch(39.7% .025 264);
2505
+ --cirth-secondary: oklch(39.7% .025 264);
2506
+ --cirth-code-color: oklch(35.3% .021 264);
2507
+ --cirth-link-visited-color: oklch(35.3% .021 264);
2508
+ --cirth-muted-border-color: oklch(57% .032 264);
2509
+ --cirth-form-element-border-color: oklch(39.7% .025 264);
2510
+ --cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
2511
+ --cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
2512
+ --cirth-primary: oklch(39.7% .073 69.35);
2513
+ --cirth-primary-hover: oklch(31% .057 69.35);
2514
+ --cirth-primary-underline: var(--cirth-primary);
2515
+ --cirth-secondary-underline: var(--cirth-secondary);
2516
+ --cirth-contrast-underline: var(--cirth-contrast);
2517
+ --cirth-primary-focus: oklch(48.3% .089 69.35);
2518
+ --cirth-secondary-focus: oklch(48.3% .03 264);
2519
+ --cirth-contrast-focus: oklch(48.3% .03 264);
2520
+ --cirth-switch-background-color: oklch(48.3% .03 264);
2521
+ --cirth-progress-border-color: oklch(48.3% .03 264);
2522
+ --cirth-meter-optimum-color: oklch(44% .084 160.59);
2523
+ --cirth-meter-suboptimum-color: oklch(39.7% .07 78);
2524
+ --cirth-meter-even-less-good-color: oklch(35.3% .122 29.73);
2525
+ }
2526
+ }
2527
+
2528
+ @media only screen and (prefers-contrast: more) and (prefers-color-scheme: dark) {
2529
+ :root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
2530
+ --cirth-color: oklch(96% 0 264);
2531
+ --cirth-h1-color: var(--cirth-color);
2532
+ --cirth-h2-color: var(--cirth-color);
2533
+ --cirth-h3-color: var(--cirth-color);
2534
+ --cirth-h4-color: var(--cirth-color);
2535
+ --cirth-h5-color: var(--cirth-color);
2536
+ --cirth-h6-color: var(--cirth-color);
2537
+ --cirth-muted-color: oklch(78.7% .021 264);
2538
+ --cirth-secondary: oklch(78.7% .021 264);
2539
+ --cirth-code-color: oklch(83% .016 264);
2540
+ --cirth-link-visited-color: oklch(78.7% .021 264);
2541
+ --cirth-muted-border-color: oklch(57% .032 264);
2542
+ --cirth-card-border-color: var(--cirth-muted-border-color);
2543
+ --cirth-form-element-border-color: oklch(70% .028 264);
2544
+ --cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
2545
+ --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2546
+ --cirth-primary: oklch(78.7% .146 69.35);
2547
+ --cirth-primary-hover: oklch(87.3% .082 69.35);
2548
+ --cirth-primary-underline: var(--cirth-primary);
2549
+ --cirth-secondary-underline: var(--cirth-secondary);
2550
+ --cirth-contrast-underline: var(--cirth-contrast);
2551
+ --cirth-primary-focus: oklch(70% .129 69.35);
2552
+ --cirth-secondary-focus: oklch(70% .028 264);
2553
+ --cirth-contrast-focus: oklch(87.3% .011 264);
2554
+ --cirth-switch-background-color: oklch(65.7% .03 264);
2555
+ --cirth-progress-border-color: oklch(70% .028 264);
2556
+ --cirth-meter-optimum-color: oklch(74.3% .142 160.59);
2557
+ --cirth-meter-suboptimum-color: oklch(78.7% .139 78);
2558
+ --cirth-meter-even-less-good-color: oklch(83% .081 29.73);
2559
+ }
2560
+ }
2561
+
2562
+ @media (prefers-contrast: more) {
2563
+ :where([data-theme="dark"]) {
2564
+ --cirth-color: oklch(96% 0 264);
2565
+ --cirth-h1-color: var(--cirth-color);
2566
+ --cirth-h2-color: var(--cirth-color);
2567
+ --cirth-h3-color: var(--cirth-color);
2568
+ --cirth-h4-color: var(--cirth-color);
2569
+ --cirth-h5-color: var(--cirth-color);
2570
+ --cirth-h6-color: var(--cirth-color);
2571
+ --cirth-muted-color: oklch(78.7% .021 264);
2572
+ --cirth-secondary: oklch(78.7% .021 264);
2573
+ --cirth-code-color: oklch(83% .016 264);
2574
+ --cirth-link-visited-color: oklch(78.7% .021 264);
2575
+ --cirth-muted-border-color: oklch(57% .032 264);
2576
+ --cirth-card-border-color: var(--cirth-muted-border-color);
2577
+ --cirth-form-element-border-color: oklch(70% .028 264);
2578
+ --cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
2579
+ --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2580
+ --cirth-primary: oklch(78.7% .146 69.35);
2581
+ --cirth-primary-hover: oklch(87.3% .082 69.35);
2582
+ --cirth-primary-underline: var(--cirth-primary);
2583
+ --cirth-secondary-underline: var(--cirth-secondary);
2584
+ --cirth-contrast-underline: var(--cirth-contrast);
2585
+ --cirth-primary-focus: oklch(70% .129 69.35);
2586
+ --cirth-secondary-focus: oklch(70% .028 264);
2587
+ --cirth-contrast-focus: oklch(87.3% .011 264);
2588
+ --cirth-switch-background-color: oklch(65.7% .03 264);
2589
+ --cirth-progress-border-color: oklch(70% .028 264);
2590
+ --cirth-meter-optimum-color: oklch(74.3% .142 160.59);
2591
+ --cirth-meter-suboptimum-color: oklch(78.7% .139 78);
2592
+ --cirth-meter-even-less-good-color: oklch(83% .081 29.73);
2593
+ }
2594
+ }
2595
+
2596
+ @media print {
2597
+ :root, :host {
2598
+ --cirth-print-color: oklch(0% 0 0);
2599
+ --cirth-print-muted-color: oklch(48.3% .03 264);
2600
+ --cirth-print-border-color: oklch(61.3% .032 264);
2601
+ }
2602
+
2603
+ html {
2604
+ --lightningcss-light: initial;
2605
+ --lightningcss-dark: ;
2606
+ color-scheme: light;
2607
+ background: none;
2608
+ }
2609
+
2610
+ body {
2611
+ color: var(--cirth-print-color);
2612
+ --lightningcss-light: initial;
2613
+ --lightningcss-dark: ;
2614
+ color-scheme: light;
2615
+ --cirth-color: var(--cirth-print-color);
2616
+ --cirth-h1-color: var(--cirth-print-color);
2617
+ --cirth-h2-color: var(--cirth-print-color);
2618
+ --cirth-h3-color: var(--cirth-print-color);
2619
+ --cirth-h4-color: var(--cirth-print-color);
2620
+ --cirth-h5-color: var(--cirth-print-color);
2621
+ --cirth-h6-color: var(--cirth-print-color);
2622
+ --cirth-code-color: var(--cirth-print-color);
2623
+ --cirth-code-kbd-color: var(--cirth-print-color);
2624
+ --cirth-form-element-color: var(--cirth-print-color);
2625
+ --cirth-muted-color: var(--cirth-print-muted-color);
2626
+ --cirth-form-element-placeholder-color: var(--cirth-print-muted-color);
2627
+ --cirth-primary: var(--cirth-print-color);
2628
+ --cirth-primary-hover: var(--cirth-print-color);
2629
+ --cirth-primary-underline: var(--cirth-print-color);
2630
+ --cirth-secondary: var(--cirth-print-color);
2631
+ --cirth-secondary-underline: var(--cirth-print-color);
2632
+ --cirth-contrast: var(--cirth-print-color);
2633
+ --cirth-contrast-underline: var(--cirth-print-color);
2634
+ --cirth-link-visited-color: var(--cirth-print-color);
2635
+ --cirth-muted-border-color: var(--cirth-print-border-color);
2636
+ --cirth-form-element-border-color: var(--cirth-print-border-color);
2637
+ --cirth-box-shadow: none;
2638
+ --cirth-card-box-shadow: none;
2639
+ --cirth-card-background-color: transparent;
2640
+ --cirth-card-sectioning-background-color: transparent;
2641
+ --cirth-code-background-color: transparent;
2642
+ --cirth-code-kbd-background-color: transparent;
2643
+ --cirth-form-element-background-color: transparent;
2644
+ --cirth-form-element-active-background-color: transparent;
2645
+ --cirth-table-row-stripped-background-color: transparent;
2646
+ --cirth-modal-overlay-background-color: transparent;
2647
+ --cirth-ins-color: oklch(35.3% .067 160.59);
2648
+ --cirth-del-color: oklch(35.3% .122 29.73);
2649
+ --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2650
+ --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2651
+ --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2652
+ background: none;
2653
+ }
2654
+
2655
+ kbd {
2656
+ border: var(--cirth-border-width) solid var(--cirth-print-border-color);
2657
+ }
2658
+
2659
+ :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"]) {
2660
+ border-color: var(--cirth-print-border-color);
2661
+ box-shadow: none;
2662
+ color: var(--cirth-print-color);
2663
+ background: none;
2664
+ }
2665
+
2666
+ [type="file"]::file-selector-button {
2667
+ border-color: var(--cirth-print-border-color);
2668
+ box-shadow: none;
2669
+ color: var(--cirth-print-color);
2670
+ background: none;
2671
+ }
2672
+
2673
+ :is(mark, meter, progress, [type="checkbox"], [type="radio"]) {
2674
+ -webkit-print-color-adjust: exact;
2675
+ print-color-adjust: exact;
2676
+ }
2677
+
2678
+ a[href^="http"]:not([role="button"], nav a):after {
2679
+ content: " (" attr(href) ")";
2680
+ color: var(--cirth-print-muted-color);
2681
+ font-size: var(--cirth-font-size-sm);
2682
+ word-break: break-all;
2683
+ }
2684
+
2685
+ thead {
2686
+ display: table-header-group;
2687
+ }
2688
+
2689
+ tfoot {
2690
+ display: table-footer-group;
2691
+ }
2692
+
2693
+ tr {
2694
+ break-inside: avoid;
2695
+ }
2696
+
2697
+ pre {
2698
+ white-space: pre-wrap;
2699
+ overflow: visible;
2700
+ }
2701
+
2702
+ dialog {
2703
+ -webkit-backdrop-filter: none;
2704
+ backdrop-filter: none;
2705
+ min-width: 0;
2706
+ min-height: 0;
2707
+ position: static;
2708
+ }
2709
+
2710
+ dialog > article {
2711
+ max-height: none;
2712
+ overflow: visible;
2713
+ }
2714
+
2715
+ :is(h1, h2, h3, h4, h5, h6) {
2716
+ break-after: avoid;
2717
+ }
2718
+
2719
+ :is(figure, img) {
2720
+ break-inside: avoid;
2721
+ }
2722
+
2723
+ :is(blockquote, li, p) {
2724
+ orphans: 3;
2725
+ widows: 3;
2726
+ }
2727
+ }