Hold the three-band hero on 1280x720 as well
- Planet floors lowered (250 at normal, 230 on short screens) and the <=880 formula moved to (100vh - 530) so 768-height screens give the planet 306 px. - A <=760-height block buys the last 15 px from paddings and gaps only: hero 8/6, row gap 12, band 9/18, card bottom 8. Type sizes stay untouched. - Result: 0 px first-screen overflow at 1920x1080, 1600x1000, 1536x864, 1440x900, 1366x768 and 1280x720; 820x1180 stays at 0. - 900-1024 width still overflows (116 px at 1024x768): with the band on two columns and both cards open the first screen cannot hold. Documented in DESIGN.md as the width limit; the layout holds from 1100 px up.
This commit is contained in:
1 parent
446ed39da8
commit
e306d2a97e
3 files changed
+20
-6
No files matched your search
+2
-2
@@ -1677,9 +1677,9 @@ sticky-класс `.is-open` вешался на любой клик, а мыш
|
||||
|
||||
```css
|
||||
/* ≥768 по ширине */
|
||||
.planet{max-width:clamp(300px,calc((100vh - 526px) * 1.286),520px)}
|
||||
.planet{max-width:clamp(250px,calc((100vh - 526px) * 1.286),520px)}
|
||||
/* ≤880 по высоте */
|
||||
.planet{max-width:clamp(300px,calc((100vh - 512px) * 1.286),520px)}
|
||||
.planet{max-width:clamp(230px,calc((100vh - 530px) * 1.286),520px)}
|
||||
```
|
||||
|
||||
`520` — прежний потолок, `300` — пол: ниже него планета перестаёт читаться как арт. На 1440×900 формула даёт 480 px (потолок не достигается: три раскрытые полосы стоят дороже прежних двух строк).
|
||||
|
||||
Reference in new issue
Block a user