fix site grid layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
8e60ece366
commit
a2c027eec0
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user