|
55 | 55 | --site-atmosphere-opacity: 1; |
56 | 56 |
|
57 | 57 | /* simplified static atmosphere box */ |
58 | | - --site-atmosphere-top: clamp(4.5rem, 10svh, 8rem); |
59 | | - --site-atmosphere-box-height: clamp(14rem, 34svh, 24rem); |
60 | | - --site-atmosphere-width: 148vw; |
| 58 | + --site-atmosphere-top: clamp(4.75rem, 10.5svh, 8.25rem); |
| 59 | + --site-atmosphere-box-height: clamp(15rem, 35svh, 25rem); |
| 60 | + --site-atmosphere-width: 152vw; |
61 | 61 | } |
62 | 62 |
|
63 | 63 | * { |
@@ -106,14 +106,13 @@ body.page-home { |
106 | 106 | left: 50%; |
107 | 107 | width: 100vw; |
108 | 108 | height: var(--site-atmosphere-box-height); |
109 | | - margin-left: -50vw; |
| 109 | + transform: translateX(-50%) translateZ(0); |
| 110 | + -webkit-transform: translateX(-50%) translateZ(0); |
110 | 111 | opacity: var(--site-atmosphere-opacity); |
111 | 112 | will-change: opacity; |
112 | 113 | isolation: isolate; |
113 | 114 | pointer-events: none; |
114 | 115 | overflow: clip; |
115 | | - transform: translateZ(0); |
116 | | - -webkit-transform: translateZ(0); |
117 | 116 | backface-visibility: hidden; |
118 | 117 | background: |
119 | 118 | radial-gradient(74% 58% at 37% 30%, rgba(255, 157, 77, 0.13) 0%, rgba(255, 157, 77, 0.094) 28%, rgba(255, 157, 77, 0.03) 52%, rgba(255, 157, 77, 0) 72%), |
|
997 | 996 | } |
998 | 997 |
|
999 | 998 | .site-atmosphere__layer { |
1000 | | - --site-atmosphere-width: 170vw; |
| 999 | + --site-atmosphere-width: 174vw; |
1001 | 1000 | background: |
1002 | 1001 | radial-gradient(78% 62% at 39% 31%, rgba(255, 157, 77, 0.13) 0%, rgba(255, 157, 77, 0.094) 28%, rgba(255, 157, 77, 0.03) 52%, rgba(255, 157, 77, 0) 72%), |
1003 | 1002 | radial-gradient(72% 58% at 61% 34%, rgba(82, 104, 255, 0.12) 0%, rgba(82, 104, 255, 0.086) 28%, rgba(82, 104, 255, 0.026) 52%, rgba(82, 104, 255, 0) 72%); |
@@ -2435,9 +2434,9 @@ body.page-home #about { |
2435 | 2434 | @media (max-width: 980px) { |
2436 | 2435 | :root { |
2437 | 2436 | --page-top-offset: calc(env(safe-area-inset-top, 0px) + 5.35rem); |
2438 | | - --site-atmosphere-top: clamp(4rem, 9.5svh, 6.8rem); |
2439 | | - --site-atmosphere-box-height: clamp(12.5rem, 32svh, 20rem); |
2440 | | - --site-atmosphere-width: 156vw; |
| 2437 | + --site-atmosphere-top: clamp(4.2rem, 9.5svh, 7rem); |
| 2438 | + --site-atmosphere-box-height: clamp(13rem, 32svh, 21rem); |
| 2439 | + --site-atmosphere-width: 160vw; |
2441 | 2440 | } |
2442 | 2441 |
|
2443 | 2442 | .page-wrap { |
@@ -2492,9 +2491,9 @@ body.page-home #about { |
2492 | 2491 | @media (max-width: 980px) and (orientation: portrait) { |
2493 | 2492 | :root { |
2494 | 2493 | --page-top-offset: calc(env(safe-area-inset-top, 0px) + 8px + var(--nav-pill-height-mobile) + 14px); |
2495 | | - --site-atmosphere-top: clamp(4.6rem, 10.5svh, 7.2rem); |
2496 | | - --site-atmosphere-box-height: clamp(12rem, 31svh, 18rem); |
2497 | | - --site-atmosphere-width: 178vw; |
| 2494 | + --site-atmosphere-top: clamp(4.9rem, 11svh, 7.6rem); |
| 2495 | + --site-atmosphere-box-height: clamp(12.75rem, 30svh, 18.5rem); |
| 2496 | + --site-atmosphere-width: 182vw; |
2498 | 2497 | } |
2499 | 2498 |
|
2500 | 2499 | .nav { |
@@ -2682,9 +2681,9 @@ body.page-home #about { |
2682 | 2681 |
|
2683 | 2682 | @media (max-width: 980px) and (orientation: landscape) { |
2684 | 2683 | :root { |
2685 | | - --site-atmosphere-top: clamp(3.8rem, 8.5svh, 5.8rem); |
2686 | | - --site-atmosphere-box-height: clamp(11rem, 29svh, 16rem); |
2687 | | - --site-atmosphere-width: 154vw; |
| 2684 | + --site-atmosphere-top: clamp(3.95rem, 8.6svh, 6rem); |
| 2685 | + --site-atmosphere-box-height: clamp(11.5rem, 28svh, 16.5rem); |
| 2686 | + --site-atmosphere-width: 156vw; |
2688 | 2687 | } |
2689 | 2688 |
|
2690 | 2689 | .nav-toggle { |
@@ -2831,7 +2830,8 @@ body.page-home #about { |
2831 | 2830 | .site-atmosphere__layer { |
2832 | 2831 | animation: none !important; |
2833 | 2832 | transition: none !important; |
2834 | | - transform: none !important; |
| 2833 | + transform: translateX(-50%) !important; |
| 2834 | + -webkit-transform: translateX(-50%) !important; |
2835 | 2835 | } |
2836 | 2836 |
|
2837 | 2837 | .stack-loading-overlay { |
|
0 commit comments