variable padding

This commit is contained in:
Paul Trowbridge 2023-05-20 09:25:51 -04:00
parent adb0cc52a8
commit b2c73a8b39

View File

@ -14,6 +14,20 @@ html, body {
body { body {
padding-top: 1em; padding-top: 1em;
} }
/* Media query for smaller screens */
@media (max-width: 768px) {
html, body {
padding: 0 10px; /* Adjust the padding values for smaller screens */
}
}
/* Media query for larger screens */
@media (min-width: 1024px) {
html, body {
padding: 0 40px; /* Adjust the padding values for larger screens */
}
}
/* Reset margin top for elements */ /* Reset margin top for elements */
h1, h2, h3, h4, h5, h6, h1, h2, h3, h4, h5, h6,