.
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user