Skip to content

Commit

Permalink
Update styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
exhausted-yami authored Jan 2, 2025
1 parent 868112e commit a795a39
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,24 @@ body {
position: absolute;
left: 1%;
}

/* Mobile-specific Navbar styles */
@media (max-width: 768px) {
.navbar {
flex-direction: column; /* Stack items vertically on smaller screens */
align-items: flex-start; /* Align items to the left */
padding: 10px; /* Add some padding */
}

.navbar a {
margin: 5px 0; /* Add margin for spacing between links */
}

.navbar p {
position: static; /* Remove absolute positioning */
margin-bottom: 10px; /* Add spacing below the paragraph */
}
}

/* Content styles */
.content {
Expand Down

0 comments on commit a795a39

Please sign in to comment.