Refined heading margins
This commit is contained in:
parent
3a61840b30
commit
33c72f2f8a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -111,11 +111,11 @@ a.modal-tooltip {
|
||||
|
||||
:where(h1, h2, h3, h4, h5, h6) {
|
||||
&:where(:not(:first-child, .cell-title, .card__title, .post__title)) {
|
||||
margin-top: 2rem;
|
||||
margin-top: max(2.25rem, var(--paragraph-spacing) - 0.5rem);
|
||||
}
|
||||
|
||||
&:where(:not(:last-child, .cell-title, .card__title, .post__title)) {
|
||||
margin-bottom: var(--heading-margin-bottom, unquote('max(1.25rem, var(--paragraph-spacing) - 0.25rem)'));
|
||||
margin-bottom: var(--heading-margin-bottom, unquote('min(max(1.25rem, var(--paragraph-spacing) - 0.75rem), 2rem)'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user