fgh
parent
38f553f987
commit
6eabb05e09
|
@ -263,6 +263,12 @@
|
|||
|
||||
{% if c.award_count("tilt") %}
|
||||
<style>
|
||||
@media (max-width: 720px) {
|
||||
@keyframes c{{c.id}}-tilt {
|
||||
from {transform: rotate(1deg);}
|
||||
to {transform: rotate({{c.award_count("tilt")/4}}deg);}
|
||||
}
|
||||
}
|
||||
@keyframes c{{c.id}}-tilt {
|
||||
from {transform: rotate(1deg);}
|
||||
to {transform: rotate({{c.award_count("tilt")}}deg);}
|
||||
|
|
|
@ -458,6 +458,12 @@
|
|||
|
||||
{% if p.award_count("tilt") %}
|
||||
<style>
|
||||
@media (max-width: 720px) {
|
||||
@keyframes post-tilt {
|
||||
from {transform: rotate(1deg);}
|
||||
to {transform: rotate({{p.award_count("tilt")/4}}deg);}
|
||||
}
|
||||
}
|
||||
@keyframes post-tilt {
|
||||
from {transform: rotate(1deg);}
|
||||
to {transform: rotate({{p.award_count("tilt")}}deg);}
|
||||
|
|
Loading…
Reference in New Issue