summaryrefslogtreecommitdiff
path: root/themes/theme/source/css/animation.styl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/theme/source/css/animation.styl')
-rw-r--r--themes/theme/source/css/animation.styl14
1 files changed, 14 insertions, 0 deletions
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