Simplify blog post spacing
Cannot remember why I did it differently before.
This commit is contained in:
parent
b769bcd5a4
commit
5488718a68
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,16 +1,9 @@
|
|||||||
:is(.blog-posts, .latest-posts) {
|
:is(.blog-posts, .latest-posts) {
|
||||||
.post {
|
.post {
|
||||||
padding-bottom: 1rem;
|
|
||||||
|
|
||||||
&:not(:last-child) {
|
|
||||||
padding-bottom: var(--layout-spacing-vertical);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:not(:first-child) {
|
&:not(:first-child) {
|
||||||
.post__header {
|
border-top: var(--layout-hr-border);
|
||||||
border-top: var(--layout-hr-border);
|
padding-top: var(--layout-spacing-vertical);
|
||||||
padding-top: var(--layout-spacing-vertical);
|
margin-top: var(--layout-spacing-vertical);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user