aboutsummaryrefslogtreecommitdiff
path: root/web/style/nodecard.css
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-04-12 14:59:43 +0200
committertpart <tpart120@proton.me>2024-04-12 15:00:08 +0200
commita461b98c8f3d2bf8f017ba3d467fb8009e4c8218 (patch)
tree2ec360678586912dc9d07d4d19a552a9aba19385 /web/style/nodecard.css
parent620cffe99147e7e04e27c6975c99aaedfa2eb096 (diff)
downloadjellything-a461b98c8f3d2bf8f017ba3d467fb8009e4c8218.tar
jellything-a461b98c8f3d2bf8f017ba3d467fb8009e4c8218.tar.bz2
jellything-a461b98c8f3d2bf8f017ba3d467fb8009e4c8218.tar.zst
Add loading background; round poster edges
Diffstat (limited to 'web/style/nodecard.css')
-rw-r--r--web/style/nodecard.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/style/nodecard.css b/web/style/nodecard.css
index 05c305b..de99a33 100644
--- a/web/style/nodecard.css
+++ b/web/style/nodecard.css
@@ -4,6 +4,14 @@
Copyright (C) 2024 metamuffin <metamuffin.org>
Copyright (C) 2023 tpart
*/
+
+.poster * img, .bigposter img {
+ background-color: var(--image-loading-placeholder);
+}
+.poster a, .bigposter img {
+ border-radius: 1em;
+}
+
.card {
padding: 1em;
}