diff --git a/frontend/src/styles/global.css b/frontend/src/styles/global.css index 846224d..8b258ae 100644 --- a/frontend/src/styles/global.css +++ b/frontend/src/styles/global.css @@ -107,10 +107,15 @@ html, body { } /* Hover эффект - только для строк данных, не для заголовков */ -.post-content > div:has(> div > div:nth-child(3)) > div:not(:first-child):hover > div { +.post-content > div:has(> div > div:nth-child(3)) > div:nth-child(n+2):hover > div { background: #f8fafc; } +/* Заголовки - НИКОГДА не менять фон при hover */ +.post-content > div:has(> div > div:nth-child(3)) > div:first-child:hover > div { + background: #1e3a5f !important; +} + /* Мобильная версия */ @media (max-width: 768px) { .post-content > div:has(> div > div:nth-child(3)) {