Skip to content

Commit d04ff06

Browse files
committed
Fix navbar background in dark theme
1 parent 121630b commit d04ff06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/css/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@ article p {
285285
z-index: -1;
286286
}
287287

288+
[data-theme='dark'] .navbar::before {
289+
background-color: rgba(32, 33, 37, 0.7);
290+
}
291+
288292
.navbar__inner {
289293
padding: var(--ifm-navbar-padding-vertical)
290294
var(--ifm-navbar-padding-horizontal);

0 commit comments

Comments
 (0)