@@ -30,6 +39,10 @@
min-height: 100vh;
}
+ .site-shell:not(.enhanced) :global(.programmer-reveal) {
+ pointer-events: none;
+ }
+
.site-shell:has(
:global(.programmer-reveal:is([data-phase='swapping'], [data-phase='isolated']))
) {
@@ -58,11 +71,11 @@
}
@media (min-width: 721px) and (prefers-reduced-motion: no-preference) {
- .site-content {
+ .enhanced .site-content {
transition: padding-inline-end 650ms cubic-bezier(0.22, 1, 0.36, 1);
}
- .blog-reading .site-content {
+ .enhanced.blog-reading .site-content {
animation: reading-enter 850ms ease both;
}
@@ -79,8 +92,14 @@
}
}
+ @media (min-width: 721px) {
+ .enhanced.blog-reading {
+ --scene-rail-width: max(12rem, 23vw, calc(100vw - 72rem));
+ }
+ }
+
.blog-reading {
- --scene-rail-width: max(12rem, 23vw, calc(100vw - 72rem));
+ --scene-rail-width: 0px;
}
.blog-reading .site-content {