fix site grid layout

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-04-03 22:09:04 +00:00
parent 8e60ece366
commit a2c027eec0

View File

@ -34,12 +34,21 @@ header, footer {
max-width: 25ch; max-width: 25ch;
} }
header {
grid-area: header;
}
main { main {
grid-area: main;
background-color: var(--content-bkg-color); background-color: var(--content-bkg-color);
color: var(--content-txt-color); color: var(--content-txt-color);
padding: 20px; padding: 20px;
} }
footer {
grid-area: footer;
}
footer p { footer p {
text-align: center; text-align: center;
} }