fix inconsistent html header tags and remove non-html5 strike tags

pull/109/head
mummified-corroding-granny 2023-02-02 01:35:04 +00:00
parent 1fbeb271a9
commit 545fff45cd
2 changed files with 7 additions and 3 deletions

View File

@ -5562,6 +5562,10 @@ th, td {
font-weight: 700;
}
.discounted-price {
text-decoration: line-through;
}
.fas {
text-align: center;
}

View File

@ -26,13 +26,13 @@
<header class="container pb-1 text-center">
<img loading="lazy" id="shop-banner" alt="shop banner" src="/i/shop.webp">
<h3 class="mt-4">{{SHOP_FLAVOR}} Earn coins.</h5>
<h5 class="mt-4">{{SHOP_FLAVOR}} Earn coins.</h5>
<h5 class="mt-4">Total sales: {{"{:,}".format(sales)}} coins</h5>
<h5 class="mt-4">Coins spent by you: {{"{:,}".format(v.coins_spent)}} coins</h5>
<h5 class="mt-4">Lootboxes bought by you: {{v.lootboxes_bought}} lootbox{{'es' if v.lootboxes_bought != 1}}</h5>
<h5 class="mt-4">Your current coins: {{"{:,}".format(v.coins)}}</h5>
{% if FEATURES['MARSEYBUX'] %}
<h5 class="mt-4">Your current marseybux: {{"{:,}".format(v.marseybux)}}</h3>
<h5 class="mt-4">Your current marseybux: {{"{:,}".format(v.marseybux)}}</h5>
{% endif %}
</header>
{% endblock %}
@ -56,7 +56,7 @@
<td class="shop-table-title">{{a['title']}}</td>
{% if a['baseprice'] != a['price'] %}
<td class="shop-table-price">
<strike>{{a['baseprice']}}</strike> <em class="text-success">{{a['price']}}</em>
<span class="discounted-price">{{a['baseprice']}}</span> <em class="text-success">{{a['price']}}</em>
</td>
{% else %}
<td class="shop-table-price">{{a['price']}}</td>