diff --git a/website/control-panel/public/cp-v2/cp-v2-exchange-design.css b/website/control-panel/public/cp-v2/cp-v2-exchange-design.css index 48123f7f..b0e85c68 100644 --- a/website/control-panel/public/cp-v2/cp-v2-exchange-design.css +++ b/website/control-panel/public/cp-v2/cp-v2-exchange-design.css @@ -37,3 +37,5 @@ body.exchange-starport:has(.codex-exchange-public){background:#061e1b} .codex-exchange-public .jarvis-victory{margin:16px 0;padding:12px 16px;border:1px solid #8d774447;border-radius:10px;background:#0d261d;color:#b9c7b4}.jarvis-victory summary{cursor:pointer;font-size:.82rem;letter-spacing:.04em}.jarvis-victory figure{max-width:960px;margin:18px auto 4px}.jarvis-victory img{display:block;width:100%;height:auto;border:1px solid #b59a57;border-radius:10px}.jarvis-victory figcaption{padding:12px 4px;text-align:center;color:#e5cb80;font-family:Georgia,serif} .codex-exchange-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #baa15d;border-radius:12px;padding:16px;background:#0c291f;color:#eddfb8;box-shadow:0 24px 90px #000a}.codex-exchange-dialog::backdrop{background:#020e0ab8;backdrop-filter:blur(4px)}.exchange-detail-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.exchange-detail-bar h3{margin:0;color:#eed89c;font:700 23px Georgia,serif}.exchange-detail-bar>button{flex:none;min-height:44px;padding:8px 12px;border:1px solid #baa15d;border-radius:6px;background:#183c2c;color:#eddfb8;cursor:pointer}.exchange-detail-content>.item-lore-card{max-width:580px;margin:auto}.exchange-detail-offer{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:10px;padding:16px;border:1px solid #78906b66;border-radius:7px;background:#071f17}.exchange-detail-offer dt{color:#b5c7b7}.exchange-detail-offer dd{margin:0;overflow-wrap:anywhere}.exchange-detail-action{display:block;margin:10px 0;padding:11px 14px;border:1px solid #b69d58;border-radius:7px;background:#173b2b;color:#f2dfa3;text-decoration:none}.exchange-detail-content p{line-height:1.6}.exchange-detail-bar>button:focus-visible,.exchange-detail-action:focus-visible{outline:3px solid #f3d680;outline-offset:2px}@media(max-width:600px){.codex-exchange-dialog{padding:12px}.exchange-detail-bar h3{font-size:19px}} +.codex-exchange-dialog .exchange-card-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px;align-items:start} +.codex-exchange-dialog .exchange-card-gallery-grid>article{min-width:0} diff --git a/website/control-panel/public/item-lore.css b/website/control-panel/public/item-lore.css index 523a42f1..6e202a16 100644 --- a/website/control-panel/public/item-lore.css +++ b/website/control-panel/public/item-lore.css @@ -4,3 +4,9 @@ .item-lore-card .item-lore-section dt{font-weight:400} .item-lore-card[data-organisation-gear] .item-lore-name h2{color:#bb77ff!important}.item-lore-card[data-organisation-gear] .item-lore-identity em{color:#bb77ff}.item-lore-organisation{display:block;color:#bb77ff;margin:8px 0;font-size:13px} +.item-lore-card{min-width:0;box-sizing:border-box;container-type:inline-size} +.item-lore-card .item-lore-name{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;min-width:0} +.item-lore-card .item-lore-name img{width:48px;height:48px;max-width:100%} +.item-lore-card .item-lore-name h2{min-width:0;font-size:clamp(17px,6cqi,23px)!important;line-height:1.3;word-break:normal;overflow-wrap:break-word;hyphens:none} +.item-lore-card .item-lore-identity{flex-wrap:wrap;gap:6px 12px} +@container(max-width:260px){.item-lore-card .item-lore-name{grid-template-columns:40px minmax(0,1fr);gap:10px}.item-lore-card .item-lore-name img{width:40px;height:40px}.item-lore-card .item-lore-name h2{font-size:18px!important}}