From ad8f9f55ea79a4d587aecc69698808da82de3d62 Mon Sep 17 00:00:00 2001 From: somhairle Date: Tue, 21 Apr 2026 20:40:27 +0800 Subject: 二〇二六年四月二十一日 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/theme/source/css/animation.styl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 themes/theme/source/css/animation.styl (limited to 'themes/theme/source/css/animation.styl') diff --git a/themes/theme/source/css/animation.styl b/themes/theme/source/css/animation.styl new file mode 100644 index 00000000..ef22c6f9 --- /dev/null +++ b/themes/theme/source/css/animation.styl @@ -0,0 +1,14 @@ +@keyframes fadeIn + from + opacity 0 + to + opacity 1 + +.fade-in + animation fadeIn 0.6s ease + +.post-list-item, .post-gallery-item + transition opacity $transition-duration ease + + &:hover + opacity 0.85 \ No newline at end of file -- cgit v1.2.3