diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2024-07-01 13:59:26 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2024-07-01 13:59:26 +0100 |
| commit | 534074e66ae8dbb5d134d08346220fb05442617c (patch) | |
| tree | be4e417f90c740cd2b07a9826f5983c8b41fca33 /website/public/css/feed.css | |
| parent | 682378938ddcbb80bf2dfc28cb4dfc647a32908a (diff) | |
No CSS nesting
Diffstat (limited to 'website/public/css/feed.css')
| -rw-r--r-- | website/public/css/feed.css | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/website/public/css/feed.css b/website/public/css/feed.css index 699a571..f47e609 100644 --- a/website/public/css/feed.css +++ b/website/public/css/feed.css @@ -1,10 +1,8 @@ -.h-feed { - /* Assumes there is at most one level of subheading for sub-dividing entries */ - :is(h2, h3, h4, h5, h6) { - margin-block-start: var(--spacing-block-md); - } - - .h-entry { - margin-block-start: var(--spacing-block-sm); - } +/* Assumes there is at most one level of subheading for sub-dividing entries */ +.h-feed :is(h2, h3, h4, h5, h6) { + margin-block-start: var(--spacing-block-md); +} + +.h-feed .h-entry { + margin-block-start: var(--spacing-block-sm); } |
