From ac540c07912ec7aaed1b71a28869c3c668862b4e Mon Sep 17 00:00:00 2001 From: Pavel Kustov Date: Sat, 19 Sep 2026 15:41:59 +0800 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BC=D1=8F=D0=B3=D1=87=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20=D0=B0=D0=BD=D0=B8=D0=BC=D0=B0=D1=86=D0=B8=D1=8E=20?= =?UTF-8?q?=D0=BA=D0=B0=D1=80=D1=82=D0=BE=D1=87=D0=B5=D0=BA=20=D0=BD=D0=B0?= =?UTF-8?q?=20=D0=BC=D0=BE=D0=B1=D0=B8=D0=BB=D1=8C=D0=BD=D1=8B=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/site.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/assets/site.css b/assets/site.css index ca12a51..f567d10 100644 --- a/assets/site.css +++ b/assets/site.css @@ -4042,7 +4042,8 @@ body.menu-open{overflow:hidden} transform:translateY(0); } .arch-card,.restaurant-card,.museum-card{ - transition:transform .35s ease,box-shadow .35s ease; + transition:opacity .75s ease,transform .75s cubic-bezier(.22,.8,.28,1),box-shadow .35s ease; + will-change:opacity,transform; } .arch-card:hover,.restaurant-card:hover,.museum-card:hover{ transform:translateY(-5px); @@ -4072,6 +4073,12 @@ body.menu-open{overflow:hidden} .arch-card,.restaurant-card,.museum-card{transition:none} } +@media(max-width:620px) and (prefers-reduced-motion:no-preference){ + .reveal{ + transition:opacity .8s ease,transform .8s cubic-bezier(.22,.8,.28,1)!important; + } +} + /* Логотип всегда по центру панели, бургер — по правому краю и по вертикальному центру. */ .baikal-nav-wrap{ justify-content:center!important;