Add a custom .paragraph-spaced-list class
This class spaces its list elements with the standard paragraph spacing.
This commit is contained in:
parent
a968c9cb78
commit
96410c903c
1 changed files with 18 additions and 0 deletions
18
assets/css/099_format_tweaks.css
Normal file
18
assets/css/099_format_tweaks.css
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/************************
|
||||||
|
* PARAGRAPH-SPACED LIST
|
||||||
|
************************/
|
||||||
|
|
||||||
|
p + .paragraph-spaced-list {
|
||||||
|
margin-block-start: var(--space-paragraph);
|
||||||
|
}
|
||||||
|
|
||||||
|
.paragraph-spaced-list {
|
||||||
|
li + li {
|
||||||
|
margin-block-start: var(--space-paragraph);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue