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