подача лендинга: мобильный ритм, ровные заголовки, табличные цифры
All checks were successful
CI Trade-In / changes (pull_request) Successful in 13s
CI Trade-In / backend-tests (pull_request) Has been skipped
CI Trade-In / browser-tests (pull_request) Has been skipped
CI / changes (pull_request) Successful in 15s
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
CI Trade-In / frontend-checks (pull_request) Successful in 1m15s

Только оформление: ни одного утверждения, числа или секции не тронуто.

- text-wrap: balance на заголовках секций — на 375px они уходят в 2-3 строки
  и оставляли висячее слово.
- artTitle подтянут к общему полу 26px (был 24px — последняя секция читалась
  мельче остальных).
- внутренние отступы карточек стали responsive (clamp): на 375px под текст
  оставалось 279px из 375, четверть экрана уходила в поля. На десктопе
  значения прежние.
- font-variant-numeric: tabular-nums на крупных значениях (плитки сверки,
  плитки цены ошибки, отклонение в строке) — разряды встают в колонку.
- «Все статьи» имела высоту нажатия 23px; паддинг гасится отрицательным
  полем, макет не сдвигается. Ховер переведён с нижней границы на
  подчёркивание, иначе линия легла бы по краю паддинга.
This commit is contained in:
bot-backend 2026-08-31 11:24:52 +05:00
parent 189ae63e53
commit 2527068c45

View file

@ -973,6 +973,7 @@
letter-spacing: -0.015em; letter-spacing: -0.015em;
font-weight: 800; font-weight: 800;
margin: 0 0 14px; margin: 0 0 14px;
text-wrap: balance;
} }
.accLead { .accLead {
@ -996,7 +997,7 @@
background: var(--b2c-page-bg); background: var(--b2c-page-bg);
border: 1px solid var(--b2c-line); border: 1px solid var(--b2c-line);
border-radius: 10px; border-radius: 10px;
padding: 26px; padding: clamp(20px, 4.5vw, 26px);
} }
.accKpiTileDark { .accKpiTileDark {
@ -1010,6 +1011,7 @@
font-weight: 800; font-weight: 800;
letter-spacing: -0.02em; letter-spacing: -0.02em;
line-height: 1; line-height: 1;
font-variant-numeric: tabular-nums;
} }
.accKpiLabel { .accKpiLabel {
@ -1119,6 +1121,7 @@
font-weight: 800; font-weight: 800;
font-size: 16px; font-size: 16px;
color: var(--b2c-accent-deep); color: var(--b2c-accent-deep);
font-variant-numeric: tabular-nums;
} }
.accGainPct { .accGainPct {
@ -1212,6 +1215,7 @@
letter-spacing: -0.015em; letter-spacing: -0.015em;
font-weight: 800; font-weight: 800;
margin: 0; margin: 0;
text-wrap: balance;
} }
.costGrid { .costGrid {
@ -1227,7 +1231,7 @@
background: var(--b2c-page-bg); background: var(--b2c-page-bg);
border: 1px solid var(--b2c-line); border: 1px solid var(--b2c-line);
border-radius: 10px; border-radius: 10px;
padding: 28px; padding: clamp(20px, 5vw, 28px);
} }
/* Третья плитка (150 ₽) — тёмная, как в макете. */ /* Третья плитка (150 ₽) — тёмная, как в макете. */
@ -1242,6 +1246,7 @@
font-weight: 800; font-weight: 800;
letter-spacing: -0.02em; letter-spacing: -0.02em;
line-height: 1; line-height: 1;
font-variant-numeric: tabular-nums;
} }
.costItemTitle { .costItemTitle {
@ -2011,6 +2016,7 @@
line-height: 1.12; line-height: 1.12;
letter-spacing: -0.015em; letter-spacing: -0.015em;
font-weight: 800; font-weight: 800;
text-wrap: balance;
} }
.objCtaBtn { .objCtaBtn {
display: inline-block; display: inline-block;
@ -2117,10 +2123,11 @@
} }
.artTitle { .artTitle {
margin: 0; margin: 0;
font-size: clamp(24px, 3vw, 32px); font-size: clamp(26px, 3vw, 32px);
line-height: 1.15; line-height: 1.15;
letter-spacing: -0.015em; letter-spacing: -0.015em;
font-weight: 800; font-weight: 800;
text-wrap: balance;
} }
.artGrid { .artGrid {
display: grid; display: grid;
@ -2128,7 +2135,7 @@
gap: 20px; gap: 20px;
} }
.artCard { .artCard {
padding: 26px; padding: clamp(20px, 4.5vw, 26px);
background: var(--b2c-surface); background: var(--b2c-surface);
border: 1px solid var(--b2c-line); border: 1px solid var(--b2c-line);
border-radius: 10px; border-radius: 10px;
@ -2418,15 +2425,21 @@
text-wrap: pretty; text-wrap: pretty;
} }
.artAllLink { .artAllLink {
/* Зона нажатия до ~43px без сдвига макета: паддинг гасится
отрицательным полем, поэтому строка остаётся на прежней базовой линии. */
padding: 10px 0;
margin: -10px 0;
font-weight: 700; font-weight: 700;
font-size: 14.5px; font-size: 14.5px;
white-space: nowrap; white-space: nowrap;
color: var(--b2c-accent-text); color: var(--b2c-accent-text);
/* Подчёркивание вместо нижней границы: граница легла бы по краю паддинга,
а не под текстом. */
text-decoration: none; text-decoration: none;
border-bottom: 1px solid transparent;
} }
.artAllLink:hover { .artAllLink:hover {
border-bottom-color: var(--b2c-accent-text); text-decoration: underline;
text-underline-offset: 3px;
} }
.artCardLink { .artCardLink {
composes: artCard; composes: artCard;
@ -2882,6 +2895,7 @@
line-height: 1.12; line-height: 1.12;
letter-spacing: -0.015em; letter-spacing: -0.015em;
font-weight: 800; font-weight: 800;
text-wrap: balance;
} }
.srcLead { .srcLead {
@ -2902,7 +2916,7 @@
} }
.srcCard { .srcCard {
padding: 26px; padding: clamp(20px, 4.5vw, 26px);
background: var(--b2c-surface); background: var(--b2c-surface);
border: 1px solid var(--b2c-line); border: 1px solid var(--b2c-line);
border-radius: 10px; border-radius: 10px;
@ -2976,6 +2990,7 @@
line-height: 1.12; line-height: 1.12;
letter-spacing: -0.015em; letter-spacing: -0.015em;
font-weight: 800; font-weight: 800;
text-wrap: balance;
} }
.wygLead { .wygLead {
@ -2998,7 +3013,7 @@
.wygItem { .wygItem {
display: flex; display: flex;
gap: 12px; gap: 12px;
padding: 24px; padding: clamp(18px, 4vw, 24px);
background: var(--b2c-page-bg); background: var(--b2c-page-bg);
border: 1px solid var(--b2c-line); border: 1px solid var(--b2c-line);
border-radius: 10px; border-radius: 10px;