Skip to content

Commit 755e73c

Browse files
committed
mobile view test
1 parent c3198a1 commit 755e73c

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

css/style.css

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -384,12 +384,18 @@ footer {
384384
}
385385

386386
@media (max-width: 768px) {
387-
.brand {
388-
flex-direction: row; /* logo left, text right */
389-
align-items: center;
390-
gap: 10px;
387+
388+
.navbar {
389+
flex-wrap: wrap;
390+
height: auto;
391+
padding: 8px 12px;
391392
}
392393

394+
.brand {
395+
width: 100%;
396+
justify-content: flex-start;
397+
margin-bottom: 6px;
398+
}
393399

394400
.brand-text {
395401
line-height: 1.05;
@@ -408,13 +414,17 @@ footer {
408414
font-size: 9px;
409415
}
410416

411-
.nav-links {
412-
gap: 12px;
417+
.nav-links {
418+
width: 100%;
419+
justify-content: center;
420+
gap: 16px;
413421
}
414-
415422
.nav-links a {
416423
font-size: 13px;
417-
padding: 4px 8px;
418-
font-weight: 600;
424+
padding: 6px 10px;
425+
}
426+
427+
.nav-links a::before {
428+
height: 2px;
419429
}
420430
}

0 commit comments

Comments
 (0)