Skip to content

Commit b07ae63

Browse files
committed
improve to show all menus in one screen on small screen smartphones
1 parent e57fb6d commit b07ae63

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

site/style/garden.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,10 @@ a abbr {
600600
}
601601

602602
#nav_main > ul > li {
603-
width: 100%;
603+
float: left;
604+
text-align: center;
605+
width: 25%;
606+
border-bottom: 0;
604607
}
605608

606609
#nav_mobile {
@@ -611,3 +614,14 @@ a abbr {
611614
display: none;
612615
}
613616
}
617+
618+
/* Small Screen "Smarphone" Vertical Mode */
619+
620+
@media screen and (max-width: 360px) {
621+
#nav_main > ul > li {
622+
float: left;
623+
text-align: center;
624+
width: 33.33%;
625+
border-bottom: 0;
626+
}
627+
}

0 commit comments

Comments
 (0)