diff --git a/Delvehold/index.md b/Delvehold/index.md index cc441c2..0440e45 100644 --- a/Delvehold/index.md +++ b/Delvehold/index.md @@ -11,6 +11,8 @@ description: One persistent world, experienced from opposite sides of the contra

Dungeons need to be delved. The danger is not an obstacle around the resource; it is part of the old metabolic bargain that lets a core spend, learn, shed, and renew itself.

+ +

HOLD

Build the warm machine waiting above.

diff --git a/site/quartz/styles/custom.scss b/site/quartz/styles/custom.scss index 7c06ebd..54faaa4 100644 --- a/site/quartz/styles/custom.scss +++ b/site/quartz/styles/custom.scss @@ -95,6 +95,7 @@ article > h3 { body[data-slug="index"] { background: color-mix(in srgb, var(--delve-green) 8%, #050505); + timeline-scope: --delvehold-mode-shift; &::before { content: ""; @@ -105,8 +106,8 @@ body[data-slug="index"] { background: color-mix(in srgb, var(--hold-purple) 9%, #050505); clip-path: polygon(120% 0, 100% 0, 100% 100%, 100% 100%); animation: delvehold-diagonal-wipe linear both; - animation-timeline: scroll(root block); - animation-range: 8% 92%; + animation-timeline: --delvehold-mode-shift; + animation-range: entry 0% exit 100%; } &::after { @@ -122,8 +123,8 @@ body[data-slug="index"] { transform: translateX(130vw) rotate(11deg); transform-origin: center; animation: delvehold-wipe-edge linear both; - animation-timeline: scroll(root block); - animation-range: 8% 92%; + animation-timeline: --delvehold-mode-shift; + animation-range: entry 0% exit 100%; } #quartz-root { @@ -146,17 +147,24 @@ body[data-slug="index"] { .delvehold-wordmark-delve { animation: delvehold-delve-weight linear both; - animation-timeline: scroll(root block); - animation-range: 8% 92%; + animation-timeline: --delvehold-mode-shift; + animation-range: entry 0% exit 100%; } .delvehold-wordmark-hold { animation: delvehold-hold-weight linear both; - animation-timeline: scroll(root block); - animation-range: 8% 92%; + animation-timeline: --delvehold-mode-shift; + animation-range: entry 0% exit 100%; } } +.delvehold-mode-boundary { + height: 1px; + margin-top: -1px; + pointer-events: none; + view-timeline: --delvehold-mode-shift block; +} + .delvehold-landing { color: #fff; }