diff options
Diffstat (limited to 'http/src/css/feed.uppcss')
| -rw-r--r-- | http/src/css/feed.uppcss | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/http/src/css/feed.uppcss b/http/src/css/feed.uppcss index 8724b9f..d90a8cd 100644 --- a/http/src/css/feed.uppcss +++ b/http/src/css/feed.uppcss @@ -1,9 +1,9 @@ /* Assumes there is at most one level of subheading for sub-dividing entries */ -.h-feed :is(h2, h3, h4, h5, h6) { +.h-feed > :is(h2, h3, h4, h5, h6) { margin-block-start: var(--spacing-block-md); } -.h-feed ul:has(> .h-entry) { +ul:has(> .h-entry) { list-style-type: none; margin-inline: 0; @@ -12,26 +12,26 @@ } } -.h-feed .h-entry { +.h-entry { display: flex; flex-direction: column; } -.h-feed .h-entry + .h-entry { +.h-entry + .h-entry { margin-block-start: var(--spacing-block-md); } -.h-feed .h-entry > * { +.h-entry > * { order: 1; margin: 0; } -.h-feed .h-entry .dt-published { +.h-entry .dt-published { order: 0; font-size: var(--font-size-sm); } -.h-feed .h-entry .p-name { +.h-entry .p-name { font-size: var(--font-size-md); font-weight: 400; } @@ -44,13 +44,16 @@ content: ' >'; } -.e-content:not(.e-content--expanded) { - height: 10rem; +.e-content { border-bottom: solid 1px; + &:not(.e-content--expanded) { + height: 10rem; + overflow: clip; + } } .h-entry > button { - width: min-content; + width: max-content; align-self: center; margin-block-start: var(--spacing-block-xs); } |
