aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
index dd90ec1..366efe6 100644
--- a/src/style.css
+++ b/src/style.css
@@ -636,6 +636,12 @@ html.no-scroll { overflow: hidden; scrollbar-gutter: auto; }
box-shadow: 0 3px 12px rgba(0, 0, 0, .28);
animation: pill-in .18s ease-out;
}
+/* the count bumps each time it changes: a fresh node per value replays it */
+.feed-new-pill .n { display: inline-block; min-width: 1.1em; text-align: center; animation: pill-bump .32s cubic-bezier(.2,.9,.3,1.4); }
+@keyframes pill-bump {
+ from { transform: scale(1.7); opacity: .4; }
+ to { transform: scale(1); opacity: 1; }
+}
@keyframes pill-in {
from { opacity: 0; transform: translate(-50%, -8px); }
to { opacity: 1; transform: translate(-50%, 0); }