Skip to content

Commit

Permalink
nav4
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek-Servin committed Jul 25, 2024
1 parent 0226e45 commit 0e03956
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3319,17 +3319,18 @@ input, select, textarea {
font-size: 0.9em;
}

@media screen and (max-width: 400px) {


/* Responsive styles */
@media screen and (max-width: 737px) {
#nav {
display: none;
max-width: 400px; /* Set max width to 400px */
width: 100%; /* Ensure it takes up full width */
}
#nav ul li {
flex: 1 0 50%; /* Make each item take 50% of the width */
margin: 5px 0; /* Adjust margin for spacing */
text-align: center; /* Center align text */
}

#nav + #main {
padding-top: 0;
}

}

/* Main */

Expand Down

0 comments on commit 0e03956

Please sign in to comment.