fds
parent
b3514b73d9
commit
98fa6bcaa3
|
@ -263,16 +263,16 @@
|
|||
|
||||
{% if c.award_count("tilt") %}
|
||||
<style>
|
||||
@media (max-width: 720px) {
|
||||
@keyframes c{{c.id}}-tilt {
|
||||
from {transform: rotate(0deg);}
|
||||
to {transform: rotate(0.25deg);}
|
||||
}
|
||||
}
|
||||
@keyframes c{{c.id}}-tilt {
|
||||
from {transform: rotate(0.5deg);}
|
||||
to {transform: rotate({{c.award_count("tilt")}}deg);}
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
@keyframes c{{c.id}}-tilt {
|
||||
from {transform: rotate(0deg);}
|
||||
to {transform: rotate(1deg);}
|
||||
}
|
||||
}
|
||||
.comment-{{c.id}}-only {
|
||||
animation-name: c{{c.id}}-tilt !important;
|
||||
animation-duration: 60s !important;
|
||||
|
|
|
@ -458,16 +458,16 @@
|
|||
|
||||
{% if p.award_count("tilt") %}
|
||||
<style>
|
||||
@media (max-width: 720px) {
|
||||
@keyframes post-tilt {
|
||||
from {transform: rotate(0deg);}
|
||||
to {transform: rotate(0.25deg);}
|
||||
}
|
||||
}
|
||||
@keyframes post-tilt {
|
||||
from {transform: rotate(0.5deg);}
|
||||
to {transform: rotate({{p.award_count("tilt")}}deg);}
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
@keyframes post-tilt {
|
||||
from {transform: rotate(0deg);}
|
||||
to {transform: rotate(1deg);}
|
||||
}
|
||||
}
|
||||
#post-root {
|
||||
animation-name: post-tilt !important;
|
||||
animation-duration: 60s !important;
|
||||
|
|
Loading…
Reference in New Issue