add page padding

This commit is contained in:
Lyn Fugmann 2024-09-23 14:39:07 +02:00
parent 1be98b0663
commit 0c1549ac68

View file

@ -10,9 +10,15 @@ body {
color: var(--color-text); color: var(--color-text);
} }
main {
padding: 4rem 0 8rem;
}
.content { .content {
width: 100%; width: 100%;
max-width: var(--page-width); max-width: var(--page-width);
padding-left: 1.25rem;
padding-right: 1.25rem;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }