Rearrange utility classes

This commit is contained in:
Helen Chong 2024-04-13 17:27:06 +08:00
parent 31579f4d52
commit 2fbdec6a91
1 changed files with 29 additions and 29 deletions

View File

@ -223,6 +223,34 @@ dd {
grid-column-start: 2; grid-column-start: 2;
} }
/* UTILITY CLASSES */
.bold-text {
font-weight: 700;
}
.center-el {
display: grid;
place-content: center;
}
.center-text {
text-align: center;
}
.date-style {
font-weight: 700;
color: var(--clr-dates);
}
.hidden {
display: none;
}
.article-list {
display: grid;
gap: 0.5em;
}
/* MAIN CONTENT */ /* MAIN CONTENT */
main, main,
.content-container, .content-container,
@ -469,7 +497,7 @@ article, .content-container {
gap: 0.5rem; gap: 0.5rem;
} }
/* Article Table of Contents */ /* Table of Contents */
.toc__wrapper { .toc__wrapper {
position: sticky; position: sticky;
top: 4rem; top: 4rem;
@ -694,31 +722,3 @@ article, .content-container {
.main-footer p { .main-footer p {
padding: 0; padding: 0;
} }
/* UTILITY CLASSES */
.bold-text {
font-weight: 700;
}
.center-el {
display: grid;
place-content: center;
}
.center-text {
text-align: center;
}
.date-style {
font-weight: 700;
color: var(--clr-dates);
}
.hidden {
display: none;
}
.article-list {
display: grid;
gap: 0.5em;
}