From 49712a715145037d6210e42483a042083c1cefcc Mon Sep 17 00:00:00 2001 From: KoalaDev <6156589+Shik3i@users.noreply.github.com> Date: Fri, 3 Jul 2026 11:20:28 +0200 Subject: [PATCH] website: Bring lower browser mockup to foreground on hover --- website/style.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/website/style.css b/website/style.css index 34c926e..7a7aa0f 100644 --- a/website/style.css +++ b/website/style.css @@ -3150,6 +3150,12 @@ header[id] { z-index: 3; } +.demo-tab-a:hover { + z-index: 4; + transform: rotate(1.2deg) scale(1.02); + box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 0 0 20px rgba(99, 102, 241, 0.2); +} + /* Card B = the friend's window, lower left, tucked behind */ .demo-tab-b { top: 142px; @@ -3160,15 +3166,33 @@ header[id] { z-index: 2; } +.demo-tab-b:hover { + z-index: 4; + transform: rotate(-1.6deg) scale(1.02); + box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 0 0 20px rgba(99, 102, 241, 0.2); +} + /* When the popup slides in from the right edge, the tabs step aside */ .hero-demo-scene.popup-open .demo-tab-a { transform: rotate(1deg) translate(-48%, 2%) scale(0.88); } +.hero-demo-scene.popup-open .demo-tab-a:hover { + z-index: 4; + transform: rotate(1deg) translate(-48%, 2%) scale(0.92); + box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 0 0 20px rgba(99, 102, 241, 0.2); +} + .hero-demo-scene.popup-open .demo-tab-b { transform: rotate(-1.6deg) scale(0.94); } +.hero-demo-scene.popup-open .demo-tab-b:hover { + z-index: 4; + transform: rotate(-1.6deg) scale(0.98); + box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 0 0 20px rgba(99, 102, 241, 0.2); +} + .demo-tab-titlebar { display: flex; align-items: center;