Revert "de-nerf tilt award on mobile"

This reverts commit 3985a58815.
remotes/1693045480750635534/spooky-22
Aevann1 2022-06-16 14:37:23 +02:00
parent cab92d3c24
commit d4260138f5
2 changed files with 17 additions and 1 deletions

View File

@ -283,9 +283,17 @@
75% {transform: rotate(-{{c.award_count("tilt")}}deg);}
100% {transform: rotate(0deg);}
}
@media (max-width: 720px) {
@keyframes c{{c.id}}-tilt {
0% {transform: rotate(0deg);}
25% {transform: rotate({{c.award_count("tilt")/4}}deg);}
75% {transform: rotate(-{{c.award_count("tilt")/4}}deg);}
100% {transform: rotate(0deg);}
}
}
.comment-{{c.id}}-only {
animation-name: c{{c.id}}-tilt;
animation-duration: 60s !important;
animation-duration: 30s !important;
animation-iteration-count: infinite !important;
animation-direction: alternate !important;
animation-timing-function: linear !important;

View File

@ -536,6 +536,14 @@
75% {transform: rotate(-{{p.award_count("tilt")}}deg);}
100% {transform: rotate(0deg);}
}
@media (max-width: 720px) {
@keyframes post-tilt {
0% {transform: rotate(0deg);}
25% {transform: rotate({{p.award_count("tilt")/4}}deg);}
75% {transform: rotate(-{{p.award_count("tilt")/4}}deg);}
100% {transform: rotate(0deg);}
}
}
#post-root {
animation-name: post-tilt;
animation-duration: 60s !important;