From 240637726201ddadbe23fb24ef4a95f0b4dca79b Mon Sep 17 00:00:00 2001 From: Eltrac Koalar Date: Sun, 18 Sep 2022 20:11:13 +0800 Subject: =?UTF-8?q?:link:=20Add:=20=E6=96=87=E7=AB=A0=E7=BC=A9=E7=95=A5?= =?UTF-8?q?=E5=9B=BE=E5=8F=AF=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/matcha.css | 9 +++++++-- includes/post-list.php | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/assets/matcha.css b/assets/matcha.css index 5c566c6..c348eb7 100644 --- a/assets/matcha.css +++ b/assets/matcha.css @@ -228,11 +228,15 @@ button { flex-shrink: 0; border-radius: 5px; position: absolute; - top: 0; - bottom: 0; + top: .25em; + bottom: .25em; right: 0 } +.post-thumbnail:hover img { + transform: rotate(10deg) scale(1.2) +} + .post-thumbnail, .post-thumbnail-atpage { overflow: hidden; @@ -246,6 +250,7 @@ button { .post-thumbnail-atpage img { width: 100%; display: block; + transition: transform .3s } .post-thumbnail-atpage { diff --git a/includes/post-list.php b/includes/post-list.php index 89fc08f..c774ceb 100644 --- a/includes/post-list.php +++ b/includes/post-list.php @@ -22,7 +22,7 @@ fields->thumbnail!=''): ?>
- +
-- cgit v1.2.3