diff options
Diffstat (limited to 'css/card.css')
-rw-r--r-- | css/card.css | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/css/card.css b/css/card.css new file mode 100644 index 0000000..f49b40e --- /dev/null +++ b/css/card.css @@ -0,0 +1,29 @@ +.postCard { + background-color: var(--bg-alt); + padding: 12px; + border-radius: 8px; + + overflow-x: hidden; + color: var(--fg) !important; +} + +.postCard::after { + display: none; +} + +.postCard .cover { + width: 100%; + border-radius: 6px; + max-height: 220px; + object-fit: cover; + margin-bottom: 6px; +} + +.postCard .title { + font-size: 24px; +} + +.postCard .subtitle { + font-weight: 500; +} + |