forked from rDrama/rDrama
fds
parent
254135839f
commit
a3a7e82be2
|
@ -32,33 +32,32 @@
|
|||
left: 0%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.train {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
z-index: 10;
|
||||
overflow-x: hidden !important;
|
||||
animation: train 5s infinite !important;
|
||||
animation: train 5s linear infinite !important;
|
||||
}
|
||||
|
||||
.trainrev {
|
||||
animation: trainrev 5s infinite !important;
|
||||
animation: trainrev 5s linear infinite !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
<img class="train" style="top:10%" src="/assets/images/emojis/marseytrain.webp">
|
||||
<img class="train d-none d-md-block style="top:10%" src="/assets/images/emojis/marseytrain.webp">
|
||||
{% endif %}
|
||||
|
||||
{% if p.award_count("train") > 1 %}
|
||||
<img class="train trainrev mirrored" style="top:35%" src="/assets/images/emojis/marseytrain.webp">
|
||||
<img class="train trainrev mirrored d-none d-md-block" style="top:35%" src="/assets/images/emojis/marseytrain.webp">
|
||||
{% endif %}
|
||||
|
||||
{% if p.award_count("train") > 2 %}
|
||||
<img class="train" style="top:60%" src="/assets/images/emojis/marseytrain.webp">
|
||||
<img class="train d-none d-md-block" style="top:60%" src="/assets/images/emojis/marseytrain.webp">
|
||||
{% endif %}
|
||||
|
||||
{% if p.award_count("train") > 3 %}
|
||||
<img class="train trainrev mirrored" style="top:85%" src="/assets/images/emojis/marseytrain.webp">
|
||||
<img class="train trainrev mirrored d-none d-md-block" style="top:85%" src="/assets/images/emojis/marseytrain.webp">
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
@ -827,7 +826,7 @@
|
|||
{% if p.stickied %}
|
||||
const pinned_info = document.getElementById('pinned-{{p.id}}')
|
||||
{% if p.stickied.startswith('t:') %}
|
||||
pinned_info.setAttribute("data-bs-original-title", `Pinned until ${new Date({{p.stickied[2:]}} * 1000).toString()}`)
|
||||
pinned_info.setAttribute("data-bs-original-title", `Pinned until ${Date({{p.stickied[2:]}}).toString()}`)
|
||||
{% else %}
|
||||
pinned_info.setAttribute("data-bs-original-title", "Pinned by @{{p.stickied}}")
|
||||
{%endif%}
|
||||
|
|
Loading…
Reference in New Issue