Skip to content

Commit

Permalink
fix responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4m4 committed Oct 14, 2024
1 parent ccb6ebd commit ba8d560
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,18 @@ body {
padding: 6px 15px;
}
}
/* Media query for small devices */
@media only screen and (max-width: 600px) {
.button-container {
flex-direction: column; /* Stack the buttons vertically on small screens */
width: 100%; /* Ensure the buttons stay within the viewport */
margin: 0 auto;
}

.learn-more-button {
width: 90%; /* Adjust the button width */
margin: 10px auto; /* Center the buttons and add margin between them */
padding: 10px;
font-size: 1rem; /* Slightly smaller text on smaller screens */
}
}

0 comments on commit ba8d560

Please sign in to comment.