Refactor main element

This commit is contained in:
Helen Chong 2024-06-06 19:07:57 +08:00
parent 6dc16d3f13
commit 30d81fe3dd
2 changed files with 6 additions and 10 deletions

View File

@ -1,19 +1,9 @@
/* MAIN CONTENT */
main,
.content__wrapper,
.content--divided {
display: grid;
}
main,
.content__wrapper {
font-size: var(--sz-main-txt);
}
main {
width: 100%;
}
.content__wrapper,
.content--divided {
gap: 1rem;

View File

@ -12,6 +12,12 @@ body {
background-color: var(--clr-body-bg);
}
main {
width: 100%;
display: grid;
font-size: var(--sz-main-txt);
}
h1 {
color: var(--clr-main-heading);
font-size: var(--sz-h1);