all repos — homestead @ a3401f930646a03fb11a5d0d9f7e0034f955833d

Code for my website

tweak vertical spacing between article headings

Alan Pearce
commit

a3401f930646a03fb11a5d0d9f7e0034f955833d

parent

0b574f8b6bd132f273403d76229be08cbd329d6b

1 file changed, 21 insertions(+), 0 deletions(-)

jump to
M templates/style.csstemplates/style.css
@@ -190,8 +190,13 @@ article > header > h1 {
margin-bottom: 0; } +article > header { + margin: 2rem 0 1rem; +} + .meta { margin-top: 0; + margin-bottom: 0; } .date {
@@ -207,6 +212,22 @@ padding-inline-start: 0;
} .p-categories { padding-inline-start: 1ex; +} + +.e-content { + h1, + h2, + h3, + h4, + h5, + h6 { + margin-top: 2rem; + margin-bottom: 0.5ch; + } + + p { + margin-top: 1ch; + } } .tags li {