Skip to content

Commit a58cd77

Browse files
committed
landing-page: fix mobile navigation background-color
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent e215034 commit a58cd77

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

_includes/side-menu.html

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
<div id="navbar" class="nav-sidebar">
2-
<ul class="nav jsTOCHorizontal hidden-md hidden-lg">
3-
</ul>
4-
<div class="divider hidden-md hidden-lg"></div>
5-
<ul class="nav" id="jsTOCLeftNav">
6-
</ul>
2+
<ul class="nav jsTOCHorizontal hidden-md hidden-lg"></ul>
3+
<ul class="nav" id="jsTOCLeftNav"></ul>
74
</div>

_scss/_landing.scss

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ body.landing {
1313
}
1414

1515
.header {
16+
// Container holds both the top-navigation bar (div.navbar-header), and
17+
// the "hamburger menu" (div.navbar-collapse)
18+
>.container {
19+
background-color: $bg-header;
20+
}
21+
1622
@include md-width {
1723
.navbar-collapse.collapse {
1824
display: flex !important;

_scss/_night-mode.scss

+6
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,9 @@ body.night {
213213
color: $white!important;
214214
}
215215
}
216+
217+
body.landing.night {
218+
.header>.container {
219+
background-color: $bg-header-night;
220+
}
221+
}

0 commit comments

Comments
 (0)