From aa6412e4355c0482b57303362f60fc33ae74ef92 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 7 Oct 2024 11:59:49 +0100 Subject: [PATCH] Add a hover effect for card icons --- editions/tw5.com/tiddlers/cards/card-styles.tid | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/editions/tw5.com/tiddlers/cards/card-styles.tid b/editions/tw5.com/tiddlers/cards/card-styles.tid index a2eb3c217..7b95b699a 100644 --- a/editions/tw5.com/tiddlers/cards/card-styles.tid +++ b/editions/tw5.com/tiddlers/cards/card-styles.tid @@ -170,6 +170,14 @@ type: text/vnd.tiddlywiki transform: scale(1.05); } +.tc-card .tc-card-icon svg { + transition: transform 0.3s ease-in-out; +} + +.tc-card:hover .tc-card-icon svg { + transform: scale(1.1); +} + .tc-card-title { font-size: 1.2em; line-height: 1.2;