@cirthcss/cirth 0.4.0 → 0.6.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.
@@ -35,15 +35,13 @@
35
35
  .cirth > header, .cirth > main, .cirth > footer {
36
36
  width: 100%;
37
37
  padding: var(--cirth-block-spacing-vertical) var(--cirth-block-spacing-horizontal);
38
- margin-left: auto;
39
- margin-right: auto;
38
+ margin-inline: auto;
40
39
  }
41
40
 
42
41
  @media (min-width: 576px) {
43
42
  .cirth > header, .cirth > main, .cirth > footer {
44
43
  max-width: 510px;
45
- padding-left: 0;
46
- padding-right: 0;
44
+ padding-inline: 0;
47
45
  }
48
46
  }
49
47
 
@@ -184,8 +182,6 @@
184
182
  .cirth blockquote {
185
183
  margin: var(--cirth-typography-spacing-vertical) 0;
186
184
  padding: var(--cirth-spacing);
187
- border-right: none;
188
- border-left: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
189
185
  border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
190
186
  border-inline-end: none;
191
187
  display: block;
@@ -225,7 +221,6 @@
225
221
  text-decoration: var(--cirth-text-decoration);
226
222
  -webkit-text-decoration-color: var(--cirth-underline);
227
223
  text-decoration-color: var(--cirth-underline);
228
- text-underline-offset: .125em;
229
224
  transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
230
225
  outline: none;
231
226
  }
@@ -404,11 +399,9 @@
404
399
  .cirth th, .cirth td {
405
400
  padding: calc(var(--cirth-spacing) / 2) var(--cirth-spacing);
406
401
  border-bottom: var(--cirth-border-width) solid var(--cirth-table-border-color);
407
- background-color: var(--cirth-background-color);
408
402
  color: var(--cirth-color);
409
403
  font-weight: var(--cirth-font-weight);
410
404
  font-variant-numeric: tabular-nums;
411
- text-align: left;
412
405
  text-align: start;
413
406
  }
414
407
 
@@ -417,10 +410,6 @@
417
410
  border-bottom: 0;
418
411
  }
419
412
 
420
- .cirth table.striped tbody tr:nth-child(odd) th, .cirth table.striped tbody tr:nth-child(odd) td {
421
- background-color: var(--cirth-table-row-stripped-background-color);
422
- }
423
-
424
413
  .cirth :where(audio, canvas, iframe, img, svg, video) {
425
414
  vertical-align: middle;
426
415
  }
@@ -441,6 +430,9 @@
441
430
  .cirth img {
442
431
  border-style: none;
443
432
  max-width: 100%;
433
+ }
434
+
435
+ .cirth img:where(:not([height]), [width][height]) {
444
436
  height: auto;
445
437
  }
446
438
 
@@ -499,6 +491,13 @@
499
491
  vertical-align: baseline;
500
492
  }
501
493
 
494
+ .cirth var {
495
+ color: var(--cirth-code-color);
496
+ font-size: .875em;
497
+ font-style: italic;
498
+ font-family: var(--cirth-font-family);
499
+ }
500
+
502
501
  .cirth figure {
503
502
  margin: 0;
504
503
  padding: 0;
@@ -672,8 +671,6 @@
672
671
  }
673
672
 
674
673
  .cirth :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
675
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
676
- padding-left: var(--cirth-form-element-spacing-horizontal);
677
674
  background-position: center right var(--cirth-space-3);
678
675
  background-size: var(--cirth-size-4) auto;
679
676
  background-repeat: no-repeat;
@@ -719,6 +716,10 @@
719
716
  background-position: center left var(--cirth-space-3);
720
717
  }
721
718
 
719
+ [dir="rtl"] .cirth textarea[aria-invalid] {
720
+ background-position: top left var(--cirth-space-3);
721
+ }
722
+
722
723
  .cirth input::placeholder, .cirth textarea::placeholder, .cirth select:invalid {
723
724
  color: var(--cirth-form-element-placeholder-color);
724
725
  opacity: 1;
@@ -744,8 +745,6 @@
744
745
  }
745
746
 
746
747
  .cirth select:not([multiple], [size]) {
747
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
748
- padding-left: var(--cirth-form-element-spacing-horizontal);
749
748
  background-image: var(--cirth-icon-chevron);
750
749
  background-position: center right var(--cirth-space-3);
751
750
  background-size: var(--cirth-size-4) auto;
@@ -940,11 +939,11 @@
940
939
  .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
941
940
  --cirth-icon-position: var(--cirth-space-3);
942
941
  --cirth-icon-width: var(--cirth-size-4);
943
- padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
944
942
  background-image: var(--cirth-icon-date);
945
943
  background-position: center right var(--cirth-icon-position);
946
944
  background-size: var(--cirth-icon-width) auto;
947
945
  background-repeat: no-repeat;
946
+ padding-inline-end: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
948
947
  }
949
948
 
950
949
  .cirth input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="time"] {
@@ -953,63 +952,64 @@
953
952
 
954
953
  .cirth [type="date"]::-webkit-calendar-picker-indicator {
955
954
  width: var(--cirth-icon-width);
956
- margin-right: calc(var(--cirth-icon-width) * -1);
957
- margin-left: var(--cirth-icon-position);
958
955
  opacity: 0;
956
+ margin-inline-start: var(--cirth-icon-position);
957
+ margin-inline-end: calc(var(--cirth-icon-width) * -1);
959
958
  }
960
959
 
961
960
  .cirth [type="datetime-local"]::-webkit-calendar-picker-indicator {
962
961
  width: var(--cirth-icon-width);
963
- margin-right: calc(var(--cirth-icon-width) * -1);
964
- margin-left: var(--cirth-icon-position);
965
962
  opacity: 0;
963
+ margin-inline-start: var(--cirth-icon-position);
964
+ margin-inline-end: calc(var(--cirth-icon-width) * -1);
966
965
  }
967
966
 
968
967
  .cirth [type="month"]::-webkit-calendar-picker-indicator {
969
968
  width: var(--cirth-icon-width);
970
- margin-right: calc(var(--cirth-icon-width) * -1);
971
- margin-left: var(--cirth-icon-position);
972
969
  opacity: 0;
970
+ margin-inline-start: var(--cirth-icon-position);
971
+ margin-inline-end: calc(var(--cirth-icon-width) * -1);
973
972
  }
974
973
 
975
974
  .cirth [type="time"]::-webkit-calendar-picker-indicator {
976
975
  width: var(--cirth-icon-width);
977
- margin-right: calc(var(--cirth-icon-width) * -1);
978
- margin-left: var(--cirth-icon-position);
979
976
  opacity: 0;
977
+ margin-inline-start: var(--cirth-icon-position);
978
+ margin-inline-end: calc(var(--cirth-icon-width) * -1);
980
979
  }
981
980
 
982
981
  .cirth [type="week"]::-webkit-calendar-picker-indicator {
983
982
  width: var(--cirth-icon-width);
984
- margin-right: calc(var(--cirth-icon-width) * -1);
985
- margin-left: var(--cirth-icon-position);
986
983
  opacity: 0;
984
+ margin-inline-start: var(--cirth-icon-position);
985
+ margin-inline-end: calc(var(--cirth-icon-width) * -1);
987
986
  }
988
987
 
989
988
  @-moz-document url-prefix() {
990
989
  .cirth [type="date"], .cirth [type="datetime-local"], .cirth [type="month"], .cirth [type="time"], .cirth [type="week"] {
991
- padding-right: var(--cirth-form-element-spacing-horizontal);
992
990
  background-image: none;
991
+ padding-inline-end: var(--cirth-form-element-spacing-horizontal);
993
992
  }
994
993
  }
995
994
 
996
995
  [dir="rtl"] .cirth :is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
996
+ background-position: center left var(--cirth-icon-position);
997
997
  text-align: right;
998
998
  }
999
999
 
1000
1000
  .cirth [type="file"] {
1001
1001
  --cirth-color: var(--cirth-muted-color);
1002
- margin-left: calc(var(--cirth-outline-width) * -1);
1003
1002
  padding: calc(var(--cirth-form-element-spacing-vertical) * .5) 0;
1004
- padding-left: var(--cirth-outline-width);
1005
1003
  background: none;
1006
1004
  border: 0;
1007
1005
  border-radius: 0;
1006
+ margin-inline-start: calc(var(--cirth-outline-width) * -1);
1007
+ padding-inline-start: var(--cirth-outline-width);
1008
1008
  }
1009
1009
 
1010
1010
  .cirth [type="file"]::file-selector-button {
1011
- margin-right: calc(var(--cirth-spacing) / 2);
1012
1011
  padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
1012
+ margin-inline-end: calc(var(--cirth-spacing) / 2);
1013
1013
  }
1014
1014
 
1015
1015
  .cirth [type="file"]:is(:hover, :active, :focus)::file-selector-button {
@@ -1193,7 +1193,7 @@
1193
1193
  }
1194
1194
 
1195
1195
  .cirth details summary[role="button"] {
1196
- text-align: left;
1196
+ text-align: start;
1197
1197
  width: 100%;
1198
1198
  }
1199
1199
 
@@ -1213,10 +1213,6 @@
1213
1213
  transform: rotate(0);
1214
1214
  }
1215
1215
 
1216
- [dir="rtl"] .cirth details summary {
1217
- text-align: right;
1218
- }
1219
-
1220
1216
  [dir="rtl"] .cirth details summary:after {
1221
1217
  float: left;
1222
1218
  background-position: 0;
@@ -1231,12 +1227,15 @@
1231
1227
  }
1232
1228
 
1233
1229
  .cirth article > header, .cirth article > footer {
1234
- margin-right: calc(var(--cirth-block-spacing-horizontal) * -1);
1235
- margin-left: calc(var(--cirth-block-spacing-horizontal) * -1);
1230
+ margin-inline: calc(var(--cirth-block-spacing-horizontal) * -1);
1236
1231
  padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
1237
1232
  background-color: var(--cirth-card-sectioning-background-color);
1238
1233
  }
1239
1234
 
1235
+ .cirth article > header > :last-child, .cirth article > footer > :last-child {
1236
+ margin-bottom: 0;
1237
+ }
1238
+
1240
1239
  .cirth article > header {
1241
1240
  margin-top: calc(var(--cirth-block-spacing-vertical) * -1);
1242
1241
  margin-bottom: var(--cirth-block-spacing-vertical);
@@ -1260,33 +1259,50 @@
1260
1259
  box-shadow: var(--cirth-group-box-shadow, 0 0 0 #0000);
1261
1260
  vertical-align: middle;
1262
1261
  transition: box-shadow var(--cirth-transition);
1262
+ flex-wrap: wrap;
1263
1263
  display: inline-flex;
1264
1264
  position: relative;
1265
1265
  }
1266
1266
 
1267
+ .cirth [role="search"] > small, .cirth [role="group"] > small {
1268
+ margin-top: calc(var(--cirth-spacing) * .25);
1269
+ flex: 0 0 100%;
1270
+ order: 1;
1271
+ margin-bottom: 0;
1272
+ }
1273
+
1267
1274
  .cirth [role="search"] > *, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]), .cirth [role="search"] select, .cirth [role="group"] > *, .cirth [role="group"] input:not([type="checkbox"], [type="radio"]), .cirth [role="group"] select {
1268
1275
  flex: auto;
1269
1276
  margin-bottom: 0;
1270
1277
  position: relative;
1271
1278
  }
1272
1279
 
1280
+ .cirth [role="search"] > :is(input, select, textarea), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .cirth [role="search"] select:is(input, select, textarea), .cirth [role="group"] > :is(input, select, textarea), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), .cirth [role="group"] select:is(input, select, textarea) {
1281
+ flex: 99;
1282
+ }
1283
+
1273
1284
  .cirth [role="search"] > :not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] > :not(:first-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="group"] select:not(:first-child) {
1274
- border-top-left-radius: 0;
1275
- border-bottom-left-radius: 0;
1276
- margin-left: 0;
1285
+ border-start-start-radius: 0;
1286
+ border-end-start-radius: 0;
1287
+ margin-inline-start: 0;
1277
1288
  }
1278
1289
 
1279
1290
  .cirth [role="search"] > :not(:last-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth [role="search"] select:not(:last-child), .cirth [role="group"] > :not(:last-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:last-child), .cirth [role="group"] select:not(:last-child) {
1280
- border-top-right-radius: 0;
1281
- border-bottom-right-radius: 0;
1291
+ border-start-end-radius: 0;
1292
+ border-end-end-radius: 0;
1282
1293
  }
1283
1294
 
1284
1295
  .cirth [role="search"] > :focus, .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="search"] select:focus, .cirth [role="group"] > :focus, .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):focus, .cirth [role="group"] select:focus {
1285
1296
  z-index: 2;
1286
1297
  }
1287
1298
 
1299
+ :is(.cirth [role="search"] > :has( + small:last-child), .cirth [role="group"] > :has( + small:last-child)) {
1300
+ border-start-end-radius: var(--cirth-border-radius);
1301
+ border-end-end-radius: var(--cirth-border-radius);
1302
+ }
1303
+
1288
1304
  .cirth [role="search"] button:not(:first-child), .cirth [role="search"] [type="submit"]:not(:first-child), .cirth [role="search"] [type="reset"]:not(:first-child), .cirth [role="search"] [type="button"]:not(:first-child), .cirth [role="search"] [role="button"]:not(:first-child), .cirth [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="search"] select:not(:first-child), .cirth [role="group"] button:not(:first-child), .cirth [role="group"] [type="submit"]:not(:first-child), .cirth [role="group"] [type="reset"]:not(:first-child), .cirth [role="group"] [type="button"]:not(:first-child), .cirth [role="group"] [role="button"]:not(:first-child), .cirth [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), .cirth [role="group"] select:not(:first-child) {
1289
- margin-left: calc(var(--cirth-border-width) * -1);
1305
+ margin-inline-start: calc(var(--cirth-border-width) * -1);
1290
1306
  }
1291
1307
 
1292
1308
  .cirth [role="search"] button, .cirth [role="search"] [type="submit"], .cirth [role="search"] [type="reset"], .cirth [role="search"] [type="button"], .cirth [role="search"] [role="button"], .cirth [role="group"] button, .cirth [role="group"] [type="submit"], .cirth [role="group"] [type="reset"], .cirth [role="group"] [type="button"], .cirth [role="group"] [role="button"] {
@@ -1298,19 +1314,7 @@
1298
1314
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1299
1315
  }
1300
1316
 
1301
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1302
- border-color: #0000;
1303
- }
1304
-
1305
- .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1306
- border-color: #0000;
1307
- }
1308
-
1309
- .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1310
- border-color: #0000;
1311
- }
1312
-
1313
- .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1317
+ :is(.cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), .cirth [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid])) {
1314
1318
  border-color: #0000;
1315
1319
  }
1316
1320
 
@@ -1380,13 +1384,18 @@
1380
1384
  }
1381
1385
 
1382
1386
  .cirth [role="search"] > :first-child {
1383
- border-top-left-radius: var(--cirth-radius-pill);
1384
- border-bottom-left-radius: var(--cirth-radius-pill);
1387
+ border-start-start-radius: var(--cirth-radius-pill);
1388
+ border-end-start-radius: var(--cirth-radius-pill);
1385
1389
  }
1386
1390
 
1387
1391
  .cirth [role="search"] > :last-child {
1388
- border-top-right-radius: var(--cirth-radius-pill);
1389
- border-bottom-right-radius: var(--cirth-radius-pill);
1392
+ border-start-end-radius: var(--cirth-radius-pill);
1393
+ border-end-end-radius: var(--cirth-radius-pill);
1394
+ }
1395
+
1396
+ .cirth [role="search"] > :has( + small:last-child) {
1397
+ border-start-end-radius: var(--cirth-radius-pill);
1398
+ border-end-end-radius: var(--cirth-radius-pill);
1390
1399
  }
1391
1400
 
1392
1401
  .cirth [aria-busy="true"]:not(input, select, textarea, html, form) {
@@ -1394,14 +1403,24 @@
1394
1403
  }
1395
1404
 
1396
1405
  .cirth [aria-busy="true"]:not(input, select, textarea, html, form):before {
1397
- background-image: var(--cirth-icon-loading);
1398
1406
  content: "";
1399
1407
  vertical-align: -.125em;
1400
- background-repeat: no-repeat;
1401
- background-size: 1em;
1402
1408
  width: 1em;
1403
1409
  height: 1em;
1410
+ -webkit-mask-image: var(--cirth-icon-loading);
1411
+ mask-image: var(--cirth-icon-loading);
1412
+ background-color: currentColor;
1404
1413
  display: inline-block;
1414
+ -webkit-mask-size: 1em;
1415
+ mask-size: 1em;
1416
+ -webkit-mask-repeat: no-repeat;
1417
+ mask-repeat: no-repeat;
1418
+ }
1419
+
1420
+ @media (forced-colors: active) {
1421
+ .cirth [aria-busy="true"]:not(input, select, textarea, html, form):before {
1422
+ background-color: canvastext;
1423
+ }
1405
1424
  }
1406
1425
 
1407
1426
  .cirth [aria-busy="true"]:not(input, select, textarea, html, form):not(:empty):before {
@@ -1412,6 +1431,18 @@
1412
1431
  text-align: center;
1413
1432
  }
1414
1433
 
1434
+ .cirth input:is([type="submit"], [type="button"], [type="reset"])[aria-busy="true"] {
1435
+ background-image: var(--cirth-icon-loading);
1436
+ background-position: center left var(--cirth-form-element-spacing-horizontal);
1437
+ background-repeat: no-repeat;
1438
+ background-size: 1em;
1439
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1em + var(--cirth-spacing) * .5);
1440
+ }
1441
+
1442
+ [dir="rtl"] .cirth input:is([type="submit"], [type="button"], [type="reset"])[aria-busy="true"] {
1443
+ background-position: center right var(--cirth-form-element-spacing-horizontal);
1444
+ }
1445
+
1415
1446
  .cirth button[aria-busy="true"], .cirth [type="submit"][aria-busy="true"], .cirth [type="button"][aria-busy="true"], .cirth [type="reset"][aria-busy="true"], .cirth [role="button"][aria-busy="true"], .cirth a[aria-busy="true"] {
1416
1447
  pointer-events: none;
1417
1448
  }
@@ -1442,6 +1473,7 @@
1442
1473
  .cirth dialog > article {
1443
1474
  width: 100%;
1444
1475
  max-height: calc(100vh - var(--cirth-spacing) * 2);
1476
+ max-height: calc(100dvh - var(--cirth-spacing) * 2);
1445
1477
  margin: var(--cirth-spacing);
1446
1478
  overflow: auto;
1447
1479
  }
@@ -1464,13 +1496,13 @@
1464
1496
 
1465
1497
  .cirth dialog > article > header :is(a, button)[rel="prev"] {
1466
1498
  margin: 0;
1467
- margin-left: var(--cirth-spacing);
1468
1499
  float: right;
1500
+ margin-inline-start: var(--cirth-spacing);
1469
1501
  padding: 0;
1470
1502
  }
1471
1503
 
1472
1504
  .cirth dialog > article > footer {
1473
- text-align: right;
1505
+ text-align: end;
1474
1506
  }
1475
1507
 
1476
1508
  .cirth dialog > article > footer button, .cirth dialog > article > footer [role="button"] {
@@ -1478,7 +1510,7 @@
1478
1510
  }
1479
1511
 
1480
1512
  .cirth dialog > article > footer button:not(:first-of-type), .cirth dialog > article > footer [role="button"]:not(:first-of-type) {
1481
- margin-left: calc(var(--cirth-spacing) * .5);
1513
+ margin-inline-start: calc(var(--cirth-spacing) * .5);
1482
1514
  }
1483
1515
 
1484
1516
  .cirth dialog > article :is(a, button)[rel="prev"] {
@@ -1494,7 +1526,7 @@
1494
1526
  background-color: #0000;
1495
1527
  background-repeat: no-repeat;
1496
1528
  border: none;
1497
- margin-left: auto;
1529
+ margin-inline-start: auto;
1498
1530
  display: block;
1499
1531
  }
1500
1532
 
@@ -1506,7 +1538,11 @@
1506
1538
  display: none;
1507
1539
  }
1508
1540
 
1509
- :where(nav li):before {
1541
+ [dir="rtl"] .cirth dialog > article > header :is(a, button)[rel="prev"] {
1542
+ float: left;
1543
+ }
1544
+
1545
+ .cirth :where(nav li):before {
1510
1546
  float: left;
1511
1547
  content: "​";
1512
1548
  }
@@ -1528,11 +1564,11 @@
1528
1564
  }
1529
1565
 
1530
1566
  .cirth nav ol:first-of-type, .cirth nav ul:first-of-type {
1531
- margin-left: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
1567
+ margin-inline-start: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
1532
1568
  }
1533
1569
 
1534
1570
  .cirth nav ol:last-of-type, .cirth nav ul:last-of-type {
1535
- margin-right: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
1571
+ margin-inline-end: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
1536
1572
  }
1537
1573
 
1538
1574
  .cirth nav li {
@@ -1541,23 +1577,27 @@
1541
1577
  display: inline-block;
1542
1578
  }
1543
1579
 
1544
- .cirth nav li :where(a, [role="link"]) {
1580
+ .cirth nav li :where(a:not([role="button"]), [role="link"]) {
1545
1581
  margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) calc(var(--cirth-nav-link-spacing-horizontal) * -1);
1546
1582
  padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
1547
1583
  border-radius: var(--cirth-border-radius);
1548
1584
  display: inline-block;
1549
1585
  }
1550
1586
 
1551
- .cirth nav li :where(a, [role="link"]):not(:hover) {
1587
+ .cirth nav li :where(a:not([role="button"]), [role="link"]):not(:hover) {
1552
1588
  text-decoration: none;
1553
1589
  }
1554
1590
 
1591
+ .cirth nav li [role="group"], .cirth nav li [role="search"] {
1592
+ width: auto;
1593
+ margin-bottom: 0;
1594
+ }
1595
+
1555
1596
  .cirth nav li button, .cirth nav li [role="button"], .cirth nav li [type="button"], .cirth nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), .cirth nav li select {
1556
1597
  height: auto;
1557
- margin-right: inherit;
1558
- margin-bottom: 0;
1559
- margin-left: inherit;
1598
+ margin-inline: inherit;
1560
1599
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1600
+ margin-bottom: 0;
1561
1601
  }
1562
1602
 
1563
1603
  .cirth nav[aria-label="breadcrumb"] {
@@ -1609,10 +1649,6 @@
1609
1649
  margin: inherit;
1610
1650
  }
1611
1651
 
1612
- [dir="rtl"] .cirth nav[aria-label="breadcrumb"] ul li:not(:last-child) :after {
1613
- content: "\\";
1614
- }
1615
-
1616
1652
  .cirth progress {
1617
1653
  vertical-align: baseline;
1618
1654
  appearance: none;
@@ -2014,7 +2050,7 @@
2014
2050
  }
2015
2051
 
2016
2052
  .cirth h1 {
2017
- --cirth-font-size: clamp(2rem, 1.55rem + 1.8vw, 2.75rem);
2053
+ --cirth-font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
2018
2054
  --cirth-line-height: var(--cirth-line-height-tight);
2019
2055
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2020
2056
  --cirth-typography-spacing-top: var(--cirth-space-12);
@@ -2063,7 +2099,7 @@
2063
2099
  --cirth-border-width: .1875rem;
2064
2100
  }
2065
2101
 
2066
- .cirth pre, .cirth code, .cirth kbd, .cirth samp {
2102
+ .cirth pre, .cirth code, .cirth kbd, .cirth samp, .cirth var {
2067
2103
  --cirth-font-family: var(--cirth-font-family-mono);
2068
2104
  }
2069
2105
 
@@ -2114,7 +2150,7 @@
2114
2150
  --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2115
2151
  }
2116
2152
 
2117
- .cirth details summary[role="button"]:after, .cirth [aria-busy="true"]:not(input, select, textarea):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):before {
2153
+ .cirth details summary[role="button"]:after {
2118
2154
  filter: brightness(0) invert();
2119
2155
  }
2120
2156
 
@@ -2122,7 +2158,7 @@
2122
2158
  --lightningcss-light: initial;
2123
2159
  --lightningcss-dark: ;
2124
2160
  color-scheme: light;
2125
- --cirth-background-color: oklch(100% 0 0);
2161
+ --cirth-background-color: oklch(97.4% .008 69.35);
2126
2162
  --cirth-color: oklch(35.3% .021 264);
2127
2163
  --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2128
2164
  --cirth-muted-color: oklch(52.7% .032 264);
@@ -2180,7 +2216,7 @@
2180
2216
  --cirth-code-kbd-color: var(--cirth-background-color);
2181
2217
  --cirth-form-element-background-color: oklch(99% 0 336);
2182
2218
  --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2183
- --cirth-form-element-border-color: oklch(65.7% .03 264);
2219
+ --cirth-form-element-border-color: oklch(61.3% .032 264);
2184
2220
  --cirth-form-element-color: oklch(26.7% .011 264);
2185
2221
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2186
2222
  --cirth-form-element-active-background-color: oklch(100% 0 0);
@@ -2206,14 +2242,14 @@
2206
2242
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2207
2243
  --cirth-accordion-close-summary-color: var(--cirth-color);
2208
2244
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2209
- --cirth-card-background-color: var(--cirth-background-color);
2245
+ --cirth-card-background-color: oklch(100% 0 0);
2210
2246
  --cirth-card-border-color: var(--cirth-muted-border-color);
2211
2247
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2212
2248
  --cirth-card-sectioning-background-color: oklch(99% 0 336);
2213
2249
  --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2214
2250
  --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2215
2251
  --cirth-progress-background-color: oklch(91.7% .006 264);
2216
- --cirth-progress-border-color: oklch(65.7% .03 264);
2252
+ --cirth-progress-border-color: oklch(61.3% .032 264);
2217
2253
  --cirth-progress-color: var(--cirth-primary-background);
2218
2254
  --cirth-tooltip-background-color: var(--cirth-contrast-background);
2219
2255
  --cirth-tooltip-color: var(--cirth-contrast-inverse);