Skip to content

Commit

Permalink
Update nav responsiveness to match recent nav fix
Browse files Browse the repository at this point in the history
Other changes:
- Changed the first responsiveness width from 500px
  to 512 px.
- Change the default left-right margin for the nav
  from 20px to 15px.
  • Loading branch information
FrederickGeek8 committed Feb 8, 2024
1 parent 75126ba commit 674ba4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _sass/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ a[href] {
li {
display: inline-block;
// margin: top-bottom left-right
margin: 10px 20px;
margin: 10px 15px;
}

a {
Expand Down
12 changes: 7 additions & 5 deletions _sass/responsive.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@media (max-width: 500px) {
@media (max-width: 512px) {
.container,
#footer {
width: 85%;
Expand All @@ -9,8 +9,9 @@
height: 256px;
}

#navigation > li {
padding: 10px;
#navigation li {
margin-left: 10px;
margin-right: 10px;
}
}

Expand All @@ -25,8 +26,9 @@
height: 160px;
}

#navigation > li {
padding: 5px;
#navigation li {
margin-left: 5px;
margin-right: 5px;
}
}

Expand Down

0 comments on commit 674ba4d

Please sign in to comment.