@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.
@@ -38,15 +38,13 @@ main {
38
38
  body > header, body > main, body > footer {
39
39
  width: 100%;
40
40
  padding: var(--cirth-block-spacing-vertical) var(--cirth-block-spacing-horizontal);
41
- margin-left: auto;
42
- margin-right: auto;
41
+ margin-inline: auto;
43
42
  }
44
43
 
45
44
  @media (min-width: 576px) {
46
45
  body > header, body > main, body > footer {
47
46
  max-width: 510px;
48
- padding-left: 0;
49
- padding-right: 0;
47
+ padding-inline: 0;
50
48
  }
51
49
  }
52
50
 
@@ -187,8 +185,6 @@ mark {
187
185
  blockquote {
188
186
  margin: var(--cirth-typography-spacing-vertical) 0;
189
187
  padding: var(--cirth-spacing);
190
- border-right: none;
191
- border-left: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
192
188
  border-inline-start: var(--cirth-border-width-4) solid var(--cirth-blockquote-border-color);
193
189
  border-inline-end: none;
194
190
  display: block;
@@ -228,7 +224,6 @@ del {
228
224
  text-decoration: var(--cirth-text-decoration);
229
225
  -webkit-text-decoration-color: var(--cirth-underline);
230
226
  text-decoration-color: var(--cirth-underline);
231
- text-underline-offset: .125em;
232
227
  transition: background-color var(--cirth-transition), color var(--cirth-transition), text-decoration var(--cirth-transition), box-shadow var(--cirth-transition);
233
228
  outline: none;
234
229
  }
@@ -407,11 +402,9 @@ button:focus-visible, button[aria-current]:not([aria-current="false"]):focus-vis
407
402
  th, td {
408
403
  padding: calc(var(--cirth-spacing) / 2) var(--cirth-spacing);
409
404
  border-bottom: var(--cirth-border-width) solid var(--cirth-table-border-color);
410
- background-color: var(--cirth-background-color);
411
405
  color: var(--cirth-color);
412
406
  font-weight: var(--cirth-font-weight);
413
407
  font-variant-numeric: tabular-nums;
414
- text-align: left;
415
408
  text-align: start;
416
409
  }
417
410
 
@@ -420,10 +413,6 @@ tfoot th, tfoot td {
420
413
  border-bottom: 0;
421
414
  }
422
415
 
423
- table.striped tbody tr:nth-child(odd) th, table.striped tbody tr:nth-child(odd) td {
424
- background-color: var(--cirth-table-row-stripped-background-color);
425
- }
426
-
427
416
  :where(audio, canvas, iframe, img, svg, video) {
428
417
  vertical-align: middle;
429
418
  }
@@ -444,6 +433,9 @@ audio:not([controls]) {
444
433
  img {
445
434
  border-style: none;
446
435
  max-width: 100%;
436
+ }
437
+
438
+ img:where(:not([height]), [width][height]) {
447
439
  height: auto;
448
440
  }
449
441
 
@@ -502,6 +494,13 @@ kbd {
502
494
  vertical-align: baseline;
503
495
  }
504
496
 
497
+ var {
498
+ color: var(--cirth-code-color);
499
+ font-size: .875em;
500
+ font-style: italic;
501
+ font-family: var(--cirth-font-family);
502
+ }
503
+
505
504
  figure {
506
505
  margin: 0;
507
506
  padding: 0;
@@ -675,8 +674,6 @@ label[aria-disabled="true"] input[disabled] {
675
674
  }
676
675
 
677
676
  :where(input, select, textarea):not([type="checkbox"], [type="radio"], [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"], [type="range"])[aria-invalid] {
678
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
679
- padding-left: var(--cirth-form-element-spacing-horizontal);
680
677
  background-position: center right var(--cirth-space-3);
681
678
  background-size: var(--cirth-size-4) auto;
682
679
  background-repeat: no-repeat;
@@ -722,6 +719,10 @@ label[aria-disabled="true"] input[disabled] {
722
719
  background-position: center left var(--cirth-space-3);
723
720
  }
724
721
 
722
+ [dir="rtl"] textarea[aria-invalid] {
723
+ background-position: top left var(--cirth-space-3);
724
+ }
725
+
725
726
  input::placeholder, textarea::placeholder, select:invalid {
726
727
  color: var(--cirth-form-element-placeholder-color);
727
728
  opacity: 1;
@@ -747,8 +748,6 @@ select::-ms-expand {
747
748
  }
748
749
 
749
750
  select:not([multiple], [size]) {
750
- padding-right: calc(var(--cirth-form-element-spacing-horizontal) + var(--cirth-space-6));
751
- padding-left: var(--cirth-form-element-spacing-horizontal);
752
751
  background-image: var(--cirth-icon-chevron);
753
752
  background-position: center right var(--cirth-space-3);
754
753
  background-size: var(--cirth-size-4) auto;
@@ -943,11 +942,11 @@ label:has([type="checkbox"], [type="radio"]) {
943
942
  input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
944
943
  --cirth-icon-position: var(--cirth-space-3);
945
944
  --cirth-icon-width: var(--cirth-size-4);
946
- padding-right: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
947
945
  background-image: var(--cirth-icon-date);
948
946
  background-position: center right var(--cirth-icon-position);
949
947
  background-size: var(--cirth-icon-width) auto;
950
948
  background-repeat: no-repeat;
949
+ padding-inline-end: calc(var(--cirth-icon-width) + var(--cirth-icon-position));
951
950
  }
952
951
 
953
952
  input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type="time"] {
@@ -956,63 +955,64 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"])[type
956
955
 
957
956
  [type="date"]::-webkit-calendar-picker-indicator {
958
957
  width: var(--cirth-icon-width);
959
- margin-right: calc(var(--cirth-icon-width) * -1);
960
- margin-left: var(--cirth-icon-position);
961
958
  opacity: 0;
959
+ margin-inline-start: var(--cirth-icon-position);
960
+ margin-inline-end: calc(var(--cirth-icon-width) * -1);
962
961
  }
963
962
 
964
963
  [type="datetime-local"]::-webkit-calendar-picker-indicator {
965
964
  width: var(--cirth-icon-width);
966
- margin-right: calc(var(--cirth-icon-width) * -1);
967
- margin-left: var(--cirth-icon-position);
968
965
  opacity: 0;
966
+ margin-inline-start: var(--cirth-icon-position);
967
+ margin-inline-end: calc(var(--cirth-icon-width) * -1);
969
968
  }
970
969
 
971
970
  [type="month"]::-webkit-calendar-picker-indicator {
972
971
  width: var(--cirth-icon-width);
973
- margin-right: calc(var(--cirth-icon-width) * -1);
974
- margin-left: var(--cirth-icon-position);
975
972
  opacity: 0;
973
+ margin-inline-start: var(--cirth-icon-position);
974
+ margin-inline-end: calc(var(--cirth-icon-width) * -1);
976
975
  }
977
976
 
978
977
  [type="time"]::-webkit-calendar-picker-indicator {
979
978
  width: var(--cirth-icon-width);
980
- margin-right: calc(var(--cirth-icon-width) * -1);
981
- margin-left: var(--cirth-icon-position);
982
979
  opacity: 0;
980
+ margin-inline-start: var(--cirth-icon-position);
981
+ margin-inline-end: calc(var(--cirth-icon-width) * -1);
983
982
  }
984
983
 
985
984
  [type="week"]::-webkit-calendar-picker-indicator {
986
985
  width: var(--cirth-icon-width);
987
- margin-right: calc(var(--cirth-icon-width) * -1);
988
- margin-left: var(--cirth-icon-position);
989
986
  opacity: 0;
987
+ margin-inline-start: var(--cirth-icon-position);
988
+ margin-inline-end: calc(var(--cirth-icon-width) * -1);
990
989
  }
991
990
 
992
991
  @-moz-document url-prefix() {
993
992
  [type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"] {
994
- padding-right: var(--cirth-form-element-spacing-horizontal);
995
993
  background-image: none;
994
+ padding-inline-end: var(--cirth-form-element-spacing-horizontal);
996
995
  }
997
996
  }
998
997
 
999
998
  [dir="rtl"] :is([type="date"], [type="datetime-local"], [type="month"], [type="time"], [type="week"]) {
999
+ background-position: center left var(--cirth-icon-position);
1000
1000
  text-align: right;
1001
1001
  }
1002
1002
 
1003
1003
  [type="file"] {
1004
1004
  --cirth-color: var(--cirth-muted-color);
1005
- margin-left: calc(var(--cirth-outline-width) * -1);
1006
1005
  padding: calc(var(--cirth-form-element-spacing-vertical) * .5) 0;
1007
- padding-left: var(--cirth-outline-width);
1008
1006
  background: none;
1009
1007
  border: 0;
1010
1008
  border-radius: 0;
1009
+ margin-inline-start: calc(var(--cirth-outline-width) * -1);
1010
+ padding-inline-start: var(--cirth-outline-width);
1011
1011
  }
1012
1012
 
1013
1013
  [type="file"]::file-selector-button {
1014
- margin-right: calc(var(--cirth-spacing) / 2);
1015
1014
  padding: calc(var(--cirth-form-element-spacing-vertical) * .5) var(--cirth-form-element-spacing-horizontal);
1015
+ margin-inline-end: calc(var(--cirth-spacing) / 2);
1016
1016
  }
1017
1017
 
1018
1018
  [type="file"]:is(:hover, :active, :focus)::file-selector-button {
@@ -1196,7 +1196,7 @@ details summary:focus-visible:not([role]) {
1196
1196
  }
1197
1197
 
1198
1198
  details summary[role="button"] {
1199
- text-align: left;
1199
+ text-align: start;
1200
1200
  width: 100%;
1201
1201
  }
1202
1202
 
@@ -1216,10 +1216,6 @@ details[open] > summary:after {
1216
1216
  transform: rotate(0);
1217
1217
  }
1218
1218
 
1219
- [dir="rtl"] details summary {
1220
- text-align: right;
1221
- }
1222
-
1223
1219
  [dir="rtl"] details summary:after {
1224
1220
  float: left;
1225
1221
  background-position: 0;
@@ -1234,12 +1230,15 @@ article {
1234
1230
  }
1235
1231
 
1236
1232
  article > header, article > footer {
1237
- margin-right: calc(var(--cirth-block-spacing-horizontal) * -1);
1238
- margin-left: calc(var(--cirth-block-spacing-horizontal) * -1);
1233
+ margin-inline: calc(var(--cirth-block-spacing-horizontal) * -1);
1239
1234
  padding: calc(var(--cirth-block-spacing-vertical) - var(--cirth-space-2)) var(--cirth-block-spacing-horizontal);
1240
1235
  background-color: var(--cirth-card-sectioning-background-color);
1241
1236
  }
1242
1237
 
1238
+ article > header > :last-child, article > footer > :last-child {
1239
+ margin-bottom: 0;
1240
+ }
1241
+
1243
1242
  article > header {
1244
1243
  margin-top: calc(var(--cirth-block-spacing-vertical) * -1);
1245
1244
  margin-bottom: var(--cirth-block-spacing-vertical);
@@ -1263,33 +1262,50 @@ article > footer {
1263
1262
  box-shadow: var(--cirth-group-box-shadow, 0 0 0 #0000);
1264
1263
  vertical-align: middle;
1265
1264
  transition: box-shadow var(--cirth-transition);
1265
+ flex-wrap: wrap;
1266
1266
  display: inline-flex;
1267
1267
  position: relative;
1268
1268
  }
1269
1269
 
1270
+ [role="search"] > small, [role="group"] > small {
1271
+ margin-top: calc(var(--cirth-spacing) * .25);
1272
+ flex: 0 0 100%;
1273
+ order: 1;
1274
+ margin-bottom: 0;
1275
+ }
1276
+
1270
1277
  [role="search"] > *, [role="search"] input:not([type="checkbox"], [type="radio"]), [role="search"] select, [role="group"] > *, [role="group"] input:not([type="checkbox"], [type="radio"]), [role="group"] select {
1271
1278
  flex: auto;
1272
1279
  margin-bottom: 0;
1273
1280
  position: relative;
1274
1281
  }
1275
1282
 
1283
+ [role="search"] > :is(input, select, textarea), [role="search"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), [role="search"] select:is(input, select, textarea), [role="group"] > :is(input, select, textarea), [role="group"] input:not([type="checkbox"], [type="radio"]):is(input, select, textarea), [role="group"] select:is(input, select, textarea) {
1284
+ flex: 99;
1285
+ }
1286
+
1276
1287
  [role="search"] > :not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"] > :not(:first-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"] select:not(:first-child) {
1277
- border-top-left-radius: 0;
1278
- border-bottom-left-radius: 0;
1279
- margin-left: 0;
1288
+ border-start-start-radius: 0;
1289
+ border-end-start-radius: 0;
1290
+ margin-inline-start: 0;
1280
1291
  }
1281
1292
 
1282
1293
  [role="search"] > :not(:last-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="search"] select:not(:last-child), [role="group"] > :not(:last-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:last-child), [role="group"] select:not(:last-child) {
1283
- border-top-right-radius: 0;
1284
- border-bottom-right-radius: 0;
1294
+ border-start-end-radius: 0;
1295
+ border-end-end-radius: 0;
1285
1296
  }
1286
1297
 
1287
1298
  [role="search"] > :focus, [role="search"] input:not([type="checkbox"], [type="radio"]):focus, [role="search"] select:focus, [role="group"] > :focus, [role="group"] input:not([type="checkbox"], [type="radio"]):focus, [role="group"] select:focus {
1288
1299
  z-index: 2;
1289
1300
  }
1290
1301
 
1302
+ :is([role="search"] > :has( + small:last-child), [role="group"] > :has( + small:last-child)) {
1303
+ border-start-end-radius: var(--cirth-border-radius);
1304
+ border-end-end-radius: var(--cirth-border-radius);
1305
+ }
1306
+
1291
1307
  [role="search"] button:not(:first-child), [role="search"] [type="submit"]:not(:first-child), [role="search"] [type="reset"]:not(:first-child), [role="search"] [type="button"]:not(:first-child), [role="search"] [role="button"]:not(:first-child), [role="search"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="search"] select:not(:first-child), [role="group"] button:not(:first-child), [role="group"] [type="submit"]:not(:first-child), [role="group"] [type="reset"]:not(:first-child), [role="group"] [type="button"]:not(:first-child), [role="group"] [role="button"]:not(:first-child), [role="group"] input:not([type="checkbox"], [type="radio"]):not(:first-child), [role="group"] select:not(:first-child) {
1292
- margin-left: calc(var(--cirth-border-width) * -1);
1308
+ margin-inline-start: calc(var(--cirth-border-width) * -1);
1293
1309
  }
1294
1310
 
1295
1311
  [role="search"] button, [role="search"] [type="submit"], [role="search"] [type="reset"], [role="search"] [type="button"], [role="search"] [role="button"], [role="group"] button, [role="group"] [type="submit"], [role="group"] [type="reset"], [role="group"] [type="button"], [role="group"] [role="button"] {
@@ -1301,19 +1317,7 @@ article > footer {
1301
1317
  --cirth-group-box-shadow: var(--cirth-group-box-shadow-focus-with-button);
1302
1318
  }
1303
1319
 
1304
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1305
- border-color: #0000;
1306
- }
1307
-
1308
- [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1309
- border-color: #0000;
1310
- }
1311
-
1312
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"]) {
1313
- border-color: #0000;
1314
- }
1315
-
1316
- [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select {
1320
+ :is([role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), [role="search"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid]), [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) input:not([type="checkbox"], [type="radio"], [aria-invalid]), [role="group"]:has(button:focus, [type="submit"]:focus, [type="button"]:focus, [role="button"]:focus) select:not([aria-invalid])) {
1317
1321
  border-color: #0000;
1318
1322
  }
1319
1323
 
@@ -1383,13 +1387,18 @@ article > footer {
1383
1387
  }
1384
1388
 
1385
1389
  [role="search"] > :first-child {
1386
- border-top-left-radius: var(--cirth-radius-pill);
1387
- border-bottom-left-radius: var(--cirth-radius-pill);
1390
+ border-start-start-radius: var(--cirth-radius-pill);
1391
+ border-end-start-radius: var(--cirth-radius-pill);
1388
1392
  }
1389
1393
 
1390
1394
  [role="search"] > :last-child {
1391
- border-top-right-radius: var(--cirth-radius-pill);
1392
- border-bottom-right-radius: var(--cirth-radius-pill);
1395
+ border-start-end-radius: var(--cirth-radius-pill);
1396
+ border-end-end-radius: var(--cirth-radius-pill);
1397
+ }
1398
+
1399
+ [role="search"] > :has( + small:last-child) {
1400
+ border-start-end-radius: var(--cirth-radius-pill);
1401
+ border-end-end-radius: var(--cirth-radius-pill);
1393
1402
  }
1394
1403
 
1395
1404
  [aria-busy="true"]:not(input, select, textarea, html, form) {
@@ -1397,14 +1406,24 @@ article > footer {
1397
1406
  }
1398
1407
 
1399
1408
  [aria-busy="true"]:not(input, select, textarea, html, form):before {
1400
- background-image: var(--cirth-icon-loading);
1401
1409
  content: "";
1402
1410
  vertical-align: -.125em;
1403
- background-repeat: no-repeat;
1404
- background-size: 1em;
1405
1411
  width: 1em;
1406
1412
  height: 1em;
1413
+ -webkit-mask-image: var(--cirth-icon-loading);
1414
+ mask-image: var(--cirth-icon-loading);
1415
+ background-color: currentColor;
1407
1416
  display: inline-block;
1417
+ -webkit-mask-size: 1em;
1418
+ mask-size: 1em;
1419
+ -webkit-mask-repeat: no-repeat;
1420
+ mask-repeat: no-repeat;
1421
+ }
1422
+
1423
+ @media (forced-colors: active) {
1424
+ [aria-busy="true"]:not(input, select, textarea, html, form):before {
1425
+ background-color: canvastext;
1426
+ }
1408
1427
  }
1409
1428
 
1410
1429
  [aria-busy="true"]:not(input, select, textarea, html, form):not(:empty):before {
@@ -1415,6 +1434,18 @@ article > footer {
1415
1434
  text-align: center;
1416
1435
  }
1417
1436
 
1437
+ input:is([type="submit"], [type="button"], [type="reset"])[aria-busy="true"] {
1438
+ background-image: var(--cirth-icon-loading);
1439
+ background-position: center left var(--cirth-form-element-spacing-horizontal);
1440
+ background-repeat: no-repeat;
1441
+ background-size: 1em;
1442
+ padding-inline-start: calc(var(--cirth-form-element-spacing-horizontal) + 1em + var(--cirth-spacing) * .5);
1443
+ }
1444
+
1445
+ [dir="rtl"] input:is([type="submit"], [type="button"], [type="reset"])[aria-busy="true"] {
1446
+ background-position: center right var(--cirth-form-element-spacing-horizontal);
1447
+ }
1448
+
1418
1449
  button[aria-busy="true"], [type="submit"][aria-busy="true"], [type="button"][aria-busy="true"], [type="reset"][aria-busy="true"], [role="button"][aria-busy="true"], a[aria-busy="true"] {
1419
1450
  pointer-events: none;
1420
1451
  }
@@ -1445,6 +1476,7 @@ dialog {
1445
1476
  dialog > article {
1446
1477
  width: 100%;
1447
1478
  max-height: calc(100vh - var(--cirth-spacing) * 2);
1479
+ max-height: calc(100dvh - var(--cirth-spacing) * 2);
1448
1480
  margin: var(--cirth-spacing);
1449
1481
  overflow: auto;
1450
1482
  }
@@ -1467,13 +1499,13 @@ dialog > article > header > * {
1467
1499
 
1468
1500
  dialog > article > header :is(a, button)[rel="prev"] {
1469
1501
  margin: 0;
1470
- margin-left: var(--cirth-spacing);
1471
1502
  float: right;
1503
+ margin-inline-start: var(--cirth-spacing);
1472
1504
  padding: 0;
1473
1505
  }
1474
1506
 
1475
1507
  dialog > article > footer {
1476
- text-align: right;
1508
+ text-align: end;
1477
1509
  }
1478
1510
 
1479
1511
  dialog > article > footer button, dialog > article > footer [role="button"] {
@@ -1481,7 +1513,7 @@ dialog > article > footer button, dialog > article > footer [role="button"] {
1481
1513
  }
1482
1514
 
1483
1515
  dialog > article > footer button:not(:first-of-type), dialog > article > footer [role="button"]:not(:first-of-type) {
1484
- margin-left: calc(var(--cirth-spacing) * .5);
1516
+ margin-inline-start: calc(var(--cirth-spacing) * .5);
1485
1517
  }
1486
1518
 
1487
1519
  dialog > article :is(a, button)[rel="prev"] {
@@ -1497,7 +1529,7 @@ dialog > article :is(a, button)[rel="prev"] {
1497
1529
  background-color: #0000;
1498
1530
  background-repeat: no-repeat;
1499
1531
  border: none;
1500
- margin-left: auto;
1532
+ margin-inline-start: auto;
1501
1533
  display: block;
1502
1534
  }
1503
1535
 
@@ -1509,6 +1541,10 @@ dialog:not([open]), dialog[open="false"] {
1509
1541
  display: none;
1510
1542
  }
1511
1543
 
1544
+ [dir="rtl"] dialog > article > header :is(a, button)[rel="prev"] {
1545
+ float: left;
1546
+ }
1547
+
1512
1548
  :where(nav li):before {
1513
1549
  float: left;
1514
1550
  content: "​";
@@ -1531,11 +1567,11 @@ nav ol, nav ul {
1531
1567
  }
1532
1568
 
1533
1569
  nav ol:first-of-type, nav ul:first-of-type {
1534
- margin-left: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
1570
+ margin-inline-start: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
1535
1571
  }
1536
1572
 
1537
1573
  nav ol:last-of-type, nav ul:last-of-type {
1538
- margin-right: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
1574
+ margin-inline-end: calc(var(--cirth-nav-element-spacing-horizontal) * -1);
1539
1575
  }
1540
1576
 
1541
1577
  nav li {
@@ -1544,23 +1580,27 @@ nav li {
1544
1580
  display: inline-block;
1545
1581
  }
1546
1582
 
1547
- nav li :where(a, [role="link"]) {
1583
+ nav li :where(a:not([role="button"]), [role="link"]) {
1548
1584
  margin: calc(var(--cirth-nav-link-spacing-vertical) * -1) calc(var(--cirth-nav-link-spacing-horizontal) * -1);
1549
1585
  padding: var(--cirth-nav-link-spacing-vertical) var(--cirth-nav-link-spacing-horizontal);
1550
1586
  border-radius: var(--cirth-border-radius);
1551
1587
  display: inline-block;
1552
1588
  }
1553
1589
 
1554
- nav li :where(a, [role="link"]):not(:hover) {
1590
+ nav li :where(a:not([role="button"]), [role="link"]):not(:hover) {
1555
1591
  text-decoration: none;
1556
1592
  }
1557
1593
 
1594
+ nav li [role="group"], nav li [role="search"] {
1595
+ width: auto;
1596
+ margin-bottom: 0;
1597
+ }
1598
+
1558
1599
  nav li button, nav li [role="button"], nav li [type="button"], nav li input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), nav li select {
1559
1600
  height: auto;
1560
- margin-right: inherit;
1561
- margin-bottom: 0;
1562
- margin-left: inherit;
1601
+ margin-inline: inherit;
1563
1602
  padding: calc(var(--cirth-nav-link-spacing-vertical) - var(--cirth-border-width) * 2) var(--cirth-nav-link-spacing-horizontal);
1603
+ margin-bottom: 0;
1564
1604
  }
1565
1605
 
1566
1606
  nav[aria-label="breadcrumb"] {
@@ -1612,10 +1652,6 @@ aside li [role="button"] {
1612
1652
  margin: inherit;
1613
1653
  }
1614
1654
 
1615
- [dir="rtl"] nav[aria-label="breadcrumb"] ul li:not(:last-child) :after {
1616
- content: "\\";
1617
- }
1618
-
1619
1655
  progress {
1620
1656
  vertical-align: baseline;
1621
1657
  appearance: none;
@@ -2017,7 +2053,7 @@ h4, h5, h6 {
2017
2053
  }
2018
2054
 
2019
2055
  h1 {
2020
- --cirth-font-size: clamp(2rem, 1.55rem + 1.8vw, 2.75rem);
2056
+ --cirth-font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
2021
2057
  --cirth-line-height: var(--cirth-line-height-tight);
2022
2058
  --cirth-letter-spacing: var(--cirth-letter-spacing-tight);
2023
2059
  --cirth-typography-spacing-top: var(--cirth-space-12);
@@ -2066,7 +2102,7 @@ thead th, thead td, tfoot th, tfoot td {
2066
2102
  --cirth-border-width: .1875rem;
2067
2103
  }
2068
2104
 
2069
- pre, code, kbd, samp {
2105
+ pre, code, kbd, samp, var {
2070
2106
  --cirth-font-family: var(--cirth-font-family-mono);
2071
2107
  }
2072
2108
 
@@ -2117,7 +2153,7 @@ button, [type="submit"], [type="reset"], [type="button"], [role="button"] {
2117
2153
  --cirth-form-element-spacing-horizontal: var(--cirth-space-8);
2118
2154
  }
2119
2155
 
2120
- details summary[role="button"]:after, [aria-busy="true"]:not(input, select, textarea):is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):before {
2156
+ details summary[role="button"]:after {
2121
2157
  filter: brightness(0) invert();
2122
2158
  }
2123
2159
 
@@ -2125,7 +2161,7 @@ details summary[role="button"]:after, [aria-busy="true"]:not(input, select, text
2125
2161
  --lightningcss-light: initial;
2126
2162
  --lightningcss-dark: ;
2127
2163
  color-scheme: light;
2128
- --cirth-background-color: oklch(100% 0 0);
2164
+ --cirth-background-color: oklch(97.4% .008 69.35);
2129
2165
  --cirth-color: oklch(35.3% .021 264);
2130
2166
  --cirth-text-selection-color: oklch(65.7% .121 69.35 / .25);
2131
2167
  --cirth-muted-color: oklch(52.7% .032 264);
@@ -2183,7 +2219,7 @@ details summary[role="button"]:after, [aria-busy="true"]:not(input, select, text
2183
2219
  --cirth-code-kbd-color: var(--cirth-background-color);
2184
2220
  --cirth-form-element-background-color: oklch(99% 0 336);
2185
2221
  --cirth-form-element-selected-background-color: oklch(91.7% .006 264);
2186
- --cirth-form-element-border-color: oklch(65.7% .03 264);
2222
+ --cirth-form-element-border-color: oklch(61.3% .032 264);
2187
2223
  --cirth-form-element-color: oklch(26.7% .011 264);
2188
2224
  --cirth-form-element-placeholder-color: var(--cirth-muted-color);
2189
2225
  --cirth-form-element-active-background-color: oklch(100% 0 0);
@@ -2209,14 +2245,14 @@ details summary[role="button"]:after, [aria-busy="true"]:not(input, select, text
2209
2245
  --cirth-accordion-active-summary-color: var(--cirth-primary-hover);
2210
2246
  --cirth-accordion-close-summary-color: var(--cirth-color);
2211
2247
  --cirth-accordion-open-summary-color: var(--cirth-muted-color);
2212
- --cirth-card-background-color: var(--cirth-background-color);
2248
+ --cirth-card-background-color: oklch(100% 0 0);
2213
2249
  --cirth-card-border-color: var(--cirth-muted-border-color);
2214
2250
  --cirth-card-box-shadow: var(--cirth-box-shadow);
2215
2251
  --cirth-card-sectioning-background-color: oklch(99% 0 336);
2216
2252
  --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2217
2253
  --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2218
2254
  --cirth-progress-background-color: oklch(91.7% .006 264);
2219
- --cirth-progress-border-color: oklch(65.7% .03 264);
2255
+ --cirth-progress-border-color: oklch(61.3% .032 264);
2220
2256
  --cirth-progress-color: var(--cirth-primary-background);
2221
2257
  --cirth-tooltip-background-color: var(--cirth-contrast-background);
2222
2258
  --cirth-tooltip-color: var(--cirth-contrast-inverse);