summaryrefslogtreecommitdiff
path: root/styles/client/card.css
diff options
context:
space:
mode:
Diffstat (limited to 'styles/client/card.css')
-rw-r--r--styles/client/card.css10
1 files changed, 8 insertions, 2 deletions
diff --git a/styles/client/card.css b/styles/client/card.css
index 9e7c558..f8c6438 100644
--- a/styles/client/card.css
+++ b/styles/client/card.css
@@ -21,8 +21,6 @@ card
card:hover
{
box-shadow: 0 0 10px var(--card-hover);
-
- z-index: 4;
}
card > * {
@@ -152,6 +150,14 @@ deck:hover {
border: 3px solid var(--deck-hover);
}
+deck:hover > card {
+ opacity: 0.5;
+}
+
+deck:hover > card:hover {
+ opacity: 1;
+}
+
/* Deck modes */
deck[mode="stack"] > card {