diff --git a/star-raid/css/style.css b/star-raid/css/style.css index c3aea78..d074b6a 100644 --- a/star-raid/css/style.css +++ b/star-raid/css/style.css @@ -168,6 +168,14 @@ h1.logo{font-size:clamp(20px,5.4vw,44px);color:#fff;letter-spacing:4px;line-heig .lb-list{flex:1;min-height:100px;overflow-y:auto} .lb-empty{color:var(--dim);font-size:clamp(7px,1.3vw,9px);padding:14px 0;letter-spacing:2px} +/* ---------- 竖屏矮屏(手机):内容超屏的 overlay 改顶部对齐,防止居中溢出顶部被裁不可滚到顶 ---------- */ +@media (max-height: 760px){ + .ovl:not(#o-home):not(#o-demo){justify-content:flex-start} + .ovl:not(#o-home):not(#o-demo)::before, + .ovl:not(#o-home):not(#o-demo)::after{content:"";flex:1 0 auto;min-height:8px} + .ovl{gap:6px} +} + /* ---------- 横屏:中间竖屏显示区域(letterbox),UI 收紧 ---------- */ @media (orientation: landscape){ #wrap{position:fixed;inset:0;margin:auto;width:min(100vw,calc(100dvh * 0.75));height:auto;aspect-ratio:3/4}