{% extends "card.html" %} {% import "macros.html" as m %} {% block style %} /* receipt: a thermal print from the vet clinic, on a pastel counter, with the patient beside it */ .receipt { --bg1: #ffe3ec; --bg2: #ffd0de; --accent: #e2506e; background: radial-gradient(circle at 80% 30%, var(--bg1), var(--bg2)); color: #3b3340; } .receipt.pal1 { --bg1: #dff6ee; --bg2: #c4ecdd; --accent: #2f9a8a; } .receipt.pal2 { --bg1: #ece4ff; --bg2: #ddd0ff; --accent: #7656dc; } .receipt.pal3 { --bg1: #fff0d6; --bg2: #ffdcb8; --accent: #e5862a; } .receipt .paper { position: absolute; left: 70px; top: -8px; width: 470px; height: 646px; background: #fffdf8; transform: rotate(-3deg); box-shadow: 8px 10px 24px #0003; padding: 34px 38px; font: 400 19px/1.45 "Space Mono", monospace; -webkit-mask: radial-gradient(circle 9px at 50% 100%, #0000 98%, #000) 50% 100% / 22px 100% repeat-x; } .receipt .paper h3 { margin: 0; text-align: center; font: 700 26px "Space Mono"; letter-spacing: .06em; } .receipt .paper .sub { text-align: center; font-size: 15px; color: #8a8090; margin-bottom: 10px; } .receipt .rule { border-top: 2px dashed #3b334055; margin: 8px 0; } .receipt .row { display: flex; gap: 8px; white-space: nowrap; } .receipt .row span:first-child { flex: none; } .receipt .row i { flex: 1; overflow: hidden; color: #3b334044; font-style: normal; } .receipt .row i::before { content: "................................................................"; } .receipt .row b { flex: none; font-weight: 700; } .receipt .total { font: 700 24px "Space Mono"; } .receipt .barcode { height: 46px; margin: 12px auto 4px; width: 300px; background: repeating-linear-gradient(90deg, #3b3340 0 3px, transparent 3px 5px, #3b3340 5px 6px, transparent 6px 10px, #3b3340 10px 14px, transparent 14px 16px); } .receipt .thanks { text-align: center; font: 700 16px "Space Mono"; } .receipt .side { position: absolute; left: 600px; right: 40px; top: 40px; } .receipt .side .sticker { position: relative; width: 330px; margin: 0 0 0 60px; transform: rotate(4deg); } .receipt .side h2 { margin: 6px 0 0; font: 400 46px/1.05 "Mochiy Pop One"; color: var(--accent); white-space: nowrap; } .receipt .side p { margin: 6px 0 14px; font: 700 20px "Zen Maru Gothic"; color: #6b5a6e; } .receipt .side .badges-inline { gap: 14px; } {% endblock %} {% block card %}

MICRODUCK VET CLINIC

check-up · day {{ c.day }} · Nº {{ c.number }}
PATIENT{{ c.robot|upper }}
OWNER@{{ c.owner }}
WALKED{{ c.walked }} {{ c.walked_unit|upper }}
AWAKE{{ c.awake|upper }}
OOPSIE FALLS{{ c.falls }}
PETS{{ c.pets }}
SPINS{{ c.spins }}
{% if c.favourite %}
{{ c.favourite|upper }}×{{ c.favourite_count }}
{% endif %}
NEW SERVOS{{ c.servos_replaced }}
TOTAL CUDDLES{{ c.cuddles }}
♡ {{ c.status.title|upper }} ♡

{{ c.robot }}

{{ c.status.line }}{% if c.facts %} · {{ c.facts[0] }}{% endif %}

{% for b in c.badges[:4] %}{{ m.badge(b, 70) }}{% endfor %}
{% endblock %}