Skip to content

Commit fa3ad0b

Browse files
Docs: fix transparent navbar in Windows high contrast mode (#40911)
Co-authored-by: Julien Déramond <[email protected]>
1 parent 30e0152 commit fa3ad0b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

site/assets/scss/_navbar.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
background-color: transparent;
44
box-shadow: 0 .5rem 1rem rgba($black, .15), inset 0 -1px 0 rgba($white, .15);
55

6+
@media (forced-colors) {
7+
background-color: Canvas;
8+
}
9+
610
&::after {
711
position: absolute;
812
inset: 0;

0 commit comments

Comments
 (0)