From 3c55089c1383c120023c0ebeee96824f82ec86b1 Mon Sep 17 00:00:00 2001 From: Lucas Tortora Date: Fri, 15 Nov 2024 12:28:48 -0300 Subject: [PATCH] fix media query --- docs/site/src/css/custom.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/site/src/css/custom.css b/docs/site/src/css/custom.css index c6d047daaeb..e1f1037c925 100644 --- a/docs/site/src/css/custom.css +++ b/docs/site/src/css/custom.css @@ -132,25 +132,21 @@ color: white; } -@media (min-width: 769px) { +@media (min-width: 997px) { [data-theme="light"] .menu__link:hover, [data-theme="light"] .menu__link--active{ font-weight: bold; - color: var(--ifm-menu-color); + color: var(--ifm-menu-color) } } -@media (max-width: 768px) { +@media (max-width: 996px) { .navbar-sidebar, .menu__link { color: rgba(255, 255, 255, 0.7); } [data-theme="light"] .menu__list-item-collapsible:hover, - - [data-theme="light"] .menu__link:hover{ - background-color: #525860; - } - [data-theme="light"] .menu__link--active { + [data-theme="light"] .menu__link--active { font-weight: bold; color: white; }