aboutsummaryrefslogtreecommitdiff
path: root/web/style/nodecard.css
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2023-12-09 11:37:41 +0100
committertpart <tpart120@proton.me>2023-12-09 11:37:41 +0100
commita2fca8bf6b62538ddeadac8155c3b3e653ef4511 (patch)
tree2a1c7f1d3355dd922caa4ef524d2d8d16cf346a5 /web/style/nodecard.css
parent6d87fe0b3c875ef3c7dd1d811d237e75567f787b (diff)
downloadjellything-a2fca8bf6b62538ddeadac8155c3b3e653ef4511.tar
jellything-a2fca8bf6b62538ddeadac8155c3b3e653ef4511.tar.bz2
jellything-a2fca8bf6b62538ddeadac8155c3b3e653ef4511.tar.zst
Update node card css
Diffstat (limited to 'web/style/nodecard.css')
-rw-r--r--web/style/nodecard.css14
1 files changed, 8 insertions, 6 deletions
diff --git a/web/style/nodecard.css b/web/style/nodecard.css
index ea29b25..8dacbf8 100644
--- a/web/style/nodecard.css
+++ b/web/style/nodecard.css
@@ -59,16 +59,18 @@
object-position: center;
width: 100%;
}
-
.node.card .title {
text-align: center;
-}
-
-.node.card .title {
- margin-top: 0.1em;
+ margin-top: 0.5em;
text-align: center;
text-overflow: ellipsis;
}
+.node.card .title a {
+ text-decoration-line: none;
+}
+.node.card .title a:hover {
+ text-decoration-line: underline;
+}
.node.card .poster {
display: grid;
}
@@ -81,7 +83,7 @@
pointer-events: none;
grid-area: 1 / 1;
transition: opacity 0.3s;
- background-color: var(--overlay);
+ background-color: var(--overlay-poster);
opacity: 0;
display: flex;
justify-content: center;