Move all the root styles to fragment files
Create assets/styles/root to hold all the fragments of the root stylesheet. This should make it easier to find and hack on style. Yay!
This commit is contained in:
parent
273c380fe6
commit
8029f97f9c
16 changed files with 692 additions and 665 deletions
8
assets/styles/root/050_main_element_margins.css
Normal file
8
assets/styles/root/050_main_element_margins.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
@layer root {
|
||||
main > :first-child,
|
||||
main > article > :first-child { margin-block-start: 0; }
|
||||
main > :not(:last-child),
|
||||
main > article > :not(:last-child) { margin-block-end: var(--body-item-spacing); }
|
||||
main > :last-child,
|
||||
main > article > :last-child { margin-block-end: 0; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue