mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-21 13:39:30 -07:00
feat(scss): add new partial _article.scss to handle styling for article content
This commit is contained in:
42
assets/scss/_partial/_article.scss
Normal file
42
assets/scss/_partial/_article.scss
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -15,3 +15,5 @@
|
|||||||
|
|
||||||
@import '_partial/collection';
|
@import '_partial/collection';
|
||||||
@import '_partial/gallery';
|
@import '_partial/gallery';
|
||||||
|
|
||||||
|
@import '_partial/article';
|
||||||
|
|||||||
Reference in New Issue
Block a user