diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-28 14:16:08 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-28 14:16:08 +0200 |
commit | 5d088aa25f69afdb9ba208def8c23b4f45bbe0b8 (patch) | |
tree | d13f3eb2e7cf7bb63664d43b9c79135808e912a7 /_sass/card.css | |
parent | bc5b85043974e4af9c90962c2acde36b0e7de02a (diff) |
use sass + fix code hightlight
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; } + |