Add padding for main container so text doesn’t touch screen boundary

This commit is contained in:
SML 2023-02-09 00:39:26 +08:00
parent f798eda446
commit db0b9046d7

View File

@ -34,6 +34,7 @@ body>* {
} }
main { main {
min-height: 70vh; /* Make sure the footer is closer to bottom */ min-height: 70vh; /* Make sure the footer is closer to bottom */
padding: 1rem 2.5rem; /* Generous padding for readability */
} }
.smalltext { .smalltext {
font-size: 1.0rem; font-size: 1.0rem;