Townsfolk mood: needs, kindling, clothes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
002e990dc4
commit
58a3e66454
6 changed files with 385 additions and 30 deletions
|
|
@ -139,7 +139,7 @@ main { padding: 24px; max-width: 1200px; width: 100%; }
|
|||
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
|
||||
.grid.wide { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
|
||||
.cols { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
|
||||
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 18px; }
|
||||
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); margin-bottom: 18px; }
|
||||
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
|
||||
.stat .k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
|
||||
.stat .v { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
|
||||
|
|
@ -871,3 +871,14 @@ button.swatch { width: 36px; height: 36px; }
|
|||
.qp-row input::-webkit-inner-spin-button, .qp-row input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
|
||||
.qp-then { display: inline-flex; align-items: center; gap: 4px; }
|
||||
.qp-then .x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 11px; padding: 0 2px; }
|
||||
|
||||
/* Townsfolk mood */
|
||||
.mood-bar { position: relative; height: 12px; border-radius: 99px; margin: 4px 0 8px;
|
||||
background: linear-gradient(90deg, #e2645c33, #e3a04333 40%, #5cbf6a33); }
|
||||
.mood-bar > span { display: block; height: 100%; border-radius: 99px; background: var(--c); }
|
||||
.mood-bar > i { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--text); border-radius: 2px; }
|
||||
.mood-effects { color: var(--muted); margin-bottom: 12px; }
|
||||
.needs { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
|
||||
.need-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
|
||||
.req.dim { opacity: .6; }
|
||||
.mood-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue