forked from rDrama/rDrama
de-nerf tilt award on mobile
parent
d8ee822082
commit
3985a58815
|
@ -283,17 +283,9 @@
|
|||
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: 30s !important;
|
||||
animation-duration: 60s !important;
|
||||
animation-iteration-count: infinite !important;
|
||||
animation-direction: alternate !important;
|
||||
animation-timing-function: linear !important;
|
||||
|
|
|
@ -536,14 +536,6 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue