From 2fb18a77df627970f3a3508434307089e0e0b1c2 Mon Sep 17 00:00:00 2001 From: FastD Date: Mon, 16 Nov 2026 18:38:01 +0300 Subject: [PATCH] Back to three rows: cards side by side, planet 481 again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The stacked cards are gone: band across, then Кто мы and Стек in one row of two equal columns. The V3 type ladder and the 4/8 rhythm stay untouched. - With the cards in a row the hero gives back 140 px, so the planet constant returns to 526: 520 at 1080, 481 at 1440x900, 311 at 1366x768, 250 floor at 1280x720. - Verified: 0 px first-screen overflow with the ticker at the fold at 1920x1080, 1534x1000, 1600x1000, 1536x864, 1440x900, 1366x768, 1280x720 and 820x1180; cards equal height 248/248 and 240/240; no errors, no h-scroll. --- src/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.html b/src/index.html index 15c10f6..7d23ffc 100644 --- a/src/index.html +++ b/src/index.html @@ -1152,7 +1152,7 @@ /* Строка 3 — плашки друг над другом, на всю ширину, пары «термин → значение» в строку. 1 px рамки входит в `--edge`: текст плашки встаёт на ту же линию, что текст полосы. */ -.about-acc .faq-list { gap: var(--step-3) } +.about-acc .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--step-3) } .about-acc__card-title { padding: var(--step-3) calc(var(--edge) - 1px) 0; font-size: 12px; letter-spacing: 1.2px; text-indent: calc(var(--step-4) * -1) } /* маркер — в поле отступа: текст метки встаёт на общий вертикал */ .about-acc__card-title::before { content: ""; display: inline-block; width: 8px; height: 8px; @@ -1172,13 +1172,13 @@ так первый экран закрывается без прокрутки, а планета остаётся якорем, а не игрушкой. Потолок 520 — прежний максимум; пол 300. */ @media (min-width: 768px) { - .planet { max-width: clamp(300px, calc((100vh - var(--planet-k)) * 1.286), 520px) } + .planet { max-width: clamp(250px, calc((100vh - var(--planet-k)) * 1.286), 520px) } } /* Плотнее по высоте (≤940): тот же набор ролей, шаг на одну ступень ниже — 8 вместо 12 в подложках, 12 вместо 16 между строками. */ @media (min-width: 768px) and (max-height: 940px) { - .hero { --planet-k: 600px; padding: var(--step-2) var(--edge) } + .hero { --planet-k: 526px; padding: var(--step-2) var(--edge) } .hero__grid { row-gap: var(--step-3) } .hero-about { padding: var(--step-2) var(--edge) } .about-acc .faq-list { gap: var(--step-2) } @@ -1188,7 +1188,7 @@ /* Короткие окна (≤860): ещё на ступень ниже. Кегли не трогаем — только ритм. */ @media (min-width: 768px) and (max-height: 860px) { - .hero { --planet-k: 583px; padding: var(--step-2) var(--edge) } + .hero { --planet-k: 526px; padding: var(--step-2) var(--edge) } .hero__grid { row-gap: var(--step-3) } .hero-about { padding: var(--step-2) var(--edge) } .hero-about__title { margin-bottom: var(--step-1) }