@stackoverflow/stacks 3.0.0-beta.14 → 3.0.0-beta.15

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.
@@ -837,20 +837,14 @@ a.s-badge:hover {
837
837
  .s-banner {
838
838
  --_no-ty-offset: 0;
839
839
  --_no-ty: var(--theme-topbar-height, calc(var(--su-static48) + var(--su-static8)));
840
- --_no-bc: var(--black-225);
841
- --_no-bg: var(--black-100);
842
- --_no-fc: var(--black-500);
843
- --_no-btn-bg-active: var(--black-250);
844
- --_no-btn-bg-focus: var(--black-225);
845
- --_no-btn-fc: var(--_no-fc);
840
+ --_no-bg: var(--black-150);
841
+ --_no-icon-bg: var(--black-200);
842
+ --_no-fc: var(--black-600);
846
843
  --_no-code-bc: var(--black-300);
847
844
  --_no-code-bg: var(--black-200);
848
845
  --_no-code-fc: var(--_no-fc);
849
846
  background: var(--_no-bg);
850
- border-color: var(--_no-bc);
851
847
  color: var(--_no-fc);
852
- border-style: solid;
853
- font-size: var(--fs-body1);
854
848
  border-width: 0 0 var(--su-static1);
855
849
  inset: 0 0 auto 0;
856
850
  padding: var(--su12);
@@ -859,140 +853,104 @@ a.s-badge:hover {
859
853
  width: 100%;
860
854
  z-index: calc(var(--zi-navigation-fixed) - 1);
861
855
  }
862
- body.theme-highcontrast .s-banner {
863
- --_no-bc: var(--black-400);
864
- }
865
- body.theme-highcontrast .s-banner,
866
- body.theme-highcontrast .s-banner.s-banner__danger,
867
- body.theme-highcontrast .s-banner.s-banner__info,
868
- body.theme-highcontrast .s-banner.s-banner__success,
869
- body.theme-highcontrast .s-banner.s-banner__warning {
870
- --_no-code-bc: var(--black-400);
871
- --_no-code-bg: var(--white);
872
- --_no-code-fc: var(--black);
873
- }
874
- body.theme-highcontrast .s-banner.s-banner__important,
875
- body.theme-highcontrast .s-banner.s-banner__danger.s-banner__important,
876
- body.theme-highcontrast .s-banner.s-banner__info.s-banner__important,
877
- body.theme-highcontrast .s-banner.s-banner__success.s-banner__important,
878
- body.theme-highcontrast .s-banner.s-banner__warning.s-banner__important {
879
- --_no-code-bc: var(--black-200);
880
- --_no-code-bg: var(--black);
881
- --_no-code-fc: var(--white);
882
- }
883
- .s-banner__important:not(.s-banner__danger):not(.s-banner__info):not(.s-banner__success):not(.s-banner__warning) {
884
- --_no-bc: var(--_no-bg);
885
- --_no-bg: var(--black-500);
856
+ body.theme-highcontrast .s-banner:not(body.theme-highcontrast .s-banner__important) {
857
+ --_no-icon-bc: var(--_no-code-bc);
858
+ }
859
+ .s-banner__important {
860
+ --_no-bg: var(--black-400);
861
+ --_no-icon-bg: var(--black-500);
886
862
  --_no-fc: var(--white);
887
- --_no-btn-bg-focus: var(--black-600);
888
- --_no-btn-bg-active: var(--black-600);
889
- --_no-btn-fc: var(--_no-fc);
890
863
  --_no-code-bc: var(--black-300);
891
- --_no-code-bg: var(--black-600);
864
+ --_no-code-bg: var(--black-500);
892
865
  }
893
866
  .s-banner__danger:not(.s-banner__important) {
894
- --_no-bc: var(--red-300);
895
867
  --_no-bg: var(--red-100);
896
- --_no-btn-bg-active: var(--red-200);
897
- --_no-btn-bg-focus: var(--red-200);
898
- --_no-btn-fc: var(--red-500);
868
+ --_no-icon-bg: var(--red-200);
899
869
  --_no-code-bc: var(--red-300);
900
870
  --_no-code-bg: var(--red-200);
901
871
  }
902
- body.theme-highcontrast .s-banner__danger:not(.s-banner__important) {
903
- --_no-bc: var(--red-400);
904
- }
905
872
  .s-banner__danger.s-banner__important {
906
- --_no-bc: var(--_no-bg);
907
873
  --_no-bg: var(--red-400);
874
+ --_no-icon-bg: var(--red-500);
908
875
  --_no-fc: var(--white);
909
- --_no-btn-bg-active: var(--red-500);
910
- --_no-btn-bg-focus: var(--red-500);
911
- --_no-btn-fc: var(--red-100);
912
876
  --_no-code-bc: var(--red-300);
913
877
  --_no-code-bg: var(--red-500);
914
878
  }
915
- body.theme-highcontrast .s-banner__danger.s-banner__important {
916
- --_no-bg: var(--red-500);
917
- }
918
879
  .s-banner__info:not(.s-banner__important) {
919
- --_no-bc: var(--theme-secondary-300);
920
- --_no-bg: var(--theme-secondary-100);
921
- --_no-btn-bg-active: var(--theme-secondary-200);
922
- --_no-btn-bg-focus: var(--theme-secondary-200);
923
- --_no-btn-fc: var(--theme-secondary-500);
924
- --_no-code-bc: var(--theme-secondary-300);
925
- --_no-code-bg: var(--theme-secondary-200);
926
- }
927
- body.theme-highcontrast .s-banner__info:not(.s-banner__important) {
928
- --_no-bc: var(--theme-secondary-400);
880
+ --_no-bg: var(--blue-100);
881
+ --_no-icon-bg: var(--blue-200);
882
+ --_no-code-bc: var(--blue-300);
883
+ --_no-code-bg: var(--blue-200);
929
884
  }
930
885
  .s-banner__info.s-banner__important {
931
- --_no-bc: var(--_no-bg);
932
- --_no-bg: var(--theme-secondary-400);
886
+ --_no-bg: var(--blue-400);
887
+ --_no-icon-bg: var(--blue-500);
933
888
  --_no-fc: var(--white);
934
- --_no-btn-bg-active: var(--theme-secondary-500);
935
- --_no-btn-bg-focus: var(--theme-secondary-500);
936
- --_no-btn-fc: var(--theme-secondary-100);
937
- --_no-code-bc: var(--theme-secondary-300);
938
- --_no-code-bg: var(--theme-secondary-500);
939
- }
940
- body.theme-highcontrast .s-banner__info.s-banner__important {
941
- --_no-bg: var(--theme-secondary-500);
889
+ --_no-code-bc: var(--blue-300);
890
+ --_no-code-bg: var(--blue-500);
942
891
  }
943
892
  .s-banner__success:not(.s-banner__important) {
944
- --_no-bc: var(--green-300);
945
893
  --_no-bg: var(--green-100);
946
- --_no-btn-bg-active: var(--green-200);
947
- --_no-btn-bg-focus: var(--green-200);
948
- --_no-btn-fc: var(--green-500);
894
+ --_no-icon-bg: var(--green-200);
949
895
  --_no-code-bc: var(--green-300);
950
896
  --_no-code-bg: var(--green-200);
951
897
  }
952
- body.theme-highcontrast .s-banner__success:not(.s-banner__important) {
953
- --_no-bc: var(--green-400);
954
- }
955
898
  .s-banner__success.s-banner__important {
956
- --_no-bc: var(--_no-bg);
957
899
  --_no-bg: var(--green-400);
900
+ --_no-icon-bg: var(--green-500);
958
901
  --_no-fc: var(--white);
959
- --_no-btn-bg-active: var(--green-500);
960
- --_no-btn-bg-focus: var(--green-500);
961
- --_no-btn-fc: var(--green-100);
962
902
  --_no-code-bc: var(--green-300);
963
903
  --_no-code-bg: var(--green-500);
964
904
  }
965
- body.theme-highcontrast .s-banner__success.s-banner__important {
966
- --_no-bg: var(--green-500);
905
+ .s-banner__featured:not(.s-banner__important) {
906
+ --_no-bg: var(--purple-100);
907
+ --_no-icon-bg: var(--purple-200);
908
+ --_no-code-bc: var(--purple-300);
909
+ --_no-code-bg: var(--purple-200);
910
+ }
911
+ .s-banner__featured.s-banner__important {
912
+ --_no-bg: var(--purple-400);
913
+ --_no-icon-bg: var(--purple-500);
914
+ --_no-fc: var(--white);
915
+ --_no-code-bc: var(--purple-300);
916
+ --_no-code-bg: var(--purple-500);
917
+ }
918
+ .s-banner__activity:not(.s-banner__important) {
919
+ --_no-bg: var(--pink-100);
920
+ --_no-icon-bg: var(--pink-200);
921
+ --_no-code-bc: var(--pink-300);
922
+ --_no-code-bg: var(--pink-200);
923
+ }
924
+ .s-banner__activity.s-banner__important {
925
+ --_no-bg: var(--pink-400);
926
+ --_no-icon-bg: var(--pink-500);
927
+ --_no-fc: var(--white);
928
+ --_no-code-bc: var(--pink-300);
929
+ --_no-code-bg: var(--pink-500);
967
930
  }
968
931
  .s-banner__warning:not(.s-banner__important) {
969
- --_no-bc: var(--yellow-300);
970
932
  --_no-bg: var(--yellow-100);
971
- --_no-btn-bg-active: var(--yellow-200);
972
- --_no-btn-bg-focus: var(--yellow-200);
973
- --_no-btn-fc: var(--yellow-500);
933
+ --_no-icon-bg: var(--yellow-200);
974
934
  --_no-code-bc: var(--yellow-300);
975
935
  --_no-code-bg: var(--yellow-200);
976
- --_no-btn-fc: var(--yellow-600);
977
- }
978
- body.theme-highcontrast .s-banner__warning:not(.s-banner__important) {
979
- --_no-bc: var(--yellow-400);
980
936
  }
981
937
  .s-banner__warning.s-banner__important {
982
- --_no-bc: var(--_no-bg);
983
- --_no-bg: var(--yellow-400);
938
+ --_no-bg: var(--yellow-300);
939
+ --_no-icon-bg: var(--yellow-400);
984
940
  --_no-fc: var(--black);
985
- --_no-btn-fc: var(--_no-fc);
986
- --_no-btn-bg-active: var(--yellow-300);
987
- --_no-btn-bg-focus: var(--yellow-300);
988
- --_no-code-bc: var(--yellow-500);
989
- --_no-code-bg: var(--yellow-300);
941
+ --_no-code-bc: var(--yellow-400);
942
+ --_no-code-bg: var(--yellow-200);
943
+ }
944
+ .s-banner__warning.s-banner__important .s-notice--icon {
945
+ color: var(--white);
990
946
  }
991
947
  @media (prefers-color-scheme: dark) {
992
948
  body.theme-system .s-banner__warning.s-banner__important {
993
949
  --_no-fc: var(--white);
994
950
  --_no-code-bc: var(--yellow-300);
995
951
  --_no-code-bg: var(--yellow-500);
952
+ --_no-bg: var(--yellow-400);
953
+ --_no-icon-bg: var(--yellow-500);
996
954
  }
997
955
  }
998
956
  body.theme-dark .s-banner__warning.s-banner__important,
@@ -1001,32 +959,38 @@ body.theme-system .theme-dark__forced .s-banner__warning.s-banner__important {
1001
959
  --_no-fc: var(--white);
1002
960
  --_no-code-bc: var(--yellow-300);
1003
961
  --_no-code-bg: var(--yellow-500);
962
+ --_no-bg: var(--yellow-400);
963
+ --_no-icon-bg: var(--yellow-500);
1004
964
  }
1005
965
  body.theme-highcontrast .s-banner__warning.s-banner__important {
1006
- --_no-bg: var(--yellow-500);
966
+ --_no-bg: var(--yellow-400);
967
+ --_no-icon-bg: var(--yellow-500);
968
+ --_no-code-bc: var(--yellow-300);
969
+ --_no-code-bg: var(--yellow-500);
1007
970
  --_no-fc: var(--white);
1008
- --_no-btn-bg-active: transparent;
1009
- --_no-btn-bg-focus: transparent;
1010
971
  }
1011
972
  .s-banner code {
1012
973
  background-color: var(--_no-code-bg);
1013
974
  color: var(--_no-code-fc);
1014
975
  outline: var(--su-static1) solid var(--_no-code-bc);
1015
- border-radius: var(--br-md);
1016
976
  padding-left: var(--su2);
1017
977
  padding-right: var(--su2);
978
+ white-space: nowrap;
1018
979
  }
1019
- .s-banner .s-banner--btn {
1020
- color: var(--_no-btn-fc, inherit) !important;
1021
- padding: var(--su8);
980
+ button.s-banner--dismiss:active {
981
+ background-color: var(--_no-fc);
982
+ color: var(--_no-bg);
1022
983
  }
1023
- .s-banner .s-banner--btn:active {
1024
- background-color: var(--_no-btn-bg-active, inherit) !important;
984
+ button.s-banner--dismiss:focus-visible,
985
+ button.s-banner--dismiss:hover,
986
+ button.s-banner--dismiss.focus-inset-bordered {
987
+ background-color: var(--_no-fc);
988
+ color: var(--_no-bg);
1025
989
  }
1026
- .s-banner .s-banner--btn:focus-visible,
1027
- .s-banner .s-banner--btn:hover,
1028
- .s-banner .s-banner--btn.focus-inset-bordered {
1029
- background-color: var(--_no-btn-bg-focus, inherit) !important;
990
+ :has( > button.s-banner--dismiss) {
991
+ padding-left: var(--su24);
992
+ gap: calc(var(--su24) - var(--su2));
993
+ word-wrap: initial !important;
1030
994
  }
1031
995
  .s-banner[aria-hidden="true"] {
1032
996
  --_no-ty-offset: -1;
@@ -3367,158 +3331,117 @@ body.theme-highcontrast .s-navigation .s-navigation--item:active {
3367
3331
  * @baseClass - The base class name for the notice component
3368
3332
  */
3369
3333
  .s-notice {
3370
- --_no-bc: var(--black-225);
3371
- --_no-bg: var(--black-100);
3372
- --_no-fc: var(--black-500);
3373
- --_no-btn-bg-active: var(--black-250);
3374
- --_no-btn-bg-focus: var(--black-225);
3375
- --_no-btn-fc: var(--_no-fc);
3334
+ --_no-bg: var(--black-150);
3335
+ --_no-icon-bg: var(--black-200);
3336
+ --_no-fc: var(--black-600);
3376
3337
  --_no-code-bc: var(--black-300);
3377
3338
  --_no-code-bg: var(--black-200);
3378
3339
  --_no-code-fc: var(--_no-fc);
3379
3340
  background: var(--_no-bg);
3380
- border-color: var(--_no-bc);
3381
3341
  color: var(--_no-fc);
3382
- border-style: solid;
3383
- font-size: var(--fs-body1);
3384
- border-radius: var(--br-md);
3385
- border-width: var(--su-static1);
3386
- padding: var(--su16);
3342
+ display: flex;
3343
+ align-items: center;
3344
+ --_no-pd: var(--su8);
3345
+ padding: var(--_no-pd) var(--su12) var(--_no-pd) 0;
3346
+ }
3347
+ body.theme-highcontrast .s-notice:not(body.theme-highcontrast .s-notice__important) {
3348
+ --_no-icon-bc: var(--_no-code-bc);
3387
3349
  }
3388
- body.theme-highcontrast .s-notice {
3389
- --_no-bc: var(--black-400);
3390
- }
3391
- body.theme-highcontrast .s-notice,
3392
- body.theme-highcontrast .s-notice.s-notice__danger,
3393
- body.theme-highcontrast .s-notice.s-notice__info,
3394
- body.theme-highcontrast .s-notice.s-notice__success,
3395
- body.theme-highcontrast .s-notice.s-notice__warning {
3396
- --_no-code-bc: var(--black-400);
3397
- --_no-code-bg: var(--white);
3398
- --_no-code-fc: var(--black);
3399
- }
3400
- body.theme-highcontrast .s-notice.s-notice__important,
3401
- body.theme-highcontrast .s-notice.s-notice__danger.s-notice__important,
3402
- body.theme-highcontrast .s-notice.s-notice__info.s-notice__important,
3403
- body.theme-highcontrast .s-notice.s-notice__success.s-notice__important,
3404
- body.theme-highcontrast .s-notice.s-notice__warning.s-notice__important {
3405
- --_no-code-bc: var(--black-200);
3406
- --_no-code-bg: var(--black);
3407
- --_no-code-fc: var(--white);
3408
- }
3409
- .s-notice__important:not(.s-notice__danger):not(.s-notice__info):not(.s-notice__success):not(.s-notice__warning) {
3410
- --_no-bc: var(--_no-bg);
3411
- --_no-bg: var(--black-500);
3350
+ .s-notice__important {
3351
+ --_no-bg: var(--black-400);
3352
+ --_no-icon-bg: var(--black-500);
3412
3353
  --_no-fc: var(--white);
3413
- --_no-btn-bg-focus: var(--black-600);
3414
- --_no-btn-bg-active: var(--black-600);
3415
- --_no-btn-fc: var(--_no-fc);
3416
3354
  --_no-code-bc: var(--black-300);
3417
- --_no-code-bg: var(--black-600);
3355
+ --_no-code-bg: var(--black-500);
3418
3356
  }
3419
3357
  .s-notice__danger:not(.s-notice__important) {
3420
- --_no-bc: var(--red-300);
3421
3358
  --_no-bg: var(--red-100);
3422
- --_no-btn-bg-active: var(--red-200);
3423
- --_no-btn-bg-focus: var(--red-200);
3424
- --_no-btn-fc: var(--red-500);
3359
+ --_no-icon-bg: var(--red-200);
3425
3360
  --_no-code-bc: var(--red-300);
3426
3361
  --_no-code-bg: var(--red-200);
3427
3362
  }
3428
- body.theme-highcontrast .s-notice__danger:not(.s-notice__important) {
3429
- --_no-bc: var(--red-400);
3430
- }
3431
3363
  .s-notice__danger.s-notice__important {
3432
- --_no-bc: var(--_no-bg);
3433
3364
  --_no-bg: var(--red-400);
3365
+ --_no-icon-bg: var(--red-500);
3434
3366
  --_no-fc: var(--white);
3435
- --_no-btn-bg-active: var(--red-500);
3436
- --_no-btn-bg-focus: var(--red-500);
3437
- --_no-btn-fc: var(--red-100);
3438
3367
  --_no-code-bc: var(--red-300);
3439
3368
  --_no-code-bg: var(--red-500);
3440
3369
  }
3441
- body.theme-highcontrast .s-notice__danger.s-notice__important {
3442
- --_no-bg: var(--red-500);
3443
- }
3444
3370
  .s-notice__info:not(.s-notice__important) {
3445
- --_no-bc: var(--theme-secondary-300);
3446
- --_no-bg: var(--theme-secondary-100);
3447
- --_no-btn-bg-active: var(--theme-secondary-200);
3448
- --_no-btn-bg-focus: var(--theme-secondary-200);
3449
- --_no-btn-fc: var(--theme-secondary-500);
3450
- --_no-code-bc: var(--theme-secondary-300);
3451
- --_no-code-bg: var(--theme-secondary-200);
3452
- }
3453
- body.theme-highcontrast .s-notice__info:not(.s-notice__important) {
3454
- --_no-bc: var(--theme-secondary-400);
3371
+ --_no-bg: var(--blue-100);
3372
+ --_no-icon-bg: var(--blue-200);
3373
+ --_no-code-bc: var(--blue-300);
3374
+ --_no-code-bg: var(--blue-200);
3455
3375
  }
3456
3376
  .s-notice__info.s-notice__important {
3457
- --_no-bc: var(--_no-bg);
3458
- --_no-bg: var(--theme-secondary-400);
3377
+ --_no-bg: var(--blue-400);
3378
+ --_no-icon-bg: var(--blue-500);
3459
3379
  --_no-fc: var(--white);
3460
- --_no-btn-bg-active: var(--theme-secondary-500);
3461
- --_no-btn-bg-focus: var(--theme-secondary-500);
3462
- --_no-btn-fc: var(--theme-secondary-100);
3463
- --_no-code-bc: var(--theme-secondary-300);
3464
- --_no-code-bg: var(--theme-secondary-500);
3465
- }
3466
- body.theme-highcontrast .s-notice__info.s-notice__important {
3467
- --_no-bg: var(--theme-secondary-500);
3380
+ --_no-code-bc: var(--blue-300);
3381
+ --_no-code-bg: var(--blue-500);
3468
3382
  }
3469
3383
  .s-notice__success:not(.s-notice__important) {
3470
- --_no-bc: var(--green-300);
3471
3384
  --_no-bg: var(--green-100);
3472
- --_no-btn-bg-active: var(--green-200);
3473
- --_no-btn-bg-focus: var(--green-200);
3474
- --_no-btn-fc: var(--green-500);
3385
+ --_no-icon-bg: var(--green-200);
3475
3386
  --_no-code-bc: var(--green-300);
3476
3387
  --_no-code-bg: var(--green-200);
3477
3388
  }
3478
- body.theme-highcontrast .s-notice__success:not(.s-notice__important) {
3479
- --_no-bc: var(--green-400);
3480
- }
3481
3389
  .s-notice__success.s-notice__important {
3482
- --_no-bc: var(--_no-bg);
3483
3390
  --_no-bg: var(--green-400);
3391
+ --_no-icon-bg: var(--green-500);
3484
3392
  --_no-fc: var(--white);
3485
- --_no-btn-bg-active: var(--green-500);
3486
- --_no-btn-bg-focus: var(--green-500);
3487
- --_no-btn-fc: var(--green-100);
3488
3393
  --_no-code-bc: var(--green-300);
3489
3394
  --_no-code-bg: var(--green-500);
3490
3395
  }
3491
- body.theme-highcontrast .s-notice__success.s-notice__important {
3492
- --_no-bg: var(--green-500);
3396
+ .s-notice__featured:not(.s-notice__important) {
3397
+ --_no-bg: var(--purple-100);
3398
+ --_no-icon-bg: var(--purple-200);
3399
+ --_no-code-bc: var(--purple-300);
3400
+ --_no-code-bg: var(--purple-200);
3401
+ }
3402
+ .s-notice__featured.s-notice__important {
3403
+ --_no-bg: var(--purple-400);
3404
+ --_no-icon-bg: var(--purple-500);
3405
+ --_no-fc: var(--white);
3406
+ --_no-code-bc: var(--purple-300);
3407
+ --_no-code-bg: var(--purple-500);
3408
+ }
3409
+ .s-notice__activity:not(.s-notice__important) {
3410
+ --_no-bg: var(--pink-100);
3411
+ --_no-icon-bg: var(--pink-200);
3412
+ --_no-code-bc: var(--pink-300);
3413
+ --_no-code-bg: var(--pink-200);
3414
+ }
3415
+ .s-notice__activity.s-notice__important {
3416
+ --_no-bg: var(--pink-400);
3417
+ --_no-icon-bg: var(--pink-500);
3418
+ --_no-fc: var(--white);
3419
+ --_no-code-bc: var(--pink-300);
3420
+ --_no-code-bg: var(--pink-500);
3493
3421
  }
3494
3422
  .s-notice__warning:not(.s-notice__important) {
3495
- --_no-bc: var(--yellow-300);
3496
3423
  --_no-bg: var(--yellow-100);
3497
- --_no-btn-bg-active: var(--yellow-200);
3498
- --_no-btn-bg-focus: var(--yellow-200);
3499
- --_no-btn-fc: var(--yellow-500);
3424
+ --_no-icon-bg: var(--yellow-200);
3500
3425
  --_no-code-bc: var(--yellow-300);
3501
3426
  --_no-code-bg: var(--yellow-200);
3502
- --_no-btn-fc: var(--yellow-600);
3503
- }
3504
- body.theme-highcontrast .s-notice__warning:not(.s-notice__important) {
3505
- --_no-bc: var(--yellow-400);
3506
3427
  }
3507
3428
  .s-notice__warning.s-notice__important {
3508
- --_no-bc: var(--_no-bg);
3509
- --_no-bg: var(--yellow-400);
3429
+ --_no-bg: var(--yellow-300);
3430
+ --_no-icon-bg: var(--yellow-400);
3510
3431
  --_no-fc: var(--black);
3511
- --_no-btn-fc: var(--_no-fc);
3512
- --_no-btn-bg-active: var(--yellow-300);
3513
- --_no-btn-bg-focus: var(--yellow-300);
3514
- --_no-code-bc: var(--yellow-500);
3515
- --_no-code-bg: var(--yellow-300);
3432
+ --_no-code-bc: var(--yellow-400);
3433
+ --_no-code-bg: var(--yellow-200);
3434
+ }
3435
+ .s-notice__warning.s-notice__important .s-notice--icon {
3436
+ color: var(--white);
3516
3437
  }
3517
3438
  @media (prefers-color-scheme: dark) {
3518
3439
  body.theme-system .s-notice__warning.s-notice__important {
3519
3440
  --_no-fc: var(--white);
3520
3441
  --_no-code-bc: var(--yellow-300);
3521
3442
  --_no-code-bg: var(--yellow-500);
3443
+ --_no-bg: var(--yellow-400);
3444
+ --_no-icon-bg: var(--yellow-500);
3522
3445
  }
3523
3446
  }
3524
3447
  body.theme-dark .s-notice__warning.s-notice__important,
@@ -3527,32 +3450,49 @@ body.theme-system .theme-dark__forced .s-notice__warning.s-notice__important {
3527
3450
  --_no-fc: var(--white);
3528
3451
  --_no-code-bc: var(--yellow-300);
3529
3452
  --_no-code-bg: var(--yellow-500);
3453
+ --_no-bg: var(--yellow-400);
3454
+ --_no-icon-bg: var(--yellow-500);
3530
3455
  }
3531
3456
  body.theme-highcontrast .s-notice__warning.s-notice__important {
3532
- --_no-bg: var(--yellow-500);
3457
+ --_no-bg: var(--yellow-400);
3458
+ --_no-icon-bg: var(--yellow-500);
3459
+ --_no-code-bc: var(--yellow-300);
3460
+ --_no-code-bg: var(--yellow-500);
3533
3461
  --_no-fc: var(--white);
3534
- --_no-btn-bg-active: transparent;
3535
- --_no-btn-bg-focus: transparent;
3536
3462
  }
3537
3463
  .s-notice code {
3538
3464
  background-color: var(--_no-code-bg);
3539
3465
  color: var(--_no-code-fc);
3540
3466
  outline: var(--su-static1) solid var(--_no-code-bc);
3541
- border-radius: var(--br-md);
3542
3467
  padding-left: var(--su2);
3543
3468
  padding-right: var(--su2);
3469
+ white-space: nowrap;
3544
3470
  }
3545
- .s-notice .s-notice--btn {
3546
- color: var(--_no-btn-fc, inherit) !important;
3547
- padding: var(--su8);
3548
- }
3549
- .s-notice .s-notice--btn:active {
3550
- background-color: var(--_no-btn-bg-active, inherit) !important;
3551
- }
3552
- .s-notice .s-notice--btn:focus-visible,
3553
- .s-notice .s-notice--btn:hover,
3554
- .s-notice .s-notice--btn.focus-inset-bordered {
3555
- background-color: var(--_no-btn-bg-focus, inherit) !important;
3471
+ button.s-notice--dismiss:active {
3472
+ background-color: var(--_no-fc);
3473
+ color: var(--_no-bg);
3474
+ }
3475
+ button.s-notice--dismiss:focus-visible,
3476
+ button.s-notice--dismiss:hover,
3477
+ button.s-notice--dismiss.focus-inset-bordered {
3478
+ background-color: var(--_no-fc);
3479
+ color: var(--_no-bg);
3480
+ }
3481
+ :has( > button.s-notice--dismiss) {
3482
+ padding-left: var(--su24);
3483
+ gap: calc(var(--su24) - var(--su2));
3484
+ word-wrap: initial !important;
3485
+ }
3486
+ .s-notice--icon {
3487
+ background: var(--_no-icon-bg);
3488
+ border: var(--su1) solid var(--_no-icon-bc, var(--_no-icon-bg));
3489
+ padding: var(--_no-pd);
3490
+ margin-right: var(--su12);
3491
+ align-self: stretch;
3492
+ display: flex;
3493
+ align-items: top;
3494
+ margin-top: calc(var(--_no-pd) * -1);
3495
+ margin-bottom: calc(var(--_no-pd) * -1);
3556
3496
  }
3557
3497
  .s-page-title {
3558
3498
  --_pt-ai: flex-end;
@@ -3674,7 +3614,7 @@ ul.s-pagination {
3674
3614
  --_po-bc: var(--bc-medium);
3675
3615
  --_po-bs: var(--bs-md);
3676
3616
  --_po-d: none;
3677
- --_po-wmn: 12rem;
3617
+ --_po-wmn: 10.5rem;
3678
3618
  --_po-w: 100%;
3679
3619
  --_po-topbar-height: var(--theme-topbar-height, calc(var(--su-static48) + var(--su-static8)));
3680
3620
  --_po-content-mxh: calc(100vh - var(--_po-topbar-height) - var(--su48));
@@ -3687,7 +3627,7 @@ ul.s-pagination {
3687
3627
  border-radius: var(--br-md);
3688
3628
  color: var(--fc-dark);
3689
3629
  font-size: var(--fs-body1);
3690
- max-width: 24rem;
3630
+ max-width: 21rem;
3691
3631
  padding: var(--su12);
3692
3632
  position: absolute;
3693
3633
  white-space: normal;
@@ -4015,8 +3955,8 @@ body.theme-highcontrast .s-post-summary .s-post-summary--answer:before {
4015
3955
  font-size: var(--fs-body3);
4016
3956
  font-weight: normal;
4017
3957
  line-height: var(--lh-md);
4018
- margin-bottom: 0.3846rem;
4019
- margin-top: -0.15rem;
3958
+ margin-bottom: 0.3365rem;
3959
+ margin-top: -0.125rem;
4020
3960
  padding-right: var(--su24);
4021
3961
  }
4022
3962
  .s-post-summary .s-post-summary--content-title a {
@@ -4467,11 +4407,11 @@ body.theme-highcontrast .s-prose {
4467
4407
  .s-prose.s-prose__xs,
4468
4408
  .s-prose.s-prose__sm,
4469
4409
  .s-prose.s-prose__md {
4470
- --_pr-h1-fs: var(--fs-headline1-relative);
4471
- --_pr-h2-fs: var(--fs-title-relative);
4472
- --_pr-h3-fs: var(--fs-subheading-relative);
4473
- --_pr-h4-fs: var(--fs-body3-relative);
4474
- --_pr-h5-fs: var(--fs-body2-relative);
4410
+ --_pr-h1-fs: 1.75em;
4411
+ --_pr-h2-fs: 1.375em;
4412
+ --_pr-h3-fs: 1.25em;
4413
+ --_pr-h4-fs: 1.125em;
4414
+ --_pr-h5-fs: 1em;
4475
4415
  }
4476
4416
  .s-prose.s-prose__xs {
4477
4417
  --_pr-fs: var(--fs-caption);
@@ -5813,11 +5753,10 @@ a.s-tag:active {
5813
5753
  }
5814
5754
  .s-toast .s-notice {
5815
5755
  box-shadow: var(--bs-sm);
5816
- max-width: 44rem;
5756
+ max-width: 38.5rem;
5817
5757
  padding-bottom: var(--su8);
5818
5758
  padding-top: var(--su8);
5819
5759
  pointer-events: all;
5820
- width: 100%;
5821
5760
  }
5822
5761
  .s-toggle-switch {
5823
5762
  --_ts-bg: var(--black-350);
@@ -6546,109 +6485,102 @@ body.theme-highcontrast .s-uploader .s-uploader--preview-thumbnail {
6546
6485
  }
6547
6486
  .s-user-card {
6548
6487
  --_uc-ai: center;
6549
- --_uc-bg: unset;
6550
- --_uc-bar: unset;
6551
- --_uc-d: grid;
6552
- --_uc-fc: unset;
6553
- --_uc-g: var(--su4) var(--su8);
6554
- --_uc-p: var(--su8);
6555
- --_uc-info-ai: unset;
6556
- --_uc-info-fd: column;
6557
- --_uc-link-fs: var(--fs-caption);
6558
- --_uc-link-ws: unset;
6559
- --_uc-rep-fc: unset;
6560
- --_uc-time-fc: var(--black-400);
6561
- --_uc-time-ws: unset;
6562
- --_uc-type-fc: var(--theme-primary-400);
6488
+ --_uc-fd: unset;
6489
+ --_uc-column-gap: var(--su6);
6490
+ --_uc-group-gap: var(--su4);
6491
+ --_uc-row-gap: var(--su6);
6492
+ --_uc-username-fs: unset;
6563
6493
  align-items: var(--_uc-ai);
6564
- background-color: var(--_uc-bg);
6565
- border-radius: var(--_uc-bar);
6566
- color: var(--_uc-fc);
6567
- display: var(--_uc-d);
6568
- gap: var(--_uc-g);
6569
- grid-template-columns: auto 1fr;
6570
- line-height: 1;
6571
- padding: var(--_uc-p);
6572
- }
6573
- .s-user-card.s-user-card__deleted {
6574
- --_uc-fc: var(--black-400);
6575
- }
6576
- .s-user-card.s-user-card__highlighted {
6577
- --_uc-bg: var(--theme-secondary-100);
6578
- --_uc-bar: var(--br-md);
6579
- --_uc-time-fc: var(--black-500);
6580
- --_uc-type-fc: var(--black-500);
6581
- }
6582
- .s-user-card.s-user-card__minimal,
6583
- .s-user-card.s-user-card__small {
6584
- --_uc-d: flex;
6585
- --_uc-g: var(--su4);
6586
- --_uc-p: 0;
6587
- --_uc-info-ai: center;
6588
- --_uc-info-fd: row;
6589
- }
6590
- .s-user-card.s-user-card__full {
6494
+ color: var(--black-500);
6495
+ display: flex;
6496
+ flex-direction: var(--_uc-fd);
6497
+ flex-wrap: wrap;
6498
+ font-size: var(--fs-caption);
6499
+ gap: var(--su6);
6500
+ }
6501
+ .s-user-card.s-user-card__lg {
6591
6502
  --_uc-ai: flex-start;
6592
- --_uc-link-fs: var(--fs-body2);
6503
+ --_uc-fd: column;
6504
+ --_uc-username-fs: var(--fs-body3);
6593
6505
  }
6594
- .s-user-card.s-user-card__minimal {
6595
- --_uc-link-ws: nowrap;
6596
- --_uc-rep-fc: var(--black-500);
6597
- --_uc-time-ws: nowrap;
6506
+ .s-user-card.s-user-card__lg .s-avatar {
6507
+ margin-right: var(--su6);
6598
6508
  }
6599
- .s-user-card .s-user-card--location,
6600
- .s-user-card .s-user-card--role {
6601
- font-size: var(--fs-caption);
6509
+ .s-user-card.s-user-card__lg .s-user-card--username {
6510
+ margin-right: var(--su2);
6511
+ }
6512
+ .s-user-card.s-user-card__lg .s-user-card--group:has(> .s-user-card--rep) {
6513
+ margin-top: calc(var(--su2) * -1);
6514
+ }
6515
+ .s-user-card .s-user-card--bio {
6516
+ display: -webkit-box;
6517
+ -webkit-line-clamp: 3;
6518
+ -webkit-box-orient: vertical;
6519
+ overflow: hidden;
6602
6520
  color: var(--black-400);
6603
6521
  }
6604
- .s-user-card .s-user-card--awards {
6605
- list-style: none;
6606
- margin: 0;
6607
- padding: 0;
6608
- align-items: center;
6609
- display: flex;
6610
- gap: var(--su6);
6522
+ .s-user-card .s-user-card--recognition {
6523
+ --_uc-row-gap: var(--su4);
6611
6524
  }
6612
- .s-user-card .s-user-card--awards li {
6613
- font-size: var(--fs-caption);
6525
+ .s-user-card .s-user-card--recognition,
6526
+ .s-user-card .s-user-card--recognition a {
6527
+ color: var(--theme-primary);
6614
6528
  }
6615
- .s-user-card .s-user-card--info {
6616
- align-items: var(--_uc-info-ai);
6617
- flex-direction: var(--_uc-info-fd);
6618
- display: flex;
6619
- gap: var(--su4);
6529
+ .s-user-card .s-user-card--rep {
6530
+ color: var(--black-600);
6531
+ font-weight: 600;
6620
6532
  }
6621
- .s-user-card .s-user-card--link {
6622
- font-size: var(--_uc-link-fs);
6623
- white-space: var(--_uc-link-ws);
6624
- align-items: center;
6625
- flex-wrap: wrap;
6533
+ .s-user-card .s-user-card--time {
6534
+ color: var(--black-400);
6535
+ }
6536
+ .s-user-card .s-user-card--username {
6537
+ font-size: var(--_uc-username-fs);
6538
+ font-weight: 500;
6626
6539
  min-width: 0;
6627
6540
  overflow-wrap: break-word;
6541
+ word-break: break-all;
6628
6542
  }
6629
- .s-user-card .s-user-card--rep {
6630
- color: var(--_uc-rep-fc);
6631
- font-weight: 700;
6543
+ .s-user-card .s-user-card--column {
6544
+ align-items: flex-start;
6545
+ display: flex;
6546
+ flex-direction: column;
6547
+ gap: var(--_uc-column-gap);
6632
6548
  }
6633
- .s-user-card .s-user-card--tags {
6549
+ .s-user-card .s-user-card--group {
6634
6550
  align-items: center;
6635
- min-width: 0;
6636
- flex-wrap: wrap;
6551
+ display: flex;
6552
+ gap: var(--_uc-group-gap);
6637
6553
  }
6638
- .s-user-card .s-user-card--time {
6639
- color: var(--_uc-time-fc);
6640
- white-space: var(--_uc-time-ws);
6641
- font-size: var(--fs-caption);
6642
- grid-column: 1 / 3;
6643
- grid-row: 1 / 2;
6554
+ .s-user-card .s-user-card--group:has(> .s-avatar) {
6555
+ --_uc-group-gap: var(--su6);
6644
6556
  }
6645
- .s-user-card .s-user-card--type {
6646
- color: var(--_uc-type-fc);
6647
- font-size: var(--fs-caption);
6648
- grid-column: 1 / 3;
6557
+ .s-user-card .s-user-card--group:has(+ .s-user-card--time) {
6558
+ margin-right: var(--su2);
6649
6559
  }
6650
- .s-user-card .s-user-card--type a:not(.s-link) {
6651
- color: inherit !important;
6560
+ .s-user-card ul.s-user-card--group {
6561
+ list-style: none;
6562
+ margin: 0;
6563
+ padding: 0;
6564
+ }
6565
+ .s-user-card ul.s-user-card--group.s-user-card--group__split li:not(:last-child):after {
6566
+ background-color: var(--black-350);
6567
+ content: "";
6568
+ display: block;
6569
+ margin-left: var(--su4);
6570
+ width: var(--su4);
6571
+ height: var(--su4);
6572
+ }
6573
+ .s-user-card ul.s-user-card--group li {
6574
+ align-items: center;
6575
+ display: inline-flex;
6576
+ gap: var(--su2);
6577
+ }
6578
+ .s-user-card .s-user-card--row {
6579
+ align-items: center;
6580
+ display: flex;
6581
+ flex-direction: row;
6582
+ flex-wrap: wrap;
6583
+ gap: var(--_uc-row-gap);
6652
6584
  }
6653
6585
  .s-vote {
6654
6586
  --_vo-fd: column;
@@ -6805,36 +6737,27 @@ body.theme-highcontrast .s-uploader .s-uploader--preview-thumbnail {
6805
6737
  font-style: italic;
6806
6738
  font-weight: 800;
6807
6739
  }
6808
- html,
6740
+ html {
6741
+ font-size: 100%;
6742
+ }
6809
6743
  body {
6810
6744
  --ff-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif;
6811
6745
  --ff-serif: Georgia, Cambria, "Times New Roman", Times, serif;
6812
6746
  --ff-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;
6813
6747
  --theme-body-font-family: var(--ff-sans);
6814
- --fs-fine: 12px;
6815
- --fs-caption: 13px;
6816
- --fs-body1: 14px;
6817
- --fs-body2: 1.143rem;
6818
- --fs-body3: 1.286rem;
6819
- --fs-subheading: 1.429rem;
6820
- --fs-title: 1.571rem;
6821
- --fs-headline1: 2rem;
6822
- --fs-headline2: 2.571rem;
6823
- --fs-display1: 3.286rem;
6824
- --fs-display2: 4.143rem;
6825
- --fs-display3: 5.143rem;
6826
- --fs-display4: 7.143rem;
6827
- --fs-body2-relative: 1.143rem;
6828
- --fs-body3-relative: 1.286rem;
6829
- --fs-subheading-relative: 1.429rem;
6830
- --fs-title-relative: 1.571rem;
6831
- --fs-headline1-relative: 2rem;
6832
- --fs-headline2-relative: 2.571rem;
6833
- --fs-display1-relative: 3.286rem;
6834
- --fs-display2-relative: 4.143rem;
6835
- --fs-display3-relative: 5.143rem;
6836
- --fs-display4-relative: 7.143rem;
6837
- --fs-base: 14px;
6748
+ --fs-fine: 0.75rem;
6749
+ --fs-caption: 0.8125rem;
6750
+ --fs-body1: 0.875rem;
6751
+ --fs-body2: 1rem;
6752
+ --fs-body3: 1.125rem;
6753
+ --fs-subheading: 1.25rem;
6754
+ --fs-title: 1.375rem;
6755
+ --fs-headline1: 1.75rem;
6756
+ --fs-headline2: 2.25rem;
6757
+ --fs-display1: 2.875rem;
6758
+ --fs-display2: 3.625rem;
6759
+ --fs-display3: 4.5rem;
6760
+ --fs-display4: 6.25rem;
6838
6761
  --stacks-internals-lh-unit: 14;
6839
6762
  --lh-xs: 1;
6840
6763
  --lh-sm: calc((var(--stacks-internals-lh-unit) + 2) / var(--stacks-internals-lh-unit));
@@ -6873,7 +6796,7 @@ body {
6873
6796
  --te-ease-out: cubic-bezier(0.39, 0.575, 0.565, 1);
6874
6797
  --default-transition-duration: 0.1s;
6875
6798
  --transition-time: var(--default-transition-duration);
6876
- --s-full: 97.2307692rem;
6799
+ --s-full: 79rem;
6877
6800
  --s-step: calc(var(--s-full) / 12);
6878
6801
  }
6879
6802
  body {
@@ -23419,7 +23342,7 @@ html,
23419
23342
  body {
23420
23343
  color: var(--theme-body-font-color, var(--black-600));
23421
23344
  font-family: var(--theme-body-font-family);
23422
- font-size: var(--fs-base);
23345
+ font-size: var(--fs-body1);
23423
23346
  line-height: var(--lh-base);
23424
23347
  }
23425
23348
  body {