SOURCE / PINNED RELEASE
Made of little things.
Pünktlich!
- Release
- 9dc6c97948c0…
- Author-recorded commit
- aebcea49a666…
- License
- LICENSE
- Author’s source reference
- nostr://npub1sj2vketepqw9v6fmge5fdzuj7atj9sv6qv2jss05n2z6rl64lcfqumdsnt/wss%3A%2F%2Fgit.napplet.soy%2F/n-bf1ae466031
Archive hash verified: 7705a83d7bdb3f9b…. The source-to-build association is the author’s claim; it has not been independently rebuilt.
/*
Visual direction: "Amtlich" — German public signage and official forms.
Flag colours for accents, DIN-like bold uppercase type, hard square edges.
App-owned palette; host theme is ignored on purpose.
*/
:root {
--ink: #111111;
--paper: #f5f1e6;
--schwarz: #111111;
--rot: #dd0000;
--gold: #ffcc00;
--ok: #1f7a3a;
--control-h: 52px;
--napplet-text-selection: none;
color-scheme: light;
font: 15px/1.3 "DIN Alternate", "Bahnschrift", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
}
* {
box-sizing: border-box;
}
:where(html, body, body *) {
-webkit-user-select: var(--napplet-text-selection, none);
user-select: var(--napplet-text-selection, none);
}
html,
body,
#app {
height: 100%;
margin: 0;
background: #9fc6e0;
color: var(--ink);
overflow: hidden;
}
button {
font: inherit;
color: inherit;
}
.app {
position: relative;
touch-action: none;
}
.scene {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: block;
}
/* HUD ───────────────────────────────────────────────────────────────── */
.hud {
position: absolute;
top: 8px;
left: 8px;
pointer-events: none;
}
.ordnung {
display: flex;
align-items: center;
gap: 6px;
padding: 4px 8px;
background: var(--paper);
border: 2px solid var(--ink);
font-weight: 700;
letter-spacing: 0.06em;
font-size: 12px;
}
.ordnung-bar {
width: 90px;
height: 10px;
border: 2px solid var(--ink);
background: #fff;
}
.ordnung-fill {
display: block;
height: 100%;
width: 100%;
background: linear-gradient(90deg, var(--schwarz) 0 33%, var(--rot) 33% 66%, var(--gold) 66%);
transition: width 0.2s;
}
.ordnung-value {
min-width: 2.2em;
text-align: right;
font-variant-numeric: tabular-nums;
}
/* Touch controls ────────────────────────────────────────────────────── */
.controls {
position: absolute;
left: 8px;
right: 8px;
bottom: 8px;
display: flex;
justify-content: space-between;
pointer-events: none;
}
.ctrl {
pointer-events: auto;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-width: var(--control-h);
height: var(--control-h);
padding: 0 16px;
border: 3px solid var(--ink);
background: var(--paper);
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.05em;
cursor: pointer;
touch-action: none;
opacity: 0.92;
}
.ctrl:active,
.ctrl.is-down {
background: var(--gold);
}
.ctrl:focus-visible,
.card button:focus-visible {
outline: 3px solid var(--rot);
outline-offset: 2px;
}
/* Overlay card (forms, bins, title, end) ────────────────────────────── */
.overlay {
position: absolute;
inset: 0;
display: grid;
place-items: center;
padding: 10px;
background: rgb(17 17 17 / 0.35);
}
.overlay[hidden] {
display: none;
}
.card {
width: min(460px, 100%);
max-height: 100%;
overflow: auto;
background: var(--paper);
border: 3px solid var(--ink);
box-shadow: 6px 6px 0 var(--ink);
padding: 14px 16px;
border-top: 10px solid var(--ink);
position: relative;
}
.card::before {
content: "";
position: absolute;
top: -10px;
left: 33%;
right: 0;
height: 10px;
background: linear-gradient(90deg, var(--rot) 0 50%, var(--gold) 50%);
}
.kicker {
margin: 0 0 4px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--rot);
}
.card-title {
margin: 0 0 6px;
font-size: 22px;
line-height: 1.1;
text-transform: uppercase;
letter-spacing: 0.02em;
}
.card-body {
margin: 0 0 10px;
white-space: pre-line;
}
.card-body:empty,
.card-hint:empty,
.kicker:empty {
display: none;
}
.card-actions {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
gap: 8px;
}
.card-actions button {
min-height: 44px;
padding: 6px 10px;
border: 3px solid var(--ink);
background: #fff;
font-weight: 800;
text-transform: uppercase;
cursor: pointer;
}
.card-actions button:hover {
background: var(--gold);
}
.card-actions button.primary {
background: var(--rot);
color: #fff;
}
.card-actions .bin {
color: #fff;
text-shadow: 0 1px 0 #000;
}
.card-actions .bin small {
display: block;
font-size: 10px;
opacity: 0.85;
}
.card-actions .shake {
animation: shake 0.3s;
}
@keyframes shake {
25% { transform: translateX(-5px); }
75% { transform: translateX(5px); }
}
.card-hint {
margin: 10px 0 0;
font-size: 12px;
opacity: 0.7;
}
/* Small frames ──────────────────────────────────────────────────────── */
@media (max-width: 420px), (max-height: 320px) {
:root {
--control-h: 44px;
font-size: 13px;
}
.ctrl .label {
display: none;
}
.ordnung-bar {
width: 50px;
}
.card-title {
font-size: 17px;
}
}
@media (max-height: 220px), (max-width: 260px) {
:root {
--control-h: 34px;
}
.ordnung-label {
display: none;
}
.card {
padding: 8px;
}
.card-hint,
.card-body,
.kicker {
display: none;
}
.card-actions {
grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
gap: 4px;
}
.card-actions button {
min-height: 30px;
padding: 2px 4px;
font-size: 11px;
}
}
@media (prefers-reduced-motion: reduce) {
.card-actions .shake {
animation: none;
}
}
