Skip to content

Commit f2857c9

Browse files
authored
CSS Fixes: smaller title, hide submenu on mobile (#109)
1 parent ea53a90 commit f2857c9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

_css/poole_hyde.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,7 @@ html {
282282
.sidebar-about h1 {
283283
color: #fff;
284284
margin-top: 0;
285-
/* font-family: "Abril Fatface", sans-serif; */ /* MODIFIED */
286-
font-size: 3.25rem;
285+
font-size: 40px;
287286
}
288287

289288
/* Sidebar nav */
@@ -312,12 +311,12 @@ a.sidebar-nav-item:focus {
312311
}
313312

314313
/* Show submenu when parent item has 'active' class */
315-
.sidebar-nav-item.active + .menu-list-child-list {
314+
.sidebar-nav-item.active+.menu-list-child-list {
316315
display: block;
317316
}
318317

319318
.menu-list-link {
320-
color: rgba(255, 255, 255, 0.5) !important;
319+
color: rgba(255, 255, 255, 0.5) !important;
321320
font-size: var(--small);
322321
}
323322

@@ -356,11 +355,14 @@ a.sidebar-nav-item:focus {
356355
}
357356
}
358357

359-
/* Hide the logo on screens with width less than 768px */
358+
/* Hide the logo and submenu on screens with width less than 768px */
360359
@media (max-width: 767px) {
361360
.logo-container {
362361
display: none;
363362
}
363+
.sidebar-nav-item.active+.menu-list-child-list {
364+
display: none;
365+
}
364366
}
365367

366368
/* Center the logo within the logo container */

0 commit comments

Comments
 (0)