diff options
Diffstat (limited to '_sass/card.css')
-rw-r--r-- | _sass/card.css | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/_sass/card.css b/_sass/card.css new file mode 100644 index 0000000..58037b5 --- /dev/null +++ b/_sass/card.css @@ -0,0 +1,22 @@ +.postCard { + background-color: var(--bg-alt); + padding: 12px; + border-radius: 8px; + + overflow-x: hidden; +} + +.postCard a { color: var(--fg) !important; } +.postCard a::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; } + |