index : paprika

A blogging platform written in Rust for Cloudflare Workers, integrated with Standard Notes

diff options
context:
space:
mode:
authorPeter Cai <[email protected]>2020-04-14 16:50:47 +0800
committerPeter Cai <[email protected]>2020-04-14 16:50:47 +0800
commitbce6c3e9b4a0ccbcdfb012b47454a9a8728fab7f (patch)
tree6e7a009b1e169cdceacf9382a429a90dc29cd2bc
parentdf6a1affdb556013849e3ce74f3eaaf4059f2949 (diff)
downloadpaprika-bce6c3e9b4a0ccbcdfb012b47454a9a8728fab7f.tar.gz
theme: animate the appearance of ToC too
-rw-r--r--theme/default/static/style.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/theme/default/static/style.css b/theme/default/static/style.css
index 46efaa6..f1fb91a 100644
--- a/theme/default/static/style.css
+++ b/theme/default/static/style.css
@@ -342,6 +342,9 @@ blockquote {
border-radius: 5px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
padding-left: 15px;
+ animation-name: appear;
+ animation-duration: 0.5s;
+ animation-fill-mode: forwards;
}
.toc li {