Skip to content

Commit 388101d

Browse files
authored
Adjust navbar-brand alignment for mobile (#1628)
1 parent de4463e commit 388101d

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

css/hsf.css

+17-2
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@
179179
.navbar-brand {
180180
height: 40px;
181181
padding: 9.5px 15px;
182-
font-size: 15px;
182+
font-size: 14px;
183+
margin-top: 2px;
183184
}
184185

185186
.navbar-default .navbar-nav > li > a:focus,
@@ -188,6 +189,19 @@
188189
color: #f39c12;
189190
}
190191

192+
@media (max-width: 768px) {
193+
.navbar-brand {
194+
font-size: 27px;
195+
padding: 8px 10px;
196+
margin-top: 7px;
197+
}
198+
199+
.navbar-nav.navbar-right ~ .navbar-brand {
200+
justify-content: flex-start;
201+
}
202+
}
203+
204+
191205
.navbar-nav>li>a {
192206
padding-top: 9.5px;
193207
padding-bottom: 9.5px
@@ -399,4 +413,5 @@ figure.centered-figure {
399413
}
400414
.big-link-container a {
401415
min-height: 0;
402-
}
416+
}
417+
}

0 commit comments

Comments
 (0)