diff options
| author | Joe Carstairs <me@joeac.net> | 2026-05-12 20:56:32 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-05-12 20:56:32 +0100 |
| commit | eb48cdb9a370c37a129637cf0de91e5023306323 (patch) | |
| tree | 0e07a5f762ca9bf65a5cd068e38a75716d53b19c /http/share/css/feed.uppcss | |
| parent | 512f1301178e245d5ba0b4677e44e4d41e24a283 (diff) | |
inits http ssg with mkws
Diffstat (limited to 'http/share/css/feed.uppcss')
| -rw-r--r-- | http/share/css/feed.uppcss | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/http/share/css/feed.uppcss b/http/share/css/feed.uppcss new file mode 100644 index 0000000..39294be --- /dev/null +++ b/http/share/css/feed.uppcss @@ -0,0 +1,36 @@ +/* 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 { + display: flex; + flex-direction: column; +} + +.h-feed .h-entry + .h-entry { + margin-block-start: var(--spacing-block-md); +} + +.h-feed .h-entry > * { + order: 1; + margin: 0; +} + +.h-feed .h-entry .dt-published { + order: 0; + font-size: var(--font-size-sm); +} + +.h-feed .h-entry .p-name { + font-size: var(--font-size-md); + font-weight: 400; +} + +.h-feed .full-feed-link { + text-align: end; +} + +.h-feed :is(a.full-feed-link, .full-feed-link a)::after { + content: " >"; +} |
