feat(scss): add new partial _article.scss to handle styling for article content

This commit is contained in:
Sped0n
2023-10-30 15:53:27 +08:00
parent e4bc4a8d92
commit d575d8e867
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
.info {
padding: var(--space-standard);
max-width: 25em;
p {
margin-bottom: 1em;
}
u {
text-decoration: underline;
}
> h1 {
font-size: 1.6em;
}
> h2 {
font-size: 1.5em;
}
> h3 {
font-size: 1.375em;
}
> h4 {
font-size: 1.25em;
}
> h5 {
font-size: 1.125em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: bold;
margin: 1.2rem 0;
}
}

View File

@@ -15,3 +15,5 @@
@import '_partial/collection';
@import '_partial/gallery';
@import '_partial/article';