From b28ed490a4c1be57cdae18be4eb30e6f6b578ab1 Mon Sep 17 00:00:00 2001 From: FastD Date: Mon, 16 Nov 2026 18:41:39 +0300 Subject: [PATCH] Center the hero copy against the planet The copy hung from the top of the row while the planet filled it, so the buttons ended 115 px above the band with nothing under them. align-self:center makes the copy sit in the middle of the planet's height: 58 px above the H1 and 58 px below the CTA at 1534x1000, while the row keeps its 16 px to the header and 16 px to the band. Heights and the fold are unchanged on all eight viewports. --- src/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index 7d23ffc..a8e9392 100644 --- a/src/index.html +++ b/src/index.html @@ -1128,8 +1128,9 @@ row-gap: var(--step-4); } -/* Строка 1 — копия + планета. Копия сидит на общем текстовом вертикале. */ -.hero__copy { padding-inline: var(--edge) } +/* Строка 1 — копия + планета. Копия центруется по высоте планеты: зазор до шапки + и до полосы одинаковый, а не «прибито к верху». */ +.hero__copy { padding-inline: var(--edge); align-self: center } .hero__copy .h1 { margin-bottom: var(--step-4) } .hero__offer { font-size: 20px; line-height: 1.4; margin-bottom: var(--step-4) } .hero__copy .cta-row { gap: var(--step-4) }