From 8ff35abdf128582690e1f4796355b0120bfeb913 Mon Sep 17 00:00:00 2001 From: Moepchi Date: Sat, 22 Aug 2026 22:19:58 +0200 Subject: [PATCH] Refine iPhone preview frame --- web/src/landing.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/landing.css b/web/src/landing.css index 34cf522..8c2f609 100644 --- a/web/src/landing.css +++ b/web/src/landing.css @@ -63,3 +63,7 @@ /* Device-aware phone hardware */ .phone-frame{padding:7px 6px 12px;background:linear-gradient(145deg,#25323a,#050a0e 28%,#020507 72%,#18242b);border:1px solid #65808c;box-shadow:0 30px 65px #000c,0 0 36px #25caf516,inset 0 0 0 1px #ffffff0c}.phone-frame:after{content:"";position:absolute;inset:3px;border:1px solid #000;border-radius:inherit;pointer-events:none}.phone-sensor{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;height:14px}.phone-sensor span,.phone-sensor b{display:block}.phone-button{position:absolute;z-index:0;width:3px;background:linear-gradient(#70818a,#1b272d);border:1px solid #10171b;box-shadow:0 1px 2px #000}.phone-button-left{left:-4px}.phone-button-right{right:-4px}.phone-home{position:absolute;z-index:4;left:50%;bottom:4px;transform:translateX(-50%);height:3px;border-radius:99px;background:#b8c5ca80}.phone-android{border-radius:17px}.phone-android:before,.phone-android:after{border-radius:17px}.phone-android .phone-sensor span{width:7px;height:7px;border-radius:50%;background:#020405;box-shadow:inset 0 0 0 2px #142933,0 0 0 1px #000}.phone-android .phone-sensor span:after{content:"";display:block;width:2px;height:2px;margin:2px;border-radius:50%;background:#2f86a9}.phone-android .phone-sensor b{display:none}.phone-android .phone-button-left{display:none}.phone-android .phone-button-right{top:56px;height:42px;border-radius:0 3px 3px 0}.phone-android .phone-home{width:24%}.phone-android img{border-radius:10px!important}.phone-iphone{padding:7px 7px 13px;border-radius:27px;border-color:#83939b}.phone-iphone:before,.phone-iphone:after{border-radius:27px}.phone-iphone .phone-sensor{height:17px}.phone-iphone .phone-sensor span{position:relative;width:43px;height:12px;border-radius:99px;background:#010203;box-shadow:inset 0 1px 2px #000}.phone-iphone .phone-sensor span:after{content:"";position:absolute;right:5px;top:4px;width:4px;height:4px;border-radius:50%;background:#071b2b;box-shadow:inset 0 0 0 1px #173c52}.phone-iphone .phone-sensor b{display:none}.phone-iphone .phone-button-left{top:58px;height:34px;border-radius:3px 0 0 3px;box-shadow:0 42px 0 #26353d,0 72px 0 #26353d}.phone-iphone .phone-button-right{top:72px;height:48px;border-radius:0 3px 3px 0}.phone-iphone .phone-home{width:34%;background:#e1e8ebaa}.phone-iphone img{border-radius:19px!important} @media(max-width:600px){.phone-frame{padding:5px 4px 10px}.phone-sensor{height:10px}.phone-android .phone-sensor span{width:5px;height:5px}.phone-android .phone-sensor span:after{width:1px;height:1px;margin:2px}.phone-android .phone-button-right{top:40px;height:30px}.phone-iphone{padding:5px 5px 11px;border-radius:19px}.phone-iphone:before,.phone-iphone:after{border-radius:19px}.phone-iphone .phone-sensor{height:12px}.phone-iphone .phone-sensor span{width:30px;height:8px}.phone-iphone .phone-sensor span:after{right:4px;top:3px;width:3px;height:3px}.phone-iphone .phone-button-left{top:42px;height:24px;box-shadow:0 30px 0 #26353d,0 51px 0 #26353d}.phone-iphone .phone-button-right{top:50px;height:34px}.phone-iphone img{border-radius:13px!important}} + +/* Refined edge-to-edge iPhone */ +.phone-iphone{width:28%;padding:5px;background:linear-gradient(145deg,#55585b,#17191b 18%,#050607 55%,#2f3234);border:1px solid #777b7e;border-radius:24px;box-shadow:0 30px 60px #000b,0 0 0 1px #000,inset 0 0 0 1px #ffffff18}.phone-iphone:before{inset:1px;border-radius:23px;background:linear-gradient(120deg,#ffffff1f,transparent 18%,transparent 78%,#ffffff0d)}.phone-iphone:after{inset:4px;border-color:#020303;border-radius:20px}.phone-iphone .phone-sensor{position:absolute;z-index:6;top:10px;left:50%;width:auto;height:auto;transform:translateX(-50%)}.phone-iphone .phone-sensor span{width:38px;height:11px;background:#010101;box-shadow:0 1px 3px #000,inset 0 0 0 1px #151719}.phone-iphone .phone-sensor span:after{right:5px;top:4px;width:3px;height:3px;background:#0b2134}.phone-iphone .phone-button{width:2px;background:#3c3f42;border-color:#151719;box-shadow:none}.phone-iphone .phone-button-left{left:-3px;top:58px;height:27px;box-shadow:0 36px 0 #3c3f42,0 65px 0 #3c3f42}.phone-iphone .phone-button-right{right:-3px;top:74px;height:40px}.phone-iphone .phone-home{bottom:9px;width:31%;height:3px;background:#eef2f3d9;filter:drop-shadow(0 1px 1px #000)}.screens .phone-iphone img{border-radius:19px!important} +@media(max-width:600px){.phone-iphone{left:7px;width:35%;padding:4px;border-radius:18px}.phone-iphone:before{border-radius:17px}.phone-iphone:after{inset:3px;border-radius:15px}.phone-iphone .phone-sensor{top:7px}.phone-iphone .phone-sensor span{width:27px;height:8px}.phone-iphone .phone-sensor span:after{right:4px;top:3px;width:2px;height:2px}.phone-iphone .phone-button-left{top:42px;height:19px;box-shadow:0 26px 0 #3c3f42,0 47px 0 #3c3f42}.phone-iphone .phone-button-right{top:51px;height:29px}.phone-iphone .phone-home{bottom:6px;height:2px}.screens .phone-iphone img{border-radius:14px!important}}