Skip to content

Commit 626575e

Browse files
Move navbar / active burger layout into mobile media selector (#460) (#461)
1 parent 3bd3362 commit 626575e

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

assets/theme-css/navbar.css

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -116,18 +116,6 @@ nav,
116116
color: var(--colorPrimaryLight);
117117
}
118118

119-
.navbar-menu.is-active {
120-
background: var(--pst-color-text-muted);
121-
}
122-
123-
.navbar-menu.is-active .navbar-item {
124-
color: var(--pst-color-background);
125-
}
126-
127-
.navbar-menu.is-active .navbar-item:hover {
128-
color: var(--pst-color-link-hover);
129-
}
130-
131119
.navbar-logo {
132120
height: 28px;
133121
padding-right: 1rem;
@@ -223,8 +211,17 @@ a.navbar-item:hover {
223211
padding: 0.5rem 0;
224212
}
225213
.navbar-menu.is-active {
214+
background: var(--pst-color-text-muted);
226215
display: block;
227216
}
217+
218+
.navbar-menu.is-active .navbar-item {
219+
color: var(--pst-color-background);
220+
}
221+
222+
.navbar-menu.is-active .navbar-item:hover {
223+
color: var(--pst-color-link-hover);
224+
}
228225
}
229226
@media screen and (min-width: 1024px) {
230227
.navbar,

0 commit comments

Comments
 (0)