From 9e62a1ea53c6f88fe90785587a4cafcbe21ff6eb Mon Sep 17 00:00:00 2001 From: root Date: Sat, 19 Sep 2026 13:11:13 +0200 Subject: [PATCH] feat(marquee): alternative static flex-grid of chips (replaces scrolling marquee) --- public/css/main.css | 25 +++++++++++++++++++++++++ public/en/index.html | 36 +++++++++--------------------------- public/index.html | 36 +++++++++--------------------------- src/pages/index.en.html | 36 +++++++++--------------------------- src/pages/index.html | 36 +++++++++--------------------------- 5 files changed, 61 insertions(+), 108 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index fd2675c..59cbfa6 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -5484,6 +5484,31 @@ body.content-edit-shift-active.content-edit-mode-active .content-edit-fab-stack flex-shrink: 0; } +/* Альтернативный вариант marquee: статичная flex-сетка чипсов */ +.marquee--grid { + padding: 0.5rem 0; +} +.marquee-grid { + list-style: none; + margin: 0 auto; + padding: 0; + max-width: 680px; + display: flex; + flex-wrap: wrap; + gap: 0.75rem; + justify-content: center; +} +.marquee-grid__cell { + margin: 0; + flex: 1 1 11rem; + min-width: 0; + display: flex; + justify-content: center; +} +.marquee-grid__cell .hero__tag { + white-space: nowrap; +} + /* Marquee появляется мягче, чем обычные секции (без большого сдвига) */ .marquee[data-reveal] { opacity: 0; diff --git a/public/en/index.html b/public/en/index.html index eacb7e1..ee05310 100644 --- a/public/en/index.html +++ b/public/en/index.html @@ -269,33 +269,15 @@ -