yay
parent
72d658afac
commit
fa37396fc1
|
@ -305,8 +305,8 @@
|
|||
{% if c.award_count("tilt") %}
|
||||
<style>
|
||||
@keyframes c{{c.id}}-tilt {
|
||||
from {transform: rotate(0.5deg);}
|
||||
to {transform: rotate({{c.award_count("tilt")}}deg);}
|
||||
from {transform: rotate(1deg);}
|
||||
to {transform: rotate({{c.award_count("tilt")*4}}deg);}
|
||||
}
|
||||
.comment-{{c.id}}-only {
|
||||
animation-name: c{{c.id}}-tilt !important;
|
||||
|
|
|
@ -459,8 +459,8 @@
|
|||
{% if p.award_count("tilt") %}
|
||||
<style>
|
||||
@keyframes post-tilt {
|
||||
from {transform: rotate(0.5deg);}
|
||||
to {transform: rotate({{p.award_count("tilt")}}deg);}
|
||||
from {transform: rotate(1deg);}
|
||||
to {transform: rotate({{p.award_count("tilt")*4}}deg);}
|
||||
}
|
||||
#post-root {
|
||||
animation-name: post-tilt !important;
|
||||
|
|
Loading…
Reference in New Issue