Skip to content

Commit a3f9b2c

Browse files
Merge pull request #26 from Aloysb/source
Fix mobile navbar depths (z-indexes)
2 parents 7e20e6b + 7a70eda commit a3f9b2c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/.vuepress/styles/index.styl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,20 @@ html, body {
2828
border: none;
2929
position: sticky;
3030
top: 0;
31-
z-index: 2;
31+
z-index: 200;
3232
.links {
3333
background-color: transparent;
3434
}
3535
}
3636

3737
.sidebar {
3838
background-color: $sidebarBg;
39-
z-index: 1;
39+
z-index: 100;
40+
41+
&-mask {
42+
background-color: $sidebarBg;
43+
opacity: 0.85;
44+
}
4045
}
4146

4247
.content__default {
@@ -217,6 +222,7 @@ blockquote {
217222
bottom: 0;
218223
left: 0;
219224
right: 0;
225+
z-index: 0;
220226
}
221227
.mojs-interactive__controller .controller {
222228
position: absolute

0 commit comments

Comments
 (0)