Skip to content

Commit 98256e9

Browse files
author
Alexia Michelle
committed
fix: improve mobile menu sidebar visibility and styling in dark mode
1 parent 5405fd4 commit 98256e9

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/css/custom.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,22 @@ html[data-theme='dark'] {
6565
/* Override links in dark mode too */
6666
--ifm-link-hover-color: #ff00ff;
6767
/* Pure GoldenDog Fuchsia */
68+
69+
/* Fix for Mobile Menu Sidebar in Dark Mode */
70+
--ifm-navbar-sidebar-background-color: #020203;
71+
}
72+
73+
/* Ensure mobile sidebar has solid background and visible items in dark mode */
74+
html[data-theme='dark'] .navbar-sidebar {
75+
background-color: #020203 !important;
76+
}
77+
78+
html[data-theme='dark'] .navbar-sidebar__item {
79+
color: #eceef2 !important;
80+
}
81+
82+
html[data-theme='dark'] .navbar-sidebar__item:hover {
83+
color: var(--goldendog-fuchsia) !important;
6884
}
6985

7086

0 commit comments

Comments
 (0)