diff options
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: " >"; +} |
