forked from rDrama/rDrama
parent
cab92d3c24
commit
d4260138f5
|
@ -283,9 +283,17 @@
|
||||||
75% {transform: rotate(-{{c.award_count("tilt")}}deg);}
|
75% {transform: rotate(-{{c.award_count("tilt")}}deg);}
|
||||||
100% {transform: rotate(0deg);}
|
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 {
|
.comment-{{c.id}}-only {
|
||||||
animation-name: c{{c.id}}-tilt;
|
animation-name: c{{c.id}}-tilt;
|
||||||
animation-duration: 60s !important;
|
animation-duration: 30s !important;
|
||||||
animation-iteration-count: infinite !important;
|
animation-iteration-count: infinite !important;
|
||||||
animation-direction: alternate !important;
|
animation-direction: alternate !important;
|
||||||
animation-timing-function: linear !important;
|
animation-timing-function: linear !important;
|
||||||
|
|
|
@ -536,6 +536,14 @@
|
||||||
75% {transform: rotate(-{{p.award_count("tilt")}}deg);}
|
75% {transform: rotate(-{{p.award_count("tilt")}}deg);}
|
||||||
100% {transform: rotate(0deg);}
|
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 {
|
#post-root {
|
||||||
animation-name: post-tilt;
|
animation-name: post-tilt;
|
||||||
animation-duration: 60s !important;
|
animation-duration: 60s !important;
|
||||||
|
|
Loading…
Reference in New Issue