forked from unimatrix/web
12 lines
6.9 KiB
CSS
12 lines
6.9 KiB
CSS
.item-lore-card{--quality:#b59c60;--level:#dfd2ad;color:#d7e5d8;background:#091f19;border:2px solid var(--quality);box-shadow:inset 0 0 0 3px #05130e,0 12px 30px #0007;border-radius:5px;overflow:hidden;padding:14px;position:relative;font-family:Georgia,serif}.item-lore-card[data-quality=common]{--quality:#fff;--level:#ccc}.item-lore-card[data-quality=uncommon]{--quality:#55ff55;--level:#a6ffa6}.item-lore-card[data-quality=rare]{--quality:#5555ff;--level:#aaaaff}.item-lore-card[data-quality=very_rare]{--quality:#aa00aa;--level:#d580d5}.item-lore-card[data-quality=legendary]{--quality:#ffaa00;--level:#ffd580}.item-lore-card[data-quality=mythic]{--quality:#ff55ff;--level:#ffa6ff}.item-lore-art{height:130px;margin:-14px -14px 14px;position:relative;background:#132d24}.item-lore-art:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#091f19)}.item-lore-art img{width:100%;height:100%;object-fit:cover;opacity:.65}.item-lore-name{display:flex;align-items:center;gap:16px;background:#182b21;border:1px solid var(--quality);padding:10px}.item-lore-name img{object-fit:contain;image-rendering:pixelated;flex:0 0 64px}.item-lore-name h2{color:var(--quality)!important;margin:0;font-size:23px;overflow-wrap:anywhere}.item-lore-identity{display:flex;justify-content:space-between;gap:15px;padding:11px;margin:12px 0;border:1px solid var(--quality);background:color-mix(in srgb,var(--quality) 12%,#10251e)}.item-lore-identity strong{color:var(--quality);text-transform:uppercase}.item-lore-identity em,.item-lore-section dd{color:var(--level);font-style:italic}.item-lore-season{display:block;color:#91ac9d}.item-lore-story{margin:18px 3px;font-style:italic;color:#b6c9ba}.item-lore-story p{margin:5px 0}.item-lore-section{border:1px solid var(--quality);margin:14px 0 0;background:#11281f}.item-lore-section h3{color:var(--quality)!important;font:700 14px Georgia,serif;letter-spacing:.06em;text-transform:uppercase;margin:0;padding:10px;background:color-mix(in srgb,var(--quality) 12%,#14271e)}.item-lore-section dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;padding:12px;margin:0}.item-lore-section dt{font-weight:bold;color:var(--quality)}.item-lore-section dd{margin:0}.item-lore-missing{font-size:13px;line-height:1.6;color:#9db2a6!important;padding:0 12px}.item-lore-story .item-lore-missing{padding:0}.item-lore-stats{border-color:#477d73;background:#102b29}.item-lore-stats h3{background:#173d36;color:#78c6b0!important}.item-lore-stats dt{color:#78c6b0}.item-lore-stats dd{color:#b5e5d9}.item-lore-anchor{position:relative}.item-lore-trigger{background:none!important;border:0!important;padding:0!important;cursor:help}.item-lore-trigger:focus-visible{outline:2px solid #efd492;outline-offset:4px}.item-lore-popover{position:fixed;z-index:10000;max-height:calc(100vh - 24px);overflow:auto;box-sizing:border-box;filter:drop-shadow(0 10px 16px #0008)}.item-lore-popover[hidden]{display:none!important}.item-lore-compact{padding:10px;font-size:14px}.item-lore-compact .item-lore-art{height:80px;margin:-10px -10px 10px}.item-lore-compact .item-lore-name h2{font-size:18px}.item-lore-compact .item-lore-name img{width:48px;height:48px;flex-basis:48px}.item-lore-details{display:block;color:var(--level);margin-top:15px;padding:8px;border-top:1px solid #59745b;text-align:right}.item-dashboard{max-width:1250px;margin:auto;padding:30px 20px}.item-dashboard h1{color:#efd492;font-family:Georgia,serif}.item-dashboard-eyebrow{font-size:12px;letter-spacing:.13em;color:#bca15d}.item-dashboard-layout{display:grid;grid-template-columns:minmax(280px,410px) minmax(0,1fr);gap:28px;align-items:start}.item-dashboard-details{padding:24px;background:#102c23;border:1px solid #917c42;border-radius:6px}.item-dashboard-details h2{font-family:Georgia,serif;color:#efd492}.item-dashboard-details dl{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:12px;margin:18px 0 30px}.item-dashboard-details dt{color:#a9bfad}.item-dashboard-details dd{margin:0;overflow-wrap:anywhere}.item-dashboard-details code{display:block;padding:14px;background:#071b15;color:#efdaa4;overflow-wrap:anywhere}.item-dashboard-action{display:inline-block;padding:13px 20px;background:linear-gradient(#a48a45,#715f2f);color:#fff0bc;border:1px solid #e0c66f;border-radius:4px}.item-dashboard-details table{width:100%;border-collapse:collapse}.item-dashboard-details th,.item-dashboard-details td{padding:12px 8px;text-align:left;border-bottom:1px solid #45624d}.item-dashboard-details th{color:#e7cf8f}@media(max-width:800px){.item-dashboard-layout{grid-template-columns:1fr}.item-lore-card:not(.item-lore-compact){max-width:480px}.item-dashboard-details{padding:18px}.item-dashboard-details dl{grid-template-columns:1fr;gap:5px}.item-dashboard-details dd{margin-bottom:10px}}@media(prefers-reduced-motion:reduce){.item-lore-card{scroll-behavior:auto}}
|
|
.item-lore-popover{inset:auto;margin:0;padding:0;border:0;background:transparent;color:inherit}.item-lore-name img{width:64px;height:64px}.item-lore-compact .item-lore-name img{width:48px;height:48px}
|
|
.item-lore-card{text-align:left;line-height:1.5}.item-lore-card .item-lore-name h2{font-size:23px!important;line-height:1.25;text-align:left}.item-lore-card.item-lore-compact .item-lore-name h2{font-size:18px!important}.item-lore-card .item-lore-section h3{font-size:14px!important;text-align:left}.item-lore-card .item-lore-section :is(dt,dd){font-size:14px!important;line-height:1.5;text-align:left}.item-lore-card .item-lore-section dt{color:var(--quality)}.item-lore-card .item-lore-stats dt{color:#78c6b0}.item-lore-card .item-lore-stats dd{color:#b5e5d9}.item-lore-card .item-lore-identity{font-size:14px;text-align:left}.item-lore-trigger,.item-lore-details{-webkit-tap-highlight-color:transparent}.item-dashboard>h1{font-size:clamp(28px,4vw,44px)!important;line-height:1.2;margin:18px 0 26px}.item-dashboard-details h2{font-size:24px!important;line-height:1.3;margin:16px 0}.item-dashboard-details :is(dt,dd,td,th){font-size:15px;line-height:1.5}
|
|
.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}}
|

Staff