diff --git a/viewer/style.css b/viewer/style.css index c92b674..fb8221c 100644 --- a/viewer/style.css +++ b/viewer/style.css @@ -2842,8 +2842,9 @@ body:has(.pr-game) { justify-content: flex-end; gap: 2px 5px; margin-left: auto; - max-width: 45%; - font-size: 12px; + max-width: 55%; + font-size: 15px; + font-weight: 600; } .pr-game .current-building-effect > span { display: inline-flex; @@ -2851,13 +2852,14 @@ body:has(.pr-game) { white-space: nowrap; gap: 1px; } -.pr-game .current-building-effect .metric { +.pr-game .building-face .current-building-effect .metric { + font-size: 15px; margin: 0; gap: 2px; } -.pr-game .current-building-effect .icon { - width: 18px; - height: 18px; +.pr-game .building-face .current-building-effect .icon { + width: 24px; + height: 24px; } .pr-game .current-building-effect.inactive { opacity: 0.4; diff --git a/viewer/ui.js b/viewer/ui.js index 7b74be9..8078d97 100644 --- a/viewer/ui.js +++ b/viewer/ui.js @@ -622,7 +622,7 @@ export function mountGame( const effect = effects[i]; if (!effect?.items.length) return ""; const label = `${t.effect(a.buildings[i].id)}${effect.enabled ? "" : ` ยท ${t("workerSpaces")}: 0/${B[a.buildings[i].id].workers}`}`; - return `${effect.items.map((x) => `${x.sign}${metric(x.icon, x.value)}`).join("")}`; + return `${effect.items.map((x) => `${metric(x.icon, x.value)}`).join("")}`; }; return `

${t("countryside")} ${a.estates.filter((x) => (!x.vpArea && x.id !== "quarry") || !a.puertoma).length}/${a.puertoma ? 10 : 12}

${a.estates.map((x, i) => `
${icon(GOODS.includes(x.id) ? `field-${x.id}` : x.id, 36)}${t(x.id)}${x.id !== "forest" ? peopleSlots(`e${i}`, x, a.puertoma ? (x.vpArea ? 0 : estateCapacity(x.id)) : 1) : ""}
`).join("")}${Array.from({ length: Math.max(0, (a.puertoma ? 10 : 12) - a.estates.length) }, () => '').join("")}

${t("city")} ${a.puertoma ? a.buildings.length : citySize(a)}/${a.puertoma ? 8 : 12}

${a.buildings.map((x, i) => `
${a.puertoma ? `${t("level")} ${x.level}` : peopleSlots(`b${i}`, x, B[x.id].workers)}${pointsBadge(B[x.id].vp)}
`).join("")}${a.buildings.length ? "" : `
${town}${t("emptyCity")}
`}
`; }