This commit is contained in:
Ross
2025-12-07 09:06:37 +00:00
parent 6bbc281a9b
commit c49ce3bc58
@@ -27,11 +27,11 @@
</div> </div>
<div style="white-space:nowrap;"><strong>Diet:</strong> <div style="white-space:nowrap;"><strong>Diet:</strong>
{% if card.diet == 'herbivore' %} {% if card.diet == 'herbivore' %}
<span style="display:inline-block;padding:3px 6px;border-radius:999px;background:#2ecc71;color:#222;font-weight:700;margin-left:6px;">🥦 Herbivore</span> <span style="display:inline-block;padding:2px 6px;border-radius:999px;background:#2ecc71;color:#222;font-weight:700;margin-left:6px;font-size:0.85rem;line-height:1;">🥦 Herbivore</span>
{% elif card.diet == 'carnivore' %} {% elif card.diet == 'carnivore' %}
<span style="display:inline-block;padding:3px 6px;border-radius:999px;background:#e74c3c;color:#222;font-weight:700;margin-left:6px;">🥩 Carnivore</span> <span style="display:inline-block;padding:2px 6px;border-radius:999px;background:#e74c3c;color:#222;font-weight:700;margin-left:6px;font-size:0.85rem;line-height:1;">🥩 Carnivore</span>
{% else %} {% else %}
<span style="display:inline-block;padding:3px 6px;border-radius:999px;background:#f39c12;color:#222;font-weight:700;margin-left:6px;">🍽️ Omnivore</span> <span style="display:inline-block;padding:2px 6px;border-radius:999px;background:#f39c12;color:#222;font-weight:700;margin-left:6px;font-size:0.85rem;line-height:1;">🍽️ Omnivore</span>
{% endif %} {% endif %}
</div> </div>
</div> </div>