@instacks/peak 1.1.2 → 1.3.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 +3 -1
- package/dist/peak.css +298 -33
- package/dist/peak.min.css +1 -1
- package/dist/peak.scoped.css +298 -33
- package/dist/peak.scoped.min.css +1 -1
- package/package.json +1 -1
package/dist/peak.scoped.css
CHANGED
|
@@ -3487,6 +3487,11 @@ figure figcaption {
|
|
|
3487
3487
|
font-size: .75em;
|
|
3488
3488
|
}
|
|
3489
3489
|
|
|
3490
|
+
:where(img[width][height]) {
|
|
3491
|
+
block-size: auto;
|
|
3492
|
+
max-inline-size: 100%;
|
|
3493
|
+
}
|
|
3494
|
+
|
|
3490
3495
|
.peak-prose {
|
|
3491
3496
|
max-inline-size: var(--peak-measure);
|
|
3492
3497
|
text-wrap: pretty;
|
|
@@ -3541,6 +3546,15 @@ figure figcaption {
|
|
|
3541
3546
|
:scope:has(.nav-sticky) [id] {
|
|
3542
3547
|
scroll-margin-block-start: 5rem;
|
|
3543
3548
|
}
|
|
3549
|
+
|
|
3550
|
+
meter {
|
|
3551
|
+
inline-size: 100%;
|
|
3552
|
+
margin-block-end: calc(var(--pico-spacing) * .5);
|
|
3553
|
+
}
|
|
3554
|
+
|
|
3555
|
+
:is([role="group"], [role="search"]):has( > :is(input, select, textarea)) > :is(button, [role="button"]) {
|
|
3556
|
+
flex-shrink: 0;
|
|
3557
|
+
}
|
|
3544
3558
|
}
|
|
3545
3559
|
}
|
|
3546
3560
|
|
|
@@ -3618,6 +3632,7 @@ figure figcaption {
|
|
|
3618
3632
|
}
|
|
3619
3633
|
|
|
3620
3634
|
.site-footer, :scope.site-footer {
|
|
3635
|
+
--pico-color: var(--pico-muted-color);
|
|
3621
3636
|
padding-block: calc(var(--pico-spacing) * 2);
|
|
3622
3637
|
border-block-start: var(--pico-border-width) solid var(--pico-muted-border-color);
|
|
3623
3638
|
color: var(--pico-muted-color);
|
|
@@ -3680,15 +3695,18 @@ figure figcaption {
|
|
|
3680
3695
|
:is(.site-header, :scope.site-header):is([data-nav-style="surface"], [data-nav-style="bordered"]) {
|
|
3681
3696
|
--_peak-nav-bg: var(--peak-bg);
|
|
3682
3697
|
background-color: var(--_peak-nav-bg);
|
|
3683
|
-
|
|
3684
|
-
0
|
|
3685
|
-
clip-path: inset(0 -100vmax calc(var(--pico-border-width) * -1));
|
|
3698
|
+
border-image: linear-gradient(var(--_peak-nav-bg) calc(100% - var(--pico-border-width)), var(--pico-muted-border-color) 0)
|
|
3699
|
+
fill 0 / 0 / 0 100vmax var(--pico-border-width);
|
|
3686
3700
|
}
|
|
3687
3701
|
|
|
3688
3702
|
:is(.site-header, :scope.site-header)[data-nav-style="surface"] {
|
|
3689
3703
|
--_peak-nav-bg: var(--peak-surface);
|
|
3690
3704
|
}
|
|
3691
3705
|
|
|
3706
|
+
.site-footer-nav {
|
|
3707
|
+
display: block;
|
|
3708
|
+
}
|
|
3709
|
+
|
|
3692
3710
|
.site-footer-nav ul {
|
|
3693
3711
|
margin: 0 0 calc(var(--pico-spacing) * .75);
|
|
3694
3712
|
flex-wrap: wrap;
|
|
@@ -3698,6 +3716,11 @@ figure figcaption {
|
|
|
3698
3716
|
display: flex;
|
|
3699
3717
|
}
|
|
3700
3718
|
|
|
3719
|
+
.site-footer-nav.stacked ul {
|
|
3720
|
+
flex-direction: column;
|
|
3721
|
+
align-items: start;
|
|
3722
|
+
}
|
|
3723
|
+
|
|
3701
3724
|
.site-footer-nav li {
|
|
3702
3725
|
margin: 0;
|
|
3703
3726
|
padding: 0;
|
|
@@ -3708,7 +3731,7 @@ figure figcaption {
|
|
|
3708
3731
|
}
|
|
3709
3732
|
|
|
3710
3733
|
.site-footer-nav a[aria-current="page"] {
|
|
3711
|
-
color: var(--
|
|
3734
|
+
color: var(--peak-text);
|
|
3712
3735
|
}
|
|
3713
3736
|
|
|
3714
3737
|
.site-footer-text {
|
|
@@ -3779,8 +3802,7 @@ figure figcaption {
|
|
|
3779
3802
|
--_peak-band-bg: var(--peak-surface-sunken);
|
|
3780
3803
|
padding-block: var(--peak-section-spacing, calc(var(--pico-block-spacing-vertical) * 2));
|
|
3781
3804
|
background-color: var(--_peak-band-bg);
|
|
3782
|
-
|
|
3783
|
-
clip-path: inset(0 -100vmax);
|
|
3805
|
+
border-image: linear-gradient(var(--_peak-band-bg), var(--_peak-band-bg)) fill 0 / 0 / 0 100vmax;
|
|
3784
3806
|
}
|
|
3785
3807
|
|
|
3786
3808
|
.peak-band.surface {
|
|
@@ -3793,14 +3815,32 @@ figure figcaption {
|
|
|
3793
3815
|
|
|
3794
3816
|
.peak-band.primary {
|
|
3795
3817
|
--_peak-band-bg: var(--peak-primary-fill);
|
|
3796
|
-
--
|
|
3797
|
-
color: var(--peak-on-primary);
|
|
3818
|
+
--_peak-band-fg: var(--peak-on-primary);
|
|
3798
3819
|
}
|
|
3799
3820
|
|
|
3800
3821
|
.peak-band.contrast {
|
|
3801
3822
|
--_peak-band-bg: var(--peak-contrast);
|
|
3802
|
-
--
|
|
3803
|
-
|
|
3823
|
+
--_peak-band-fg: var(--peak-on-contrast);
|
|
3824
|
+
}
|
|
3825
|
+
|
|
3826
|
+
.peak-band:is(.primary, .contrast) {
|
|
3827
|
+
--pico-color: var(--_peak-band-fg);
|
|
3828
|
+
--pico-h1-color: var(--_peak-band-fg);
|
|
3829
|
+
--pico-h2-color: var(--_peak-band-fg);
|
|
3830
|
+
--pico-h3-color: var(--_peak-band-fg);
|
|
3831
|
+
--pico-h4-color: var(--_peak-band-fg);
|
|
3832
|
+
--pico-h5-color: var(--_peak-band-fg);
|
|
3833
|
+
--pico-h6-color: var(--_peak-band-fg);
|
|
3834
|
+
--peak-heading: var(--_peak-band-fg);
|
|
3835
|
+
--peak-muted: var(--_peak-band-fg);
|
|
3836
|
+
--pico-muted-color: var(--_peak-band-fg);
|
|
3837
|
+
--peak-primary: var(--_peak-band-fg);
|
|
3838
|
+
--pico-primary: var(--_peak-band-fg);
|
|
3839
|
+
--pico-primary-hover: var(--_peak-band-fg);
|
|
3840
|
+
--pico-primary-underline: color-mix(in srgb, var(--_peak-band-fg) 60%, transparent);
|
|
3841
|
+
--pico-primary-hover-underline: var(--_peak-band-fg);
|
|
3842
|
+
--pico-primary-focus: var(--_peak-band-fg);
|
|
3843
|
+
color: var(--_peak-band-fg);
|
|
3804
3844
|
}
|
|
3805
3845
|
|
|
3806
3846
|
.peak-hero {
|
|
@@ -3868,10 +3908,26 @@ figure figcaption {
|
|
|
3868
3908
|
align-items: baseline;
|
|
3869
3909
|
}
|
|
3870
3910
|
|
|
3911
|
+
:where(.peak-cluster) {
|
|
3912
|
+
margin-block-end: var(--pico-typography-spacing-vertical);
|
|
3913
|
+
}
|
|
3914
|
+
|
|
3915
|
+
:where(.peak-grid-auto, .peak-grid, .peak-switcher):where(:not(:last-child)) {
|
|
3916
|
+
margin-block-end: var(--pico-block-spacing-vertical);
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3871
3919
|
.peak-cluster > * {
|
|
3872
3920
|
margin-block: 0;
|
|
3873
3921
|
}
|
|
3874
3922
|
|
|
3923
|
+
.peak-cluster > :is(input:not([type="checkbox"], [type="radio"], [type="range"]), select, textarea) {
|
|
3924
|
+
field-sizing: content;
|
|
3925
|
+
flex: none;
|
|
3926
|
+
inline-size: auto;
|
|
3927
|
+
min-inline-size: 5rem;
|
|
3928
|
+
max-inline-size: 100%;
|
|
3929
|
+
}
|
|
3930
|
+
|
|
3875
3931
|
.peak-grid {
|
|
3876
3932
|
--_peak-gap: var(--peak-gap, var(--pico-grid-column-gap));
|
|
3877
3933
|
grid-template-columns: repeat(auto-fill,
|
|
@@ -3908,6 +3964,7 @@ figure figcaption {
|
|
|
3908
3964
|
gap: var(--peak-gap, calc(var(--pico-spacing) * 2));
|
|
3909
3965
|
flex-wrap: wrap;
|
|
3910
3966
|
display: flex;
|
|
3967
|
+
container: peak-sidebar / inline-size;
|
|
3911
3968
|
}
|
|
3912
3969
|
|
|
3913
3970
|
.peak-with-sidebar > :is(aside, .peak-sidebar), .peak-with-sidebar > .out:has( > .peak-sidebar) {
|
|
@@ -3919,10 +3976,12 @@ figure figcaption {
|
|
|
3919
3976
|
min-inline-size: 60%;
|
|
3920
3977
|
}
|
|
3921
3978
|
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3979
|
+
@container peak-sidebar (width >= 45rem) {
|
|
3980
|
+
.peak-with-sidebar.sticky > :is(aside, .peak-sidebar), .peak-with-sidebar.sticky > .out:has( > .peak-sidebar) {
|
|
3981
|
+
align-self: start;
|
|
3982
|
+
position: sticky;
|
|
3983
|
+
inset-block-start: var(--peak-sticky-offset, var(--pico-spacing));
|
|
3984
|
+
}
|
|
3926
3985
|
}
|
|
3927
3986
|
|
|
3928
3987
|
.peak-media {
|
|
@@ -3940,7 +3999,7 @@ figure figcaption {
|
|
|
3940
3999
|
}
|
|
3941
4000
|
|
|
3942
4001
|
.peak-media > :last-child {
|
|
3943
|
-
flex: 16rem;
|
|
4002
|
+
flex: 1 1 var(--peak-media-min, 16rem);
|
|
3944
4003
|
min-inline-size: 0;
|
|
3945
4004
|
}
|
|
3946
4005
|
|
|
@@ -3961,6 +4020,7 @@ figure figcaption {
|
|
|
3961
4020
|
.peak-switcher > * {
|
|
3962
4021
|
flex-grow: 1;
|
|
3963
4022
|
flex-basis: calc((var(--peak-switch-at, 40rem) - 100%) * 999);
|
|
4023
|
+
min-inline-size: 0;
|
|
3964
4024
|
margin-block: 0;
|
|
3965
4025
|
}
|
|
3966
4026
|
|
|
@@ -3990,6 +4050,12 @@ figure figcaption {
|
|
|
3990
4050
|
padding-block: var(--peak-section-spacing, calc(var(--pico-block-spacing-vertical) * 2)) !important;
|
|
3991
4051
|
}
|
|
3992
4052
|
|
|
4053
|
+
@media screen and (forced-colors: none) {
|
|
4054
|
+
.stacks_in.peak-band {
|
|
4055
|
+
border-image: linear-gradient(var(--_peak-band-bg), var(--_peak-band-bg)) fill 0 / 0 / 0 100vmax !important;
|
|
4056
|
+
}
|
|
4057
|
+
}
|
|
4058
|
+
|
|
3993
4059
|
.stacks_in.peak-hero {
|
|
3994
4060
|
padding-block: calc(var(--peak-spacing) * 4) calc(var(--peak-spacing) * 2.5) !important;
|
|
3995
4061
|
}
|
|
@@ -4042,6 +4108,54 @@ figure figcaption {
|
|
|
4042
4108
|
.stacks_in.peak-switcher, .stacks_in.peak-switcher > .out > .stacks_in {
|
|
4043
4109
|
overflow: visible !important;
|
|
4044
4110
|
}
|
|
4111
|
+
|
|
4112
|
+
@media (width < 576px) {
|
|
4113
|
+
.stacks_in.peak-hide-below-sm {
|
|
4114
|
+
display: none !important;
|
|
4115
|
+
}
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4118
|
+
@media (width >= 576px) {
|
|
4119
|
+
.stacks_in.peak-hide-from-sm {
|
|
4120
|
+
display: none !important;
|
|
4121
|
+
}
|
|
4122
|
+
}
|
|
4123
|
+
|
|
4124
|
+
@media (width < 768px) {
|
|
4125
|
+
.stacks_in.peak-hide-below-md {
|
|
4126
|
+
display: none !important;
|
|
4127
|
+
}
|
|
4128
|
+
}
|
|
4129
|
+
|
|
4130
|
+
@media (width >= 768px) {
|
|
4131
|
+
.stacks_in.peak-hide-from-md {
|
|
4132
|
+
display: none !important;
|
|
4133
|
+
}
|
|
4134
|
+
}
|
|
4135
|
+
|
|
4136
|
+
@media (width < 1024px) {
|
|
4137
|
+
.stacks_in.peak-hide-below-lg {
|
|
4138
|
+
display: none !important;
|
|
4139
|
+
}
|
|
4140
|
+
}
|
|
4141
|
+
|
|
4142
|
+
@media (width >= 1024px) {
|
|
4143
|
+
.stacks_in.peak-hide-from-lg {
|
|
4144
|
+
display: none !important;
|
|
4145
|
+
}
|
|
4146
|
+
}
|
|
4147
|
+
|
|
4148
|
+
@media (width < 1280px) {
|
|
4149
|
+
.stacks_in.peak-hide-below-xl {
|
|
4150
|
+
display: none !important;
|
|
4151
|
+
}
|
|
4152
|
+
}
|
|
4153
|
+
|
|
4154
|
+
@media (width >= 1280px) {
|
|
4155
|
+
.stacks_in.peak-hide-from-xl {
|
|
4156
|
+
display: none !important;
|
|
4157
|
+
}
|
|
4158
|
+
}
|
|
4045
4159
|
}
|
|
4046
4160
|
}
|
|
4047
4161
|
|
|
@@ -4091,7 +4205,7 @@ figure figcaption {
|
|
|
4091
4205
|
position-try-fallbacks: flip-block,
|
|
4092
4206
|
flip-inline,
|
|
4093
4207
|
flip-block flip-inline;
|
|
4094
|
-
position-visibility:
|
|
4208
|
+
position-visibility: anchor-visible;
|
|
4095
4209
|
overflow-y: auto;
|
|
4096
4210
|
}
|
|
4097
4211
|
|
|
@@ -4100,7 +4214,7 @@ figure figcaption {
|
|
|
4100
4214
|
position-try-fallbacks: flip-block,
|
|
4101
4215
|
flip-inline,
|
|
4102
4216
|
flip-block flip-inline;
|
|
4103
|
-
position-visibility:
|
|
4217
|
+
position-visibility: anchor-visible;
|
|
4104
4218
|
margin: 0;
|
|
4105
4219
|
margin-block-start: var(--pico-outline-width);
|
|
4106
4220
|
inset: auto;
|
|
@@ -4239,22 +4353,28 @@ figure figcaption {
|
|
|
4239
4353
|
border-end-start-radius: var(--pico-border-radius);
|
|
4240
4354
|
}
|
|
4241
4355
|
|
|
4242
|
-
:is(.peak-grid-auto, .grid) > :is(article, .peak-card), .peak-grid-auto > .out > .stacks_in > :is(article, .peak-card):only-child, .peak-grid-auto > .out > .stacks_in.peak-card {
|
|
4356
|
+
:is(.peak-grid-auto, .peak-grid, .grid) > :is(article, .peak-card), .peak-grid-auto > .out > .stacks_in > :is(article, .peak-card):only-child, .peak-grid-auto > .out > .stacks_in.peak-card {
|
|
4243
4357
|
flex-direction: column;
|
|
4244
4358
|
flex: 1;
|
|
4245
4359
|
margin-block: 0;
|
|
4246
4360
|
display: flex;
|
|
4247
4361
|
}
|
|
4248
4362
|
|
|
4249
|
-
|
|
4363
|
+
.peak-switcher > :is(article, .peak-card) {
|
|
4364
|
+
flex-direction: column;
|
|
4365
|
+
margin-block: 0;
|
|
4366
|
+
display: flex;
|
|
4367
|
+
}
|
|
4368
|
+
|
|
4369
|
+
:is(.peak-grid-auto, .peak-grid, .peak-switcher, .grid) > :is(article, .peak-card) > footer, .peak-grid-auto > .out > .stacks_in > :is(article, .peak-card):only-child > footer, .peak-grid-auto > .out > .stacks_in.peak-card > footer {
|
|
4250
4370
|
margin-block-start: auto;
|
|
4251
4371
|
}
|
|
4252
4372
|
|
|
4253
|
-
:is(article, .peak-card) > :is(h2, h3, h4, h5, h6) {
|
|
4373
|
+
:is(article:not(.peak-prose), .peak-card) > :is(h2, h3, h4, h5, h6) {
|
|
4254
4374
|
margin-block-end: calc(var(--pico-typography-spacing-vertical) * .5);
|
|
4255
4375
|
}
|
|
4256
4376
|
|
|
4257
|
-
:is(article, .peak-card) > :is(img, picture, figure):first-child {
|
|
4377
|
+
:is(article:not(.peak-prose), .peak-card) > :is(img, picture, figure):first-child {
|
|
4258
4378
|
inline-size: calc(100% + var(--pico-block-spacing-horizontal) * 2);
|
|
4259
4379
|
block-size: auto;
|
|
4260
4380
|
max-inline-size: none;
|
|
@@ -4266,6 +4386,29 @@ figure figcaption {
|
|
|
4266
4386
|
overflow: hidden;
|
|
4267
4387
|
}
|
|
4268
4388
|
|
|
4389
|
+
article.peak-prose {
|
|
4390
|
+
box-shadow: none;
|
|
4391
|
+
background: none;
|
|
4392
|
+
border-radius: 0;
|
|
4393
|
+
padding: 0;
|
|
4394
|
+
}
|
|
4395
|
+
|
|
4396
|
+
article.peak-prose > :is(header, footer) {
|
|
4397
|
+
background: none;
|
|
4398
|
+
border: 0;
|
|
4399
|
+
border-radius: 0;
|
|
4400
|
+
margin-inline: 0;
|
|
4401
|
+
padding: 0;
|
|
4402
|
+
}
|
|
4403
|
+
|
|
4404
|
+
article.peak-prose > header {
|
|
4405
|
+
margin-block: 0 var(--pico-block-spacing-vertical);
|
|
4406
|
+
}
|
|
4407
|
+
|
|
4408
|
+
article.peak-prose > footer {
|
|
4409
|
+
margin-block: var(--pico-block-spacing-vertical) 0;
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4269
4412
|
.peak-card.outline {
|
|
4270
4413
|
box-shadow: 0 0 0 var(--pico-border-width) var(--pico-card-border-color);
|
|
4271
4414
|
}
|
|
@@ -4275,7 +4418,12 @@ figure figcaption {
|
|
|
4275
4418
|
box-shadow: none;
|
|
4276
4419
|
}
|
|
4277
4420
|
|
|
4278
|
-
|
|
4421
|
+
.peak-card.featured {
|
|
4422
|
+
box-shadow: 0 0 0 calc(var(--pico-border-width) * 2) var(--peak-primary),
|
|
4423
|
+
var(--pico-card-box-shadow);
|
|
4424
|
+
}
|
|
4425
|
+
|
|
4426
|
+
:is(article:not(.peak-prose), .peak-card):has(.peak-card-link) {
|
|
4279
4427
|
transition: transform var(--pico-transition),
|
|
4280
4428
|
box-shadow var(--pico-transition);
|
|
4281
4429
|
position: relative;
|
|
@@ -4288,16 +4436,16 @@ figure figcaption {
|
|
|
4288
4436
|
inset: 0;
|
|
4289
4437
|
}
|
|
4290
4438
|
|
|
4291
|
-
:is(article, .peak-card):has(.peak-card-link) :is(a, button, input, select, textarea, summary, label):not(.peak-card-link) {
|
|
4439
|
+
:is(article:not(.peak-prose), .peak-card):has(.peak-card-link) :is(a, button, input, select, textarea, summary, label):not(.peak-card-link) {
|
|
4292
4440
|
z-index: 1;
|
|
4293
4441
|
position: relative;
|
|
4294
4442
|
}
|
|
4295
4443
|
|
|
4296
|
-
:is(article, .peak-card):has(.peak-card-link):hover {
|
|
4444
|
+
:is(article:not(.peak-prose), .peak-card):has(.peak-card-link):hover {
|
|
4297
4445
|
transform: translateY(-2px);
|
|
4298
4446
|
}
|
|
4299
4447
|
|
|
4300
|
-
:is(article, .peak-card):has(.peak-card-link:focus-visible) {
|
|
4448
|
+
:is(article:not(.peak-prose), .peak-card):has(.peak-card-link:focus-visible) {
|
|
4301
4449
|
outline: var(--pico-outline-width) solid var(--pico-primary-focus);
|
|
4302
4450
|
outline-offset: 2px;
|
|
4303
4451
|
}
|
|
@@ -4308,7 +4456,7 @@ figure figcaption {
|
|
|
4308
4456
|
}
|
|
4309
4457
|
|
|
4310
4458
|
@media (prefers-reduced-motion: reduce) {
|
|
4311
|
-
:is(article, .peak-card):has(.peak-card-link):hover {
|
|
4459
|
+
:is(article:not(.peak-prose), .peak-card):has(.peak-card-link):hover {
|
|
4312
4460
|
transform: none;
|
|
4313
4461
|
}
|
|
4314
4462
|
}
|
|
@@ -4347,7 +4495,7 @@ figure figcaption {
|
|
|
4347
4495
|
--_peak-badge-bg: var(--peak-primary-tint);
|
|
4348
4496
|
--_peak-badge-solid-fg: var(--peak-on-primary);
|
|
4349
4497
|
--_peak-badge-solid-bg: var(--peak-primary-fill);
|
|
4350
|
-
overflow-wrap:
|
|
4498
|
+
overflow-wrap: break-word;
|
|
4351
4499
|
background-color: var(--_peak-badge-bg);
|
|
4352
4500
|
max-inline-size: 100%;
|
|
4353
4501
|
color: var(--_peak-badge-fg);
|
|
@@ -4611,7 +4759,7 @@ tbody th[scope="rowgroup"] {
|
|
|
4611
4759
|
overflow: hidden;
|
|
4612
4760
|
}
|
|
4613
4761
|
|
|
4614
|
-
.peak-chip:has( > input:checked) {
|
|
4762
|
+
.peak-chip:has( > input:checked), a.peak-chip[aria-current]:not([aria-current="false"]) {
|
|
4615
4763
|
border-color: var(--peak-primary);
|
|
4616
4764
|
background-color: var(--peak-primary-tint);
|
|
4617
4765
|
color: var(--peak-primary-hover);
|
|
@@ -4757,6 +4905,10 @@ dialog.peak-wide > article {
|
|
|
4757
4905
|
max-inline-size: min(64rem, 100%);
|
|
4758
4906
|
}
|
|
4759
4907
|
|
|
4908
|
+
dialog > article > footer button[type="submit"] {
|
|
4909
|
+
inline-size: auto;
|
|
4910
|
+
}
|
|
4911
|
+
|
|
4760
4912
|
dialog.peak-wide:modal[closedby] {
|
|
4761
4913
|
inline-size: min(64rem, 100% - var(--pico-spacing) * 2);
|
|
4762
4914
|
}
|
|
@@ -4990,6 +5142,31 @@ dialog.peak-drawer > article {
|
|
|
4990
5142
|
margin-inline-start: calc(var(--_peak-avatar-size) * -.25);
|
|
4991
5143
|
}
|
|
4992
5144
|
|
|
5145
|
+
.peak-rating {
|
|
5146
|
+
--_peak-rating-fill: light-dark(oklch(.56 var(--peak-status-chroma) var(--peak-warning-hue)), oklch(.8 var(--peak-status-chroma) var(--peak-warning-hue)));
|
|
5147
|
+
letter-spacing: .1em;
|
|
5148
|
+
white-space: nowrap;
|
|
5149
|
+
vertical-align: -.05em;
|
|
5150
|
+
line-height: 1;
|
|
5151
|
+
display: inline-block;
|
|
5152
|
+
}
|
|
5153
|
+
|
|
5154
|
+
.peak-rating:before {
|
|
5155
|
+
content: "★★★★★";
|
|
5156
|
+
background: linear-gradient(to right,
|
|
5157
|
+
var(--_peak-rating-fill) calc(clamp(0, var(--peak-rating, 0), 5) / 5 * 100%),
|
|
5158
|
+
var(--peak-border-strong) 0);
|
|
5159
|
+
color: #0000;
|
|
5160
|
+
background-clip: text;
|
|
5161
|
+
}
|
|
5162
|
+
|
|
5163
|
+
.peak-rating:dir(rtl):before {
|
|
5164
|
+
background: linear-gradient(to left,
|
|
5165
|
+
var(--_peak-rating-fill) calc(clamp(0, var(--peak-rating, 0), 5) / 5 * 100%),
|
|
5166
|
+
var(--peak-border-strong) 0);
|
|
5167
|
+
background-clip: text;
|
|
5168
|
+
}
|
|
5169
|
+
|
|
4993
5170
|
.site-nav .site-menu, .site-nav .site-menu-popover[popover] {
|
|
4994
5171
|
display: contents;
|
|
4995
5172
|
}
|
|
@@ -5062,6 +5239,10 @@ dialog.peak-drawer > article {
|
|
|
5062
5239
|
margin: 0;
|
|
5063
5240
|
}
|
|
5064
5241
|
|
|
5242
|
+
.site-nav .site-menu {
|
|
5243
|
+
align-self: center;
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5065
5246
|
.site-nav .site-menu-popover:popover-open > ul {
|
|
5066
5247
|
flex-direction: column;
|
|
5067
5248
|
align-items: stretch;
|
|
@@ -5126,6 +5307,19 @@ dialog.peak-drawer > article {
|
|
|
5126
5307
|
font-weight: 600;
|
|
5127
5308
|
}
|
|
5128
5309
|
|
|
5310
|
+
.peak-sidebar-nav > :is(h2, h3, h4, h5, h6, p) {
|
|
5311
|
+
margin-block: calc(var(--pico-spacing) * 1.5) calc(var(--pico-spacing) * .375);
|
|
5312
|
+
color: var(--pico-h6-color);
|
|
5313
|
+
letter-spacing: .06em;
|
|
5314
|
+
text-transform: uppercase;
|
|
5315
|
+
font-size: .75rem;
|
|
5316
|
+
font-weight: 600;
|
|
5317
|
+
}
|
|
5318
|
+
|
|
5319
|
+
.peak-sidebar-nav > :is(h2, h3, h4, h5, h6, p):first-child {
|
|
5320
|
+
margin-block-start: 0;
|
|
5321
|
+
}
|
|
5322
|
+
|
|
5129
5323
|
.peak-sidebar-nav ul ul a {
|
|
5130
5324
|
padding-inline-start: calc(var(--pico-nav-link-spacing-horizontal) * 2.5);
|
|
5131
5325
|
}
|
|
@@ -5334,12 +5528,61 @@ dialog:not([open])::backdrop {
|
|
|
5334
5528
|
margin-block-end: 0;
|
|
5335
5529
|
}
|
|
5336
5530
|
|
|
5531
|
+
@media (width < 576px) {
|
|
5532
|
+
.peak-hide-below-sm {
|
|
5533
|
+
display: none;
|
|
5534
|
+
}
|
|
5535
|
+
}
|
|
5536
|
+
|
|
5537
|
+
@media (width >= 576px) {
|
|
5538
|
+
.peak-hide-from-sm {
|
|
5539
|
+
display: none;
|
|
5540
|
+
}
|
|
5541
|
+
}
|
|
5542
|
+
|
|
5543
|
+
@media (width < 768px) {
|
|
5544
|
+
.peak-hide-below-md {
|
|
5545
|
+
display: none;
|
|
5546
|
+
}
|
|
5547
|
+
}
|
|
5548
|
+
|
|
5549
|
+
@media (width >= 768px) {
|
|
5550
|
+
.peak-hide-from-md {
|
|
5551
|
+
display: none;
|
|
5552
|
+
}
|
|
5553
|
+
}
|
|
5554
|
+
|
|
5555
|
+
@media (width < 1024px) {
|
|
5556
|
+
.peak-hide-below-lg {
|
|
5557
|
+
display: none;
|
|
5558
|
+
}
|
|
5559
|
+
}
|
|
5560
|
+
|
|
5561
|
+
@media (width >= 1024px) {
|
|
5562
|
+
.peak-hide-from-lg {
|
|
5563
|
+
display: none;
|
|
5564
|
+
}
|
|
5565
|
+
}
|
|
5566
|
+
|
|
5567
|
+
@media (width < 1280px) {
|
|
5568
|
+
.peak-hide-below-xl {
|
|
5569
|
+
display: none;
|
|
5570
|
+
}
|
|
5571
|
+
}
|
|
5572
|
+
|
|
5573
|
+
@media (width >= 1280px) {
|
|
5574
|
+
.peak-hide-from-xl {
|
|
5575
|
+
display: none;
|
|
5576
|
+
}
|
|
5577
|
+
}
|
|
5578
|
+
|
|
5337
5579
|
.peak-visually-hidden:not(:focus-within) {
|
|
5338
5580
|
clip-path: inset(50%);
|
|
5339
5581
|
white-space: nowrap;
|
|
5340
5582
|
block-size: 1px;
|
|
5341
5583
|
inline-size: 1px;
|
|
5342
5584
|
position: absolute;
|
|
5585
|
+
inset-inline-start: 0;
|
|
5343
5586
|
overflow: hidden;
|
|
5344
5587
|
}
|
|
5345
5588
|
|
|
@@ -5348,7 +5591,7 @@ dialog:not([open])::backdrop {
|
|
|
5348
5591
|
}
|
|
5349
5592
|
|
|
5350
5593
|
@media (forced-colors: active) {
|
|
5351
|
-
:is(article, .peak-card, [popover], dialog > article, .peak-badge, .peak-avatar) {
|
|
5594
|
+
:is(article:not(.peak-prose), .peak-card, [popover], dialog > article, .peak-badge, .peak-avatar) {
|
|
5352
5595
|
border: 1px solid canvastext;
|
|
5353
5596
|
}
|
|
5354
5597
|
|
|
@@ -5377,6 +5620,24 @@ dialog:not([open])::backdrop {
|
|
|
5377
5620
|
.peak-badge.dot:before {
|
|
5378
5621
|
background-color: canvastext;
|
|
5379
5622
|
}
|
|
5623
|
+
|
|
5624
|
+
.peak-card.featured {
|
|
5625
|
+
border: 2px solid highlight;
|
|
5626
|
+
}
|
|
5627
|
+
|
|
5628
|
+
.peak-rating {
|
|
5629
|
+
--_peak-rating-fill: CanvasText;
|
|
5630
|
+
--peak-border-strong: GrayText;
|
|
5631
|
+
forced-color-adjust: none;
|
|
5632
|
+
}
|
|
5633
|
+
|
|
5634
|
+
.peak-band, :is(.site-header, :scope.site-header):is([data-nav-style="surface"], [data-nav-style="bordered"]) {
|
|
5635
|
+
border-image-source: none;
|
|
5636
|
+
}
|
|
5637
|
+
|
|
5638
|
+
:is(.site-header, :scope.site-header):is([data-nav-style="surface"], [data-nav-style="bordered"]) {
|
|
5639
|
+
border-block-end: 1px solid canvastext;
|
|
5640
|
+
}
|
|
5380
5641
|
}
|
|
5381
5642
|
|
|
5382
5643
|
@media print {
|
|
@@ -5388,18 +5649,17 @@ dialog:not([open])::backdrop {
|
|
|
5388
5649
|
display: none;
|
|
5389
5650
|
}
|
|
5390
5651
|
|
|
5391
|
-
:is(article, .peak-card, .peak-callout, .peak-toast) {
|
|
5652
|
+
:is(article:not(.peak-prose), .peak-card, .peak-callout, .peak-toast) {
|
|
5392
5653
|
box-shadow: none;
|
|
5393
5654
|
border: 1px solid var(--peak-border);
|
|
5394
5655
|
}
|
|
5395
5656
|
|
|
5396
5657
|
.peak-band {
|
|
5397
|
-
box-shadow: none;
|
|
5398
|
-
clip-path: none;
|
|
5399
5658
|
background: none;
|
|
5659
|
+
border-image-source: none;
|
|
5400
5660
|
}
|
|
5401
5661
|
|
|
5402
|
-
:is(article, .peak-card, .peak-callout, figure, pre, blockquote, tr, img) {
|
|
5662
|
+
:is(article:not(.peak-prose), .peak-card, .peak-callout, figure, pre, blockquote, tr, img) {
|
|
5403
5663
|
break-inside: avoid;
|
|
5404
5664
|
}
|
|
5405
5665
|
|
|
@@ -5407,6 +5667,11 @@ dialog:not([open])::backdrop {
|
|
|
5407
5667
|
break-after: avoid;
|
|
5408
5668
|
}
|
|
5409
5669
|
|
|
5670
|
+
.peak-rating:before {
|
|
5671
|
+
-webkit-print-color-adjust: exact;
|
|
5672
|
+
print-color-adjust: exact;
|
|
5673
|
+
}
|
|
5674
|
+
|
|
5410
5675
|
.peak-prose a[href^="http"]:after {
|
|
5411
5676
|
content: " (" attr(href) ")";
|
|
5412
5677
|
color: var(--peak-muted);
|