aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/home
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-10-24 16:45:24 +0100
committerGravatar GitHub <[email protected]>2020-10-24 16:45:24 +0100
commit953228200a0257a265eecebd4422b5958e7b0d3c (patch)
treee6a7b84a23286346fd6ffb82b9dfdecc54469bc3 /pydis_site/static/css/home
parentRemove blurple peek on Discord CTA, convert text to obj. (diff)
parentMerge pull request #413 from python-discord/allow-internal-dns-api (diff)
Merge branch 'master' into frontpage-100k
Diffstat (limited to 'pydis_site/static/css/home')
-rw-r--r--pydis_site/static/css/home/timeline.css80
1 files changed, 80 insertions, 0 deletions
diff --git a/pydis_site/static/css/home/timeline.css b/pydis_site/static/css/home/timeline.css
index 89de0887..0a4dfbb6 100644
--- a/pydis_site/static/css/home/timeline.css
+++ b/pydis_site/static/css/home/timeline.css
@@ -3638,6 +3638,14 @@ mark {
-webkit-animation-name: cd-bounce-2-inverse;
animation-name: cd-bounce-2-inverse
}
+ .cd-timeline__img--bounce-out {
+ -webkit-animation: cd-bounce-out-1 0.6s;
+ animation: cd-bounce-out-1 0.6s;
+ }
+ .cd-timeline__content--bounce-out {
+ -webkit-animation: cd-bounce-out-2 0.6s;
+ animation: cd-bounce-out-2 0.6s;
+ }
}
@-webkit-keyframes cd-bounce-1 {
@@ -3741,3 +3749,75 @@ mark {
transform: translateX(0)
}
}
+
+@-webkit-keyframes cd-bounce-out-1 {
+ 0% {
+ opacity: 1;
+ -webkit-transform: scale(1);
+ transform: scale(1)
+ }
+
+ 60% {
+ -webkit-transform: scale(1.2);
+ transform: scale(1.2)
+ }
+
+ 100% {
+ opacity: 0;
+ -webkit-transform: scale(0.5);
+ transform: scale(0.5)
+ }
+}
+
+@keyframes cd-bounce-out-1 {
+ 0% {
+ opacity: 1;
+ -webkit-transform: scale(1);
+ transform: scale(1);
+ }
+
+ 60% {
+ -webkit-transform: scale(1.2);
+ transform: scale(1.2);
+ }
+
+ 100% {
+ opacity: 0;
+ -webkit-transform: scale(0.5);
+ transform: scale(0.5);
+ }
+}
+
+@-webkit-keyframes cd-bounce-out-2 {
+ 0% {
+ opacity: 1;
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+ 60% {
+ -webkit-transform: translateX(20px);
+ transform: translateX(20px)
+ }
+ 100% {
+ opacity: 0;
+ -webkit-transform: translateX(-100px);
+ transform: translateX(-100px)
+ }
+}
+
+@keyframes cd-bounce-out-2 {
+ 0% {
+ opacity: 1;
+ -webkit-transform: translateX(0);
+ transform: translateX(0)
+ }
+ 60% {
+ -webkit-transform: translateX(20px);
+ transform: translateX(20px)
+ }
+ 100% {
+ opacity: 0;
+ -webkit-transform: translateX(-100px);
+ transform: translateX(-100px)
+ }
+}