diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-18 21:46:14 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-18 21:46:14 +0100 |
| commit | 13ec458329ead41afa3adc725fc7ffc979b20a92 (patch) | |
| tree | 67d62e7534807467eb9e10f4b669a37271fc70ff /public/css | |
| parent | db359ed29703793de351b637344bddf439285a0b (diff) | |
Pulls out typography spacing
Diffstat (limited to 'public/css')
| -rw-r--r-- | public/css/base/typography.css | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/public/css/base/typography.css b/public/css/base/typography.css index 4f33d86..af7626a 100644 --- a/public/css/base/typography.css +++ b/public/css/base/typography.css @@ -26,16 +26,16 @@ h4 { font-weight: 400; } -.title, -.title--small, h1, h2, h3, h4 { font-family: var(--font-serif); + margin-block-start: var(--spacing-block-lg); } .title { + font-family: var(--font-serif); font-size: var(--font-size-6); font-weight: 700; margin-block-start: var(--spacing-block-sm); @@ -43,4 +43,9 @@ h4 { .title--small { font-size: var(--font-size-2); + margin-block-start: 0; +} + +p:not(:first) { + margin-block-start: var(--spacing-block-md); }
\ No newline at end of file |
