@instacks/peak 1.2.0 → 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 +286 -31
- package/dist/peak.min.css +1 -1
- package/dist/peak.scoped.css +286 -31
- package/dist/peak.scoped.min.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,9 @@ or `npm install @instacks/peak` and import `@instacks/peak` (minified) or
|
|
|
14
14
|
`@instacks/peak/unminified`.
|
|
15
15
|
|
|
16
16
|
**Documentation:** <https://instacks.github.io/peak/>, with live examples of every component, a
|
|
17
|
-
token reference
|
|
17
|
+
token reference, a customizer that writes your theme's CSS, and
|
|
18
|
+
[example pages](https://instacks.github.io/peak/examples.html) (a landing page, an admin
|
|
19
|
+
dashboard, a blog and a shop) built with Peak's classes alone. Build it locally with
|
|
18
20
|
`npm run build && npm run docs` (output in `_site/`, `npm run docs:serve` to browse it).
|
|
19
21
|
|
|
20
22
|
### Scoped build
|
package/dist/peak.css
CHANGED
|
@@ -3454,6 +3454,11 @@
|
|
|
3454
3454
|
font-size: .75em;
|
|
3455
3455
|
}
|
|
3456
3456
|
|
|
3457
|
+
:where(img[width][height]) {
|
|
3458
|
+
block-size: auto;
|
|
3459
|
+
max-inline-size: 100%;
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3457
3462
|
.peak-prose {
|
|
3458
3463
|
max-inline-size: var(--peak-measure);
|
|
3459
3464
|
text-wrap: pretty;
|
|
@@ -3508,6 +3513,15 @@
|
|
|
3508
3513
|
:scope:has(.nav-sticky) [id] {
|
|
3509
3514
|
scroll-margin-block-start: 5rem;
|
|
3510
3515
|
}
|
|
3516
|
+
|
|
3517
|
+
meter {
|
|
3518
|
+
inline-size: 100%;
|
|
3519
|
+
margin-block-end: calc(var(--pico-spacing) * .5);
|
|
3520
|
+
}
|
|
3521
|
+
|
|
3522
|
+
:is([role="group"], [role="search"]):has( > :is(input, select, textarea)) > :is(button, [role="button"]) {
|
|
3523
|
+
flex-shrink: 0;
|
|
3524
|
+
}
|
|
3511
3525
|
}
|
|
3512
3526
|
|
|
3513
3527
|
@layer peak.layout {
|
|
@@ -3581,6 +3595,7 @@
|
|
|
3581
3595
|
}
|
|
3582
3596
|
|
|
3583
3597
|
.site-footer, :scope.site-footer {
|
|
3598
|
+
--pico-color: var(--pico-muted-color);
|
|
3584
3599
|
padding-block: calc(var(--pico-spacing) * 2);
|
|
3585
3600
|
border-block-start: var(--pico-border-width) solid var(--pico-muted-border-color);
|
|
3586
3601
|
color: var(--pico-muted-color);
|
|
@@ -3643,15 +3658,18 @@
|
|
|
3643
3658
|
:is(.site-header, :scope.site-header):is([data-nav-style="surface"], [data-nav-style="bordered"]) {
|
|
3644
3659
|
--_peak-nav-bg: var(--peak-bg);
|
|
3645
3660
|
background-color: var(--_peak-nav-bg);
|
|
3646
|
-
|
|
3647
|
-
0
|
|
3648
|
-
clip-path: inset(0 -100vmax calc(var(--pico-border-width) * -1));
|
|
3661
|
+
border-image: linear-gradient(var(--_peak-nav-bg) calc(100% - var(--pico-border-width)), var(--pico-muted-border-color) 0)
|
|
3662
|
+
fill 0 / 0 / 0 100vmax var(--pico-border-width);
|
|
3649
3663
|
}
|
|
3650
3664
|
|
|
3651
3665
|
:is(.site-header, :scope.site-header)[data-nav-style="surface"] {
|
|
3652
3666
|
--_peak-nav-bg: var(--peak-surface);
|
|
3653
3667
|
}
|
|
3654
3668
|
|
|
3669
|
+
.site-footer-nav {
|
|
3670
|
+
display: block;
|
|
3671
|
+
}
|
|
3672
|
+
|
|
3655
3673
|
.site-footer-nav ul {
|
|
3656
3674
|
margin: 0 0 calc(var(--pico-spacing) * .75);
|
|
3657
3675
|
flex-wrap: wrap;
|
|
@@ -3661,6 +3679,11 @@
|
|
|
3661
3679
|
display: flex;
|
|
3662
3680
|
}
|
|
3663
3681
|
|
|
3682
|
+
.site-footer-nav.stacked ul {
|
|
3683
|
+
flex-direction: column;
|
|
3684
|
+
align-items: start;
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3664
3687
|
.site-footer-nav li {
|
|
3665
3688
|
margin: 0;
|
|
3666
3689
|
padding: 0;
|
|
@@ -3671,7 +3694,7 @@
|
|
|
3671
3694
|
}
|
|
3672
3695
|
|
|
3673
3696
|
.site-footer-nav a[aria-current="page"] {
|
|
3674
|
-
color: var(--
|
|
3697
|
+
color: var(--peak-text);
|
|
3675
3698
|
}
|
|
3676
3699
|
|
|
3677
3700
|
.site-footer-text {
|
|
@@ -3742,8 +3765,7 @@
|
|
|
3742
3765
|
--_peak-band-bg: var(--peak-surface-sunken);
|
|
3743
3766
|
padding-block: var(--peak-section-spacing, calc(var(--pico-block-spacing-vertical) * 2));
|
|
3744
3767
|
background-color: var(--_peak-band-bg);
|
|
3745
|
-
|
|
3746
|
-
clip-path: inset(0 -100vmax);
|
|
3768
|
+
border-image: linear-gradient(var(--_peak-band-bg), var(--_peak-band-bg)) fill 0 / 0 / 0 100vmax;
|
|
3747
3769
|
}
|
|
3748
3770
|
|
|
3749
3771
|
.peak-band.surface {
|
|
@@ -3756,14 +3778,32 @@
|
|
|
3756
3778
|
|
|
3757
3779
|
.peak-band.primary {
|
|
3758
3780
|
--_peak-band-bg: var(--peak-primary-fill);
|
|
3759
|
-
--
|
|
3760
|
-
color: var(--peak-on-primary);
|
|
3781
|
+
--_peak-band-fg: var(--peak-on-primary);
|
|
3761
3782
|
}
|
|
3762
3783
|
|
|
3763
3784
|
.peak-band.contrast {
|
|
3764
3785
|
--_peak-band-bg: var(--peak-contrast);
|
|
3765
|
-
--
|
|
3766
|
-
|
|
3786
|
+
--_peak-band-fg: var(--peak-on-contrast);
|
|
3787
|
+
}
|
|
3788
|
+
|
|
3789
|
+
.peak-band:is(.primary, .contrast) {
|
|
3790
|
+
--pico-color: var(--_peak-band-fg);
|
|
3791
|
+
--pico-h1-color: var(--_peak-band-fg);
|
|
3792
|
+
--pico-h2-color: var(--_peak-band-fg);
|
|
3793
|
+
--pico-h3-color: var(--_peak-band-fg);
|
|
3794
|
+
--pico-h4-color: var(--_peak-band-fg);
|
|
3795
|
+
--pico-h5-color: var(--_peak-band-fg);
|
|
3796
|
+
--pico-h6-color: var(--_peak-band-fg);
|
|
3797
|
+
--peak-heading: var(--_peak-band-fg);
|
|
3798
|
+
--peak-muted: var(--_peak-band-fg);
|
|
3799
|
+
--pico-muted-color: var(--_peak-band-fg);
|
|
3800
|
+
--peak-primary: var(--_peak-band-fg);
|
|
3801
|
+
--pico-primary: var(--_peak-band-fg);
|
|
3802
|
+
--pico-primary-hover: var(--_peak-band-fg);
|
|
3803
|
+
--pico-primary-underline: color-mix(in srgb, var(--_peak-band-fg) 60%, transparent);
|
|
3804
|
+
--pico-primary-hover-underline: var(--_peak-band-fg);
|
|
3805
|
+
--pico-primary-focus: var(--_peak-band-fg);
|
|
3806
|
+
color: var(--_peak-band-fg);
|
|
3767
3807
|
}
|
|
3768
3808
|
|
|
3769
3809
|
.peak-hero {
|
|
@@ -3835,10 +3875,22 @@
|
|
|
3835
3875
|
margin-block-end: var(--pico-typography-spacing-vertical);
|
|
3836
3876
|
}
|
|
3837
3877
|
|
|
3878
|
+
:where(.peak-grid-auto, .peak-grid, .peak-switcher):where(:not(:last-child)) {
|
|
3879
|
+
margin-block-end: var(--pico-block-spacing-vertical);
|
|
3880
|
+
}
|
|
3881
|
+
|
|
3838
3882
|
.peak-cluster > * {
|
|
3839
3883
|
margin-block: 0;
|
|
3840
3884
|
}
|
|
3841
3885
|
|
|
3886
|
+
.peak-cluster > :is(input:not([type="checkbox"], [type="radio"], [type="range"]), select, textarea) {
|
|
3887
|
+
field-sizing: content;
|
|
3888
|
+
flex: none;
|
|
3889
|
+
inline-size: auto;
|
|
3890
|
+
min-inline-size: 5rem;
|
|
3891
|
+
max-inline-size: 100%;
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3842
3894
|
.peak-grid {
|
|
3843
3895
|
--_peak-gap: var(--peak-gap, var(--pico-grid-column-gap));
|
|
3844
3896
|
grid-template-columns: repeat(auto-fill,
|
|
@@ -3875,6 +3927,7 @@
|
|
|
3875
3927
|
gap: var(--peak-gap, calc(var(--pico-spacing) * 2));
|
|
3876
3928
|
flex-wrap: wrap;
|
|
3877
3929
|
display: flex;
|
|
3930
|
+
container: peak-sidebar / inline-size;
|
|
3878
3931
|
}
|
|
3879
3932
|
|
|
3880
3933
|
.peak-with-sidebar > :is(aside, .peak-sidebar), .peak-with-sidebar > .out:has( > .peak-sidebar) {
|
|
@@ -3886,10 +3939,12 @@
|
|
|
3886
3939
|
min-inline-size: 60%;
|
|
3887
3940
|
}
|
|
3888
3941
|
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3942
|
+
@container peak-sidebar (width >= 45rem) {
|
|
3943
|
+
.peak-with-sidebar.sticky > :is(aside, .peak-sidebar), .peak-with-sidebar.sticky > .out:has( > .peak-sidebar) {
|
|
3944
|
+
align-self: start;
|
|
3945
|
+
position: sticky;
|
|
3946
|
+
inset-block-start: var(--peak-sticky-offset, var(--pico-spacing));
|
|
3947
|
+
}
|
|
3893
3948
|
}
|
|
3894
3949
|
|
|
3895
3950
|
.peak-media {
|
|
@@ -3907,7 +3962,7 @@
|
|
|
3907
3962
|
}
|
|
3908
3963
|
|
|
3909
3964
|
.peak-media > :last-child {
|
|
3910
|
-
flex: 16rem;
|
|
3965
|
+
flex: 1 1 var(--peak-media-min, 16rem);
|
|
3911
3966
|
min-inline-size: 0;
|
|
3912
3967
|
}
|
|
3913
3968
|
|
|
@@ -3928,6 +3983,7 @@
|
|
|
3928
3983
|
.peak-switcher > * {
|
|
3929
3984
|
flex-grow: 1;
|
|
3930
3985
|
flex-basis: calc((var(--peak-switch-at, 40rem) - 100%) * 999);
|
|
3986
|
+
min-inline-size: 0;
|
|
3931
3987
|
margin-block: 0;
|
|
3932
3988
|
}
|
|
3933
3989
|
|
|
@@ -3957,6 +4013,12 @@
|
|
|
3957
4013
|
padding-block: var(--peak-section-spacing, calc(var(--pico-block-spacing-vertical) * 2)) !important;
|
|
3958
4014
|
}
|
|
3959
4015
|
|
|
4016
|
+
@media screen and (forced-colors: none) {
|
|
4017
|
+
.stacks_in.peak-band {
|
|
4018
|
+
border-image: linear-gradient(var(--_peak-band-bg), var(--_peak-band-bg)) fill 0 / 0 / 0 100vmax !important;
|
|
4019
|
+
}
|
|
4020
|
+
}
|
|
4021
|
+
|
|
3960
4022
|
.stacks_in.peak-hero {
|
|
3961
4023
|
padding-block: calc(var(--peak-spacing) * 4) calc(var(--peak-spacing) * 2.5) !important;
|
|
3962
4024
|
}
|
|
@@ -4009,6 +4071,54 @@
|
|
|
4009
4071
|
.stacks_in.peak-switcher, .stacks_in.peak-switcher > .out > .stacks_in {
|
|
4010
4072
|
overflow: visible !important;
|
|
4011
4073
|
}
|
|
4074
|
+
|
|
4075
|
+
@media (width < 576px) {
|
|
4076
|
+
.stacks_in.peak-hide-below-sm {
|
|
4077
|
+
display: none !important;
|
|
4078
|
+
}
|
|
4079
|
+
}
|
|
4080
|
+
|
|
4081
|
+
@media (width >= 576px) {
|
|
4082
|
+
.stacks_in.peak-hide-from-sm {
|
|
4083
|
+
display: none !important;
|
|
4084
|
+
}
|
|
4085
|
+
}
|
|
4086
|
+
|
|
4087
|
+
@media (width < 768px) {
|
|
4088
|
+
.stacks_in.peak-hide-below-md {
|
|
4089
|
+
display: none !important;
|
|
4090
|
+
}
|
|
4091
|
+
}
|
|
4092
|
+
|
|
4093
|
+
@media (width >= 768px) {
|
|
4094
|
+
.stacks_in.peak-hide-from-md {
|
|
4095
|
+
display: none !important;
|
|
4096
|
+
}
|
|
4097
|
+
}
|
|
4098
|
+
|
|
4099
|
+
@media (width < 1024px) {
|
|
4100
|
+
.stacks_in.peak-hide-below-lg {
|
|
4101
|
+
display: none !important;
|
|
4102
|
+
}
|
|
4103
|
+
}
|
|
4104
|
+
|
|
4105
|
+
@media (width >= 1024px) {
|
|
4106
|
+
.stacks_in.peak-hide-from-lg {
|
|
4107
|
+
display: none !important;
|
|
4108
|
+
}
|
|
4109
|
+
}
|
|
4110
|
+
|
|
4111
|
+
@media (width < 1280px) {
|
|
4112
|
+
.stacks_in.peak-hide-below-xl {
|
|
4113
|
+
display: none !important;
|
|
4114
|
+
}
|
|
4115
|
+
}
|
|
4116
|
+
|
|
4117
|
+
@media (width >= 1280px) {
|
|
4118
|
+
.stacks_in.peak-hide-from-xl {
|
|
4119
|
+
display: none !important;
|
|
4120
|
+
}
|
|
4121
|
+
}
|
|
4012
4122
|
}
|
|
4013
4123
|
|
|
4014
4124
|
@layer peak.components {
|
|
@@ -4044,7 +4154,7 @@
|
|
|
4044
4154
|
position-try-fallbacks: flip-block,
|
|
4045
4155
|
flip-inline,
|
|
4046
4156
|
flip-block flip-inline;
|
|
4047
|
-
position-visibility:
|
|
4157
|
+
position-visibility: anchor-visible;
|
|
4048
4158
|
overflow-y: auto;
|
|
4049
4159
|
}
|
|
4050
4160
|
|
|
@@ -4053,7 +4163,7 @@
|
|
|
4053
4163
|
position-try-fallbacks: flip-block,
|
|
4054
4164
|
flip-inline,
|
|
4055
4165
|
flip-block flip-inline;
|
|
4056
|
-
position-visibility:
|
|
4166
|
+
position-visibility: anchor-visible;
|
|
4057
4167
|
margin: 0;
|
|
4058
4168
|
margin-block-start: var(--pico-outline-width);
|
|
4059
4169
|
inset: auto;
|
|
@@ -4221,11 +4331,11 @@
|
|
|
4221
4331
|
margin-block-start: auto;
|
|
4222
4332
|
}
|
|
4223
4333
|
|
|
4224
|
-
:is(article, .peak-card) > :is(h2, h3, h4, h5, h6) {
|
|
4334
|
+
:is(article:not(.peak-prose), .peak-card) > :is(h2, h3, h4, h5, h6) {
|
|
4225
4335
|
margin-block-end: calc(var(--pico-typography-spacing-vertical) * .5);
|
|
4226
4336
|
}
|
|
4227
4337
|
|
|
4228
|
-
:is(article, .peak-card) > :is(img, picture, figure):first-child {
|
|
4338
|
+
:is(article:not(.peak-prose), .peak-card) > :is(img, picture, figure):first-child {
|
|
4229
4339
|
inline-size: calc(100% + var(--pico-block-spacing-horizontal) * 2);
|
|
4230
4340
|
block-size: auto;
|
|
4231
4341
|
max-inline-size: none;
|
|
@@ -4237,6 +4347,29 @@
|
|
|
4237
4347
|
overflow: hidden;
|
|
4238
4348
|
}
|
|
4239
4349
|
|
|
4350
|
+
article.peak-prose {
|
|
4351
|
+
box-shadow: none;
|
|
4352
|
+
background: none;
|
|
4353
|
+
border-radius: 0;
|
|
4354
|
+
padding: 0;
|
|
4355
|
+
}
|
|
4356
|
+
|
|
4357
|
+
article.peak-prose > :is(header, footer) {
|
|
4358
|
+
background: none;
|
|
4359
|
+
border: 0;
|
|
4360
|
+
border-radius: 0;
|
|
4361
|
+
margin-inline: 0;
|
|
4362
|
+
padding: 0;
|
|
4363
|
+
}
|
|
4364
|
+
|
|
4365
|
+
article.peak-prose > header {
|
|
4366
|
+
margin-block: 0 var(--pico-block-spacing-vertical);
|
|
4367
|
+
}
|
|
4368
|
+
|
|
4369
|
+
article.peak-prose > footer {
|
|
4370
|
+
margin-block: var(--pico-block-spacing-vertical) 0;
|
|
4371
|
+
}
|
|
4372
|
+
|
|
4240
4373
|
.peak-card.outline {
|
|
4241
4374
|
box-shadow: 0 0 0 var(--pico-border-width) var(--pico-card-border-color);
|
|
4242
4375
|
}
|
|
@@ -4246,7 +4379,12 @@
|
|
|
4246
4379
|
box-shadow: none;
|
|
4247
4380
|
}
|
|
4248
4381
|
|
|
4249
|
-
|
|
4382
|
+
.peak-card.featured {
|
|
4383
|
+
box-shadow: 0 0 0 calc(var(--pico-border-width) * 2) var(--peak-primary),
|
|
4384
|
+
var(--pico-card-box-shadow);
|
|
4385
|
+
}
|
|
4386
|
+
|
|
4387
|
+
:is(article:not(.peak-prose), .peak-card):has(.peak-card-link) {
|
|
4250
4388
|
transition: transform var(--pico-transition),
|
|
4251
4389
|
box-shadow var(--pico-transition);
|
|
4252
4390
|
position: relative;
|
|
@@ -4259,16 +4397,16 @@
|
|
|
4259
4397
|
inset: 0;
|
|
4260
4398
|
}
|
|
4261
4399
|
|
|
4262
|
-
:is(article, .peak-card):has(.peak-card-link) :is(a, button, input, select, textarea, summary, label):not(.peak-card-link) {
|
|
4400
|
+
:is(article:not(.peak-prose), .peak-card):has(.peak-card-link) :is(a, button, input, select, textarea, summary, label):not(.peak-card-link) {
|
|
4263
4401
|
z-index: 1;
|
|
4264
4402
|
position: relative;
|
|
4265
4403
|
}
|
|
4266
4404
|
|
|
4267
|
-
:is(article, .peak-card):has(.peak-card-link):hover {
|
|
4405
|
+
:is(article:not(.peak-prose), .peak-card):has(.peak-card-link):hover {
|
|
4268
4406
|
transform: translateY(-2px);
|
|
4269
4407
|
}
|
|
4270
4408
|
|
|
4271
|
-
:is(article, .peak-card):has(.peak-card-link:focus-visible) {
|
|
4409
|
+
:is(article:not(.peak-prose), .peak-card):has(.peak-card-link:focus-visible) {
|
|
4272
4410
|
outline: var(--pico-outline-width) solid var(--pico-primary-focus);
|
|
4273
4411
|
outline-offset: 2px;
|
|
4274
4412
|
}
|
|
@@ -4279,7 +4417,7 @@
|
|
|
4279
4417
|
}
|
|
4280
4418
|
|
|
4281
4419
|
@media (prefers-reduced-motion: reduce) {
|
|
4282
|
-
:is(article, .peak-card):has(.peak-card-link):hover {
|
|
4420
|
+
:is(article:not(.peak-prose), .peak-card):has(.peak-card-link):hover {
|
|
4283
4421
|
transform: none;
|
|
4284
4422
|
}
|
|
4285
4423
|
}
|
|
@@ -4318,7 +4456,7 @@
|
|
|
4318
4456
|
--_peak-badge-bg: var(--peak-primary-tint);
|
|
4319
4457
|
--_peak-badge-solid-fg: var(--peak-on-primary);
|
|
4320
4458
|
--_peak-badge-solid-bg: var(--peak-primary-fill);
|
|
4321
|
-
overflow-wrap:
|
|
4459
|
+
overflow-wrap: break-word;
|
|
4322
4460
|
background-color: var(--_peak-badge-bg);
|
|
4323
4461
|
max-inline-size: 100%;
|
|
4324
4462
|
color: var(--_peak-badge-fg);
|
|
@@ -4582,7 +4720,7 @@
|
|
|
4582
4720
|
overflow: hidden;
|
|
4583
4721
|
}
|
|
4584
4722
|
|
|
4585
|
-
.peak-chip:has( > input:checked) {
|
|
4723
|
+
.peak-chip:has( > input:checked), a.peak-chip[aria-current]:not([aria-current="false"]) {
|
|
4586
4724
|
border-color: var(--peak-primary);
|
|
4587
4725
|
background-color: var(--peak-primary-tint);
|
|
4588
4726
|
color: var(--peak-primary-hover);
|
|
@@ -4728,6 +4866,10 @@
|
|
|
4728
4866
|
max-inline-size: min(64rem, 100%);
|
|
4729
4867
|
}
|
|
4730
4868
|
|
|
4869
|
+
dialog > article > footer button[type="submit"] {
|
|
4870
|
+
inline-size: auto;
|
|
4871
|
+
}
|
|
4872
|
+
|
|
4731
4873
|
dialog.peak-wide:modal[closedby] {
|
|
4732
4874
|
inline-size: min(64rem, 100% - var(--pico-spacing) * 2);
|
|
4733
4875
|
}
|
|
@@ -4961,6 +5103,31 @@
|
|
|
4961
5103
|
margin-inline-start: calc(var(--_peak-avatar-size) * -.25);
|
|
4962
5104
|
}
|
|
4963
5105
|
|
|
5106
|
+
.peak-rating {
|
|
5107
|
+
--_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)));
|
|
5108
|
+
letter-spacing: .1em;
|
|
5109
|
+
white-space: nowrap;
|
|
5110
|
+
vertical-align: -.05em;
|
|
5111
|
+
line-height: 1;
|
|
5112
|
+
display: inline-block;
|
|
5113
|
+
}
|
|
5114
|
+
|
|
5115
|
+
.peak-rating:before {
|
|
5116
|
+
content: "★★★★★";
|
|
5117
|
+
background: linear-gradient(to right,
|
|
5118
|
+
var(--_peak-rating-fill) calc(clamp(0, var(--peak-rating, 0), 5) / 5 * 100%),
|
|
5119
|
+
var(--peak-border-strong) 0);
|
|
5120
|
+
color: #0000;
|
|
5121
|
+
background-clip: text;
|
|
5122
|
+
}
|
|
5123
|
+
|
|
5124
|
+
.peak-rating:dir(rtl):before {
|
|
5125
|
+
background: linear-gradient(to left,
|
|
5126
|
+
var(--_peak-rating-fill) calc(clamp(0, var(--peak-rating, 0), 5) / 5 * 100%),
|
|
5127
|
+
var(--peak-border-strong) 0);
|
|
5128
|
+
background-clip: text;
|
|
5129
|
+
}
|
|
5130
|
+
|
|
4964
5131
|
.site-nav .site-menu, .site-nav .site-menu-popover[popover] {
|
|
4965
5132
|
display: contents;
|
|
4966
5133
|
}
|
|
@@ -5033,6 +5200,10 @@
|
|
|
5033
5200
|
margin: 0;
|
|
5034
5201
|
}
|
|
5035
5202
|
|
|
5203
|
+
.site-nav .site-menu {
|
|
5204
|
+
align-self: center;
|
|
5205
|
+
}
|
|
5206
|
+
|
|
5036
5207
|
.site-nav .site-menu-popover:popover-open > ul {
|
|
5037
5208
|
flex-direction: column;
|
|
5038
5209
|
align-items: stretch;
|
|
@@ -5097,6 +5268,19 @@
|
|
|
5097
5268
|
font-weight: 600;
|
|
5098
5269
|
}
|
|
5099
5270
|
|
|
5271
|
+
.peak-sidebar-nav > :is(h2, h3, h4, h5, h6, p) {
|
|
5272
|
+
margin-block: calc(var(--pico-spacing) * 1.5) calc(var(--pico-spacing) * .375);
|
|
5273
|
+
color: var(--pico-h6-color);
|
|
5274
|
+
letter-spacing: .06em;
|
|
5275
|
+
text-transform: uppercase;
|
|
5276
|
+
font-size: .75rem;
|
|
5277
|
+
font-weight: 600;
|
|
5278
|
+
}
|
|
5279
|
+
|
|
5280
|
+
.peak-sidebar-nav > :is(h2, h3, h4, h5, h6, p):first-child {
|
|
5281
|
+
margin-block-start: 0;
|
|
5282
|
+
}
|
|
5283
|
+
|
|
5100
5284
|
.peak-sidebar-nav ul ul a {
|
|
5101
5285
|
padding-inline-start: calc(var(--pico-nav-link-spacing-horizontal) * 2.5);
|
|
5102
5286
|
}
|
|
@@ -5301,12 +5485,61 @@
|
|
|
5301
5485
|
margin-block-end: 0;
|
|
5302
5486
|
}
|
|
5303
5487
|
|
|
5488
|
+
@media (width < 576px) {
|
|
5489
|
+
.peak-hide-below-sm {
|
|
5490
|
+
display: none;
|
|
5491
|
+
}
|
|
5492
|
+
}
|
|
5493
|
+
|
|
5494
|
+
@media (width >= 576px) {
|
|
5495
|
+
.peak-hide-from-sm {
|
|
5496
|
+
display: none;
|
|
5497
|
+
}
|
|
5498
|
+
}
|
|
5499
|
+
|
|
5500
|
+
@media (width < 768px) {
|
|
5501
|
+
.peak-hide-below-md {
|
|
5502
|
+
display: none;
|
|
5503
|
+
}
|
|
5504
|
+
}
|
|
5505
|
+
|
|
5506
|
+
@media (width >= 768px) {
|
|
5507
|
+
.peak-hide-from-md {
|
|
5508
|
+
display: none;
|
|
5509
|
+
}
|
|
5510
|
+
}
|
|
5511
|
+
|
|
5512
|
+
@media (width < 1024px) {
|
|
5513
|
+
.peak-hide-below-lg {
|
|
5514
|
+
display: none;
|
|
5515
|
+
}
|
|
5516
|
+
}
|
|
5517
|
+
|
|
5518
|
+
@media (width >= 1024px) {
|
|
5519
|
+
.peak-hide-from-lg {
|
|
5520
|
+
display: none;
|
|
5521
|
+
}
|
|
5522
|
+
}
|
|
5523
|
+
|
|
5524
|
+
@media (width < 1280px) {
|
|
5525
|
+
.peak-hide-below-xl {
|
|
5526
|
+
display: none;
|
|
5527
|
+
}
|
|
5528
|
+
}
|
|
5529
|
+
|
|
5530
|
+
@media (width >= 1280px) {
|
|
5531
|
+
.peak-hide-from-xl {
|
|
5532
|
+
display: none;
|
|
5533
|
+
}
|
|
5534
|
+
}
|
|
5535
|
+
|
|
5304
5536
|
.peak-visually-hidden:not(:focus-within) {
|
|
5305
5537
|
clip-path: inset(50%);
|
|
5306
5538
|
white-space: nowrap;
|
|
5307
5539
|
block-size: 1px;
|
|
5308
5540
|
inline-size: 1px;
|
|
5309
5541
|
position: absolute;
|
|
5542
|
+
inset-inline-start: 0;
|
|
5310
5543
|
overflow: hidden;
|
|
5311
5544
|
}
|
|
5312
5545
|
|
|
@@ -5315,7 +5548,7 @@
|
|
|
5315
5548
|
}
|
|
5316
5549
|
|
|
5317
5550
|
@media (forced-colors: active) {
|
|
5318
|
-
:is(article, .peak-card, [popover], dialog > article, .peak-badge, .peak-avatar) {
|
|
5551
|
+
:is(article:not(.peak-prose), .peak-card, [popover], dialog > article, .peak-badge, .peak-avatar) {
|
|
5319
5552
|
border: 1px solid canvastext;
|
|
5320
5553
|
}
|
|
5321
5554
|
|
|
@@ -5344,6 +5577,24 @@
|
|
|
5344
5577
|
.peak-badge.dot:before {
|
|
5345
5578
|
background-color: canvastext;
|
|
5346
5579
|
}
|
|
5580
|
+
|
|
5581
|
+
.peak-card.featured {
|
|
5582
|
+
border: 2px solid highlight;
|
|
5583
|
+
}
|
|
5584
|
+
|
|
5585
|
+
.peak-rating {
|
|
5586
|
+
--_peak-rating-fill: CanvasText;
|
|
5587
|
+
--peak-border-strong: GrayText;
|
|
5588
|
+
forced-color-adjust: none;
|
|
5589
|
+
}
|
|
5590
|
+
|
|
5591
|
+
.peak-band, :is(.site-header, :scope.site-header):is([data-nav-style="surface"], [data-nav-style="bordered"]) {
|
|
5592
|
+
border-image-source: none;
|
|
5593
|
+
}
|
|
5594
|
+
|
|
5595
|
+
:is(.site-header, :scope.site-header):is([data-nav-style="surface"], [data-nav-style="bordered"]) {
|
|
5596
|
+
border-block-end: 1px solid canvastext;
|
|
5597
|
+
}
|
|
5347
5598
|
}
|
|
5348
5599
|
|
|
5349
5600
|
@media print {
|
|
@@ -5355,18 +5606,17 @@
|
|
|
5355
5606
|
display: none;
|
|
5356
5607
|
}
|
|
5357
5608
|
|
|
5358
|
-
:is(article, .peak-card, .peak-callout, .peak-toast) {
|
|
5609
|
+
:is(article:not(.peak-prose), .peak-card, .peak-callout, .peak-toast) {
|
|
5359
5610
|
box-shadow: none;
|
|
5360
5611
|
border: 1px solid var(--peak-border);
|
|
5361
5612
|
}
|
|
5362
5613
|
|
|
5363
5614
|
.peak-band {
|
|
5364
|
-
box-shadow: none;
|
|
5365
|
-
clip-path: none;
|
|
5366
5615
|
background: none;
|
|
5616
|
+
border-image-source: none;
|
|
5367
5617
|
}
|
|
5368
5618
|
|
|
5369
|
-
:is(article, .peak-card, .peak-callout, figure, pre, blockquote, tr, img) {
|
|
5619
|
+
:is(article:not(.peak-prose), .peak-card, .peak-callout, figure, pre, blockquote, tr, img) {
|
|
5370
5620
|
break-inside: avoid;
|
|
5371
5621
|
}
|
|
5372
5622
|
|
|
@@ -5374,6 +5624,11 @@
|
|
|
5374
5624
|
break-after: avoid;
|
|
5375
5625
|
}
|
|
5376
5626
|
|
|
5627
|
+
.peak-rating:before {
|
|
5628
|
+
-webkit-print-color-adjust: exact;
|
|
5629
|
+
print-color-adjust: exact;
|
|
5630
|
+
}
|
|
5631
|
+
|
|
5377
5632
|
.peak-prose a[href^="http"]:after {
|
|
5378
5633
|
content: " (" attr(href) ")";
|
|
5379
5634
|
color: var(--peak-muted);
|