Skip to content

Commit 0dfc8c1

Browse files
committed
fix navbar background on mobile
1 parent 1793c91 commit 0dfc8c1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

_includes/css/sotm.css

+6-6
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ div.affix {
103103
}
104104

105105

106-
@media(max-width:767px) {
107-
.navbar, .navbar a, .navbar a:hover {
108-
color: {{ site.color.links }};
109-
}
110-
}
111-
112106
nav a, .nav a {
113107
text-decoration: none;
114108
font-weight: 500;
@@ -148,6 +142,12 @@ footer a:focus,
148142
font-weight: 500;
149143
}
150144

145+
@media(max-width:766px) {
146+
.navbar-custom {
147+
background-color: {{ site.color.primary-light }};
148+
}
149+
}
150+
151151
.navbar-custom .navbar-brand {
152152
font-weight: normal;
153153
}

0 commit comments

Comments
 (0)