aboutsummaryrefslogtreecommitdiff
path: root/css/card.css
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-12 13:24:23 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-12 13:24:23 +0200
commitce37824c5260dd370c61cf174ea80ca7deeb1058 (patch)
treec72f247e72c8279c93a662cdd46a440e825bdfbb /css/card.css
parentc364c4b0273e76cb13571878d1a4a2853a392b9b (diff)
more WIP transition
Diffstat (limited to 'css/card.css')
-rw-r--r--css/card.css29
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;
+}
+