Refactor org web platform and remove legacy code
All checks were successful
Build Org Website / build (push) Successful in 39s
All checks were successful
Build Org Website / build (push) Successful in 39s
This commit is contained in:
@@ -444,826 +444,3 @@
|
||||
.sigil-canvas {
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.archive-world {
|
||||
--world-ink: #17251e;
|
||||
--world-panel: #efe2c2;
|
||||
--world-paper: #fff9e9;
|
||||
--world-line: #8b6841;
|
||||
--world-brass: #d49a3a;
|
||||
--world-moss: #527657;
|
||||
--world-berry: #9d5268;
|
||||
max-width: 1540px;
|
||||
}
|
||||
|
||||
.archive-world__heading {
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
.archive-world__shell {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border: 2px solid var(--world-line);
|
||||
border-radius: 12px;
|
||||
background: var(--world-ink);
|
||||
box-shadow: 0 22px 70px rgba(23, 37, 30, 0.28);
|
||||
}
|
||||
|
||||
.archive-world.is-restored .archive-world__shell {
|
||||
box-shadow: 0 22px 80px rgba(215, 184, 94, 0.32), 0 0 0 3px rgba(239, 213, 137, 0.22);
|
||||
}
|
||||
|
||||
.archive-world__shell:fullscreen {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: grid;
|
||||
grid-template-rows: auto auto minmax(0, 1fr) auto auto auto auto;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: #101b18;
|
||||
}
|
||||
|
||||
.archive-world__hud {
|
||||
display: grid;
|
||||
grid-template-columns: 1.1fr 1.4fr 0.8fr 1.15fr auto;
|
||||
gap: 0.65rem;
|
||||
align-items: stretch;
|
||||
padding: 0.65rem;
|
||||
border-bottom: 2px solid #6e5738;
|
||||
background:
|
||||
linear-gradient(rgba(255, 255, 255, 0.04), transparent),
|
||||
#2d3f33;
|
||||
color: #fff6dc;
|
||||
}
|
||||
|
||||
.archive-world__hud > div:not(.rpg-hud__actions) {
|
||||
display: grid;
|
||||
align-content: center;
|
||||
min-width: 0;
|
||||
padding: 0.45rem 0.6rem;
|
||||
border: 1px solid rgba(229, 200, 135, 0.25);
|
||||
border-radius: 6px;
|
||||
background: rgba(9, 20, 15, 0.28);
|
||||
}
|
||||
|
||||
.archive-world__hud span,
|
||||
.rpg-objective span {
|
||||
color: #d8c9a6;
|
||||
font-size: 0.68rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.archive-world__hud strong {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.archive-world__hud small {
|
||||
color: #b8d4bb;
|
||||
}
|
||||
|
||||
.rpg-hud__health span {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.rpg-meter {
|
||||
height: 9px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #d6b777;
|
||||
border-radius: 999px;
|
||||
background: #211c18;
|
||||
}
|
||||
|
||||
.rpg-meter i {
|
||||
display: block;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, #8dbb73, #d8db78);
|
||||
transition: width 180ms ease;
|
||||
}
|
||||
|
||||
.rpg-hud__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.35rem;
|
||||
align-content: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.archive-world__hud button,
|
||||
.archive-world__controls button,
|
||||
.archive-world__dialog button,
|
||||
.archive-world__panel button {
|
||||
border: 1px solid #d6b777;
|
||||
border-radius: 6px;
|
||||
background: #fff3d2;
|
||||
color: #2b2116;
|
||||
font: inherit;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.archive-world__hud button {
|
||||
padding: 0.48rem 0.62rem;
|
||||
font-size: 0.76rem;
|
||||
}
|
||||
|
||||
.archive-world__hud button:hover,
|
||||
.archive-world__hud button:focus-visible,
|
||||
.archive-world__controls button:hover,
|
||||
.archive-world__controls button:focus-visible,
|
||||
.archive-world__dialog button:hover,
|
||||
.archive-world__dialog button:focus-visible,
|
||||
.archive-world__panel button:hover,
|
||||
.archive-world__panel button:focus-visible,
|
||||
.archive-world__panel a:focus-visible,
|
||||
.archive-world__panel select:focus-visible,
|
||||
.archive-world__panel input:focus-visible {
|
||||
border-color: #fff0b5;
|
||||
background: #fffaf0;
|
||||
box-shadow: 0 0 0 3px rgba(255, 236, 173, 0.24);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.rpg-objective {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
align-items: baseline;
|
||||
padding: 0.55rem 0.8rem;
|
||||
border-bottom: 1px solid rgba(245, 228, 183, 0.16);
|
||||
background: #24342b;
|
||||
color: #fff4cf;
|
||||
}
|
||||
|
||||
.rpg-objective strong {
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
.archive-world__badge {
|
||||
margin: 0;
|
||||
padding: 0.4rem 0.65rem;
|
||||
border: 1px solid #f2d483;
|
||||
border-radius: 999px;
|
||||
background: #604b1f;
|
||||
color: #fff1b6;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.archive-world__stage {
|
||||
position: relative;
|
||||
min-height: 0;
|
||||
background: #101b18;
|
||||
}
|
||||
|
||||
.archive-world__game {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
aspect-ratio: 3 / 2;
|
||||
max-height: min(72vh, 760px);
|
||||
overflow: hidden;
|
||||
outline: none;
|
||||
background: #17251e;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
.archive-world__shell:fullscreen .archive-world__stage,
|
||||
.archive-world__shell:fullscreen .archive-world__game {
|
||||
height: 100%;
|
||||
max-height: none;
|
||||
aspect-ratio: auto;
|
||||
}
|
||||
|
||||
.archive-world__game:focus-visible {
|
||||
box-shadow: inset 0 0 0 4px #fff0a9;
|
||||
}
|
||||
|
||||
.archive-world__game canvas {
|
||||
display: block;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
.archive-world__loading {
|
||||
position: absolute;
|
||||
inset: 45% 0 auto;
|
||||
margin: 0;
|
||||
color: #f5e4b7;
|
||||
text-align: center;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.archive-world[data-game-ready="true"] .archive-world__loading {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rpg-boss {
|
||||
position: absolute;
|
||||
z-index: 25;
|
||||
top: 0.65rem;
|
||||
left: 50%;
|
||||
width: min(520px, 82%);
|
||||
padding: 0.45rem 0.65rem;
|
||||
border: 1px solid #f0bfd0;
|
||||
border-radius: 7px;
|
||||
background: rgba(21, 12, 20, 0.9);
|
||||
color: #ffe9f0;
|
||||
text-align: center;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.rpg-meter--boss {
|
||||
height: 11px;
|
||||
margin-top: 0.25rem;
|
||||
border-color: #df8ca8;
|
||||
}
|
||||
|
||||
.rpg-meter--boss i {
|
||||
background: linear-gradient(90deg, #80324e, #d97691);
|
||||
}
|
||||
|
||||
.archive-world__controls {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.8rem;
|
||||
border-top: 2px solid #6e5738;
|
||||
background: #2d3f33;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.archive-world__dpad {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 46px);
|
||||
grid-template-rows: repeat(2, 42px);
|
||||
gap: 0.3rem;
|
||||
}
|
||||
|
||||
.archive-world__action-pad {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(84px, 1fr));
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.archive-world__dpad [data-world-move="up"] {
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
.archive-world__dpad [data-world-move="left"] {
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
.archive-world__dpad [data-world-move="down"] {
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
.archive-world__dpad [data-world-move="right"] {
|
||||
grid-column: 3;
|
||||
}
|
||||
|
||||
.archive-world__controls button {
|
||||
min-height: 42px;
|
||||
padding: 0.5rem 0.8rem;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
.archive-world__action-pad [data-world-attack],
|
||||
.archive-world__action-pad [data-world-interact] {
|
||||
min-height: 54px;
|
||||
background: #f5d98d;
|
||||
}
|
||||
|
||||
.archive-world__status,
|
||||
.archive-world__instructions,
|
||||
.archive-world__prompt {
|
||||
margin: 0;
|
||||
padding: 0.65rem 1rem;
|
||||
color: #f5e4b7;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.archive-world__prompt {
|
||||
padding-bottom: 0.15rem;
|
||||
color: #fff0b7;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.archive-world__status {
|
||||
padding-top: 0.2rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.archive-world__instructions {
|
||||
padding-top: 0;
|
||||
color: #cbbd9d;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.archive-world__overlay {
|
||||
position: absolute;
|
||||
z-index: 60;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: clamp(0.6rem, 2vw, 1.5rem);
|
||||
background: rgba(9, 15, 12, 0.78);
|
||||
backdrop-filter: blur(2px);
|
||||
}
|
||||
|
||||
.archive-world__overlay[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.archive-world__panel {
|
||||
width: min(720px, 100%);
|
||||
max-height: 96%;
|
||||
overflow: auto;
|
||||
border: 3px double #9c7846;
|
||||
border-radius: 6px;
|
||||
background:
|
||||
linear-gradient(rgba(255, 255, 255, 0.26), transparent 30%),
|
||||
var(--world-panel);
|
||||
color: #2a2118;
|
||||
box-shadow: 0 20px 80px rgba(0, 0, 0, 0.58);
|
||||
}
|
||||
|
||||
.archive-world__panel > header {
|
||||
position: sticky;
|
||||
z-index: 2;
|
||||
top: 0;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
justify-content: space-between;
|
||||
align-items: start;
|
||||
padding: 0.85rem 1rem;
|
||||
border-bottom: 2px solid #a6834f;
|
||||
background: #e8d5aa;
|
||||
}
|
||||
|
||||
.archive-world__panel h2,
|
||||
.archive-world__panel h3,
|
||||
.archive-world__dialog h2 {
|
||||
font-family: Georgia, "Times New Roman", serif;
|
||||
}
|
||||
|
||||
.archive-world__panel h2 {
|
||||
margin: 0.15rem 0 0;
|
||||
}
|
||||
|
||||
.archive-world__panel > header button {
|
||||
min-width: 42px;
|
||||
min-height: 42px;
|
||||
padding: 0;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.archive-world__panel-body {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.archive-world__panel blockquote {
|
||||
margin: 0.9rem 0;
|
||||
padding: 0.8rem;
|
||||
border-left: 4px solid var(--world-moss);
|
||||
background: rgba(255, 255, 255, 0.46);
|
||||
}
|
||||
|
||||
.rpg-panel__landmark-icon {
|
||||
float: right;
|
||||
margin: 0 0 0.5rem 0.8rem;
|
||||
color: #8b6828;
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
.rpg-panel__facts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0.55rem;
|
||||
}
|
||||
|
||||
.rpg-panel__facts div {
|
||||
padding: 0.55rem;
|
||||
border: 1px solid #c1a87d;
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.34);
|
||||
}
|
||||
|
||||
.rpg-panel__facts dt {
|
||||
color: #66563d;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.rpg-panel__facts dd {
|
||||
margin: 0.2rem 0 0;
|
||||
}
|
||||
|
||||
.rpg-panel__actions,
|
||||
.rpg-panel__puzzle-buttons,
|
||||
.rpg-menu-tabs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.55rem;
|
||||
margin: 0.9rem 0;
|
||||
}
|
||||
|
||||
.archive-world__panel button {
|
||||
min-height: 42px;
|
||||
padding: 0.6rem 0.8rem;
|
||||
}
|
||||
|
||||
.rpg-panel__complete {
|
||||
color: #2e6237;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.rpg-panel__destinations {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0.5rem;
|
||||
margin-top: 1rem;
|
||||
padding-top: 0.8rem;
|
||||
border-top: 1px solid #b99d70;
|
||||
}
|
||||
|
||||
.rpg-panel__destinations h3 {
|
||||
grid-column: 1 / -1;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.rpg-panel__destinations a {
|
||||
padding: 0.65rem;
|
||||
border: 1px solid #a88654;
|
||||
border-radius: 5px;
|
||||
background: var(--world-paper);
|
||||
color: #302516;
|
||||
font-weight: 800;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.rpg-panel__hint,
|
||||
.rpg-panel__note {
|
||||
color: #6f614d;
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.rpg-panel__sequence {
|
||||
min-height: 1.5em;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.archive-world__panel form,
|
||||
.archive-world__panel label {
|
||||
display: grid;
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.archive-world__panel form {
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.archive-world__panel select,
|
||||
.archive-world__panel input[type="range"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.archive-world__panel select {
|
||||
min-height: 42px;
|
||||
border: 1px solid #9c7846;
|
||||
border-radius: 4px;
|
||||
padding: 0.45rem;
|
||||
background: #fff9e9;
|
||||
color: #2a2118;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.rpg-menu-tabs {
|
||||
position: sticky;
|
||||
top: 76px;
|
||||
z-index: 1;
|
||||
padding: 0.45rem;
|
||||
background: #efe2c2;
|
||||
}
|
||||
|
||||
.rpg-menu-tabs [aria-current="page"] {
|
||||
background: #385341;
|
||||
color: #fff8e7;
|
||||
}
|
||||
|
||||
.rpg-menu-list {
|
||||
display: grid;
|
||||
gap: 0.55rem;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.rpg-menu-list li {
|
||||
display: grid;
|
||||
gap: 0.18rem;
|
||||
padding: 0.7rem;
|
||||
border: 1px solid #b89b6c;
|
||||
border-radius: 5px;
|
||||
background: rgba(255, 255, 255, 0.38);
|
||||
}
|
||||
|
||||
.rpg-menu-list li.is-complete {
|
||||
border-color: #6d966c;
|
||||
background: #e1edd5;
|
||||
}
|
||||
|
||||
.rpg-menu-list small,
|
||||
.rpg-menu-list span {
|
||||
color: #665a46;
|
||||
}
|
||||
|
||||
.rpg-inventory li {
|
||||
grid-template-columns: 48px minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.rpg-item-icon {
|
||||
display: block;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border: 1px solid #9b7948;
|
||||
border-radius: 6px;
|
||||
background-color: #e7d4aa;
|
||||
background-image: url("/assets/images/play/archive-world/v2/item-atlas.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 176px 176px;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
.rpg-item-icon--0 { background-position: 0 0; }
|
||||
.rpg-item-icon--1 { background-position: -44px 0; }
|
||||
.rpg-item-icon--2 { background-position: -88px 0; }
|
||||
.rpg-item-icon--3 { background-position: -132px 0; }
|
||||
.rpg-item-icon--4 { background-position: 0 -44px; }
|
||||
.rpg-item-icon--5 { background-position: -44px -44px; }
|
||||
.rpg-item-icon--6 { background-position: -88px -44px; }
|
||||
.rpg-item-icon--7 { background-position: -132px -44px; }
|
||||
.rpg-item-icon--8 { background-position: 0 -88px; }
|
||||
.rpg-item-icon--9 { background-position: -44px -88px; }
|
||||
.rpg-item-icon--10 { background-position: -88px -88px; }
|
||||
.rpg-item-icon--11 { background-position: -132px -88px; }
|
||||
.rpg-item-icon--12 { background-position: 0 -132px; }
|
||||
|
||||
.rpg-controls-list div {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(90px, 0.35fr) 1fr;
|
||||
gap: 0.6rem;
|
||||
padding: 0.45rem 0;
|
||||
border-bottom: 1px solid #c9b38e;
|
||||
}
|
||||
|
||||
.rpg-controls-list dt {
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.rpg-controls-list dd {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.rpg-toggle {
|
||||
grid-template-columns: auto 1fr !important;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.rpg-danger {
|
||||
border-color: #a34e57 !important;
|
||||
background: #f3c8c5 !important;
|
||||
}
|
||||
|
||||
.archive-world__dialog {
|
||||
width: min(92vw, 620px);
|
||||
max-height: 86vh;
|
||||
overflow: auto;
|
||||
border: 2px solid var(--world-line);
|
||||
border-radius: 10px;
|
||||
padding: 1.2rem;
|
||||
background:
|
||||
linear-gradient(rgba(255, 255, 255, 0.45), transparent 50%),
|
||||
var(--world-panel);
|
||||
color: #2b2116;
|
||||
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
|
||||
}
|
||||
|
||||
.archive-world__dialog::backdrop {
|
||||
background: rgba(15, 24, 19, 0.78);
|
||||
backdrop-filter: blur(3px);
|
||||
}
|
||||
|
||||
.archive-world__dialog h2 {
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
|
||||
.archive-world__dialog form,
|
||||
.archive-world__dialog label,
|
||||
.archive-world__dialog fieldset {
|
||||
display: grid;
|
||||
gap: 0.65rem;
|
||||
}
|
||||
|
||||
.archive-world__dialog input[type="text"] {
|
||||
width: 100%;
|
||||
border: 1px solid var(--world-line);
|
||||
border-radius: 6px;
|
||||
padding: 0.7rem;
|
||||
background: var(--world-paper);
|
||||
color: #2b2116;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.archive-world__dialog fieldset {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
border: 1px solid #b79b70;
|
||||
}
|
||||
|
||||
.archive-world__dialog fieldset label {
|
||||
display: flex;
|
||||
gap: 0.4rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.archive-world__dialog button {
|
||||
padding: 0.65rem 0.85rem;
|
||||
}
|
||||
|
||||
.palette-swatch {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border: 2px solid #392e22;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.palette-swatch--brass { background: #f1c46f; }
|
||||
.palette-swatch--moss { background: #91c788; }
|
||||
.palette-swatch--berry { background: #d894ad; }
|
||||
|
||||
.archive-world__error {
|
||||
min-height: 1.4em;
|
||||
margin: 0;
|
||||
color: #8b2635;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.archive-world__directory {
|
||||
margin-top: 1.5rem;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.archive-world__directory summary {
|
||||
padding: 0.9rem 1rem;
|
||||
font-weight: 900;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.archive-world__directory > p {
|
||||
margin: 0;
|
||||
padding: 0 1rem 0.8rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.archive-world__directory-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0.8rem;
|
||||
padding: 0 1rem 1rem;
|
||||
}
|
||||
|
||||
.archive-world__directory-grid section {
|
||||
padding: 0.8rem;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.archive-world__directory-grid h2 {
|
||||
margin: 0 0 0.45rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.archive-world__noscript {
|
||||
padding: 0.8rem;
|
||||
border-left: 4px solid var(--world-brass);
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.play-hero,
|
||||
.play-console,
|
||||
.sigil-tool {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.play-orbit {
|
||||
min-height: 260px;
|
||||
}
|
||||
|
||||
.memory-board {
|
||||
grid-template-columns: repeat(3, minmax(64px, 1fr));
|
||||
}
|
||||
|
||||
.book-spine {
|
||||
width: calc(50% - 0.4rem);
|
||||
min-height: 160px;
|
||||
}
|
||||
|
||||
.archive-world__hud {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.rpg-hud__actions {
|
||||
grid-column: 1 / -1;
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.archive-world__game {
|
||||
min-height: 360px;
|
||||
max-height: 62vh;
|
||||
}
|
||||
|
||||
.archive-world__dialog fieldset,
|
||||
.rpg-panel__facts,
|
||||
.rpg-panel__destinations,
|
||||
.archive-world__directory-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.rpg-objective {
|
||||
display: grid;
|
||||
gap: 0.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.archive-world__game {
|
||||
min-height: 300px;
|
||||
}
|
||||
|
||||
.archive-world__controls {
|
||||
justify-content: space-between;
|
||||
gap: 0.4rem;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.archive-world__dpad {
|
||||
grid-template-columns: repeat(3, 38px);
|
||||
grid-template-rows: repeat(2, 40px);
|
||||
}
|
||||
|
||||
.archive-world__action-pad {
|
||||
grid-template-columns: repeat(2, minmax(64px, 1fr));
|
||||
}
|
||||
|
||||
.archive-world__controls button {
|
||||
min-height: 40px;
|
||||
padding: 0.4rem 0.5rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.archive-world__panel {
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.archive-world__panel-body {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.rpg-menu-tabs {
|
||||
top: 70px;
|
||||
}
|
||||
|
||||
.rpg-inventory li {
|
||||
grid-template-columns: 44px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.rpg-inventory li button {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.archive-world *,
|
||||
.archive-world *::before,
|
||||
.archive-world *::after {
|
||||
scroll-behavior: auto !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
}
|
||||
|
||||
.rpg-meter i {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
626
assets/styles/pages/princess-lima-rpg.css
Normal file
626
assets/styles/pages/princess-lima-rpg.css
Normal file
@@ -0,0 +1,626 @@
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
--lima-bg: #080a12;
|
||||
--lima-panel: #111827;
|
||||
--lima-panel-strong: #182238;
|
||||
--lima-border: #d2a85c;
|
||||
--lima-text: #fff5df;
|
||||
--lima-muted: #c8c3b8;
|
||||
--lima-accent: #ffd47b;
|
||||
--lima-blue: #3d73a8;
|
||||
--lima-danger: #bd4a56;
|
||||
--lima-focus: #7ee7ff;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
background: var(--lima-bg);
|
||||
color: var(--lima-text);
|
||||
font-family: Inter, "Noto Sans", system-ui, sans-serif;
|
||||
}
|
||||
|
||||
button,
|
||||
input,
|
||||
select {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
.lima-button-link,
|
||||
.lima-exit {
|
||||
min-height: 44px;
|
||||
border: 2px solid #b99150;
|
||||
border-radius: 5px;
|
||||
background: #202d43;
|
||||
color: var(--lima-text);
|
||||
padding: 0.65rem 1rem;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button:hover,
|
||||
.lima-button-link:hover,
|
||||
.lima-exit:hover {
|
||||
background: #2b4162;
|
||||
border-color: var(--lima-accent);
|
||||
}
|
||||
|
||||
button:active {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.48;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 4px solid var(--lima-focus);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.lima-rpg {
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
height: 100dvh;
|
||||
overflow: hidden;
|
||||
background: #080a12;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.lima-rpg::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -2;
|
||||
background:
|
||||
linear-gradient(90deg, rgb(5 8 16 / 0.82), rgb(5 8 16 / 0.15) 60%, rgb(5 8 16 / 0.45)),
|
||||
url("/assets/images/play/princess-lima/title-landscape.png") center / cover no-repeat;
|
||||
}
|
||||
|
||||
.lima-rpg__game {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: #080a12;
|
||||
}
|
||||
|
||||
.lima-rpg__game canvas {
|
||||
display: block;
|
||||
max-width: 100vw;
|
||||
max-height: 100dvh;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
.lima-rpg__loading,
|
||||
.lima-main-menu,
|
||||
.lima-setup {
|
||||
position: absolute;
|
||||
z-index: 50;
|
||||
left: clamp(1rem, 6vw, 6rem);
|
||||
top: 50%;
|
||||
width: min(31rem, calc(100vw - 2rem));
|
||||
transform: translateY(-50%);
|
||||
border: 3px solid var(--lima-border);
|
||||
border-radius: 8px;
|
||||
background: rgb(10 15 27 / 0.96);
|
||||
box-shadow: 0 20px 70px rgb(0 0 0 / 0.7);
|
||||
padding: clamp(1.2rem, 3vw, 2.4rem);
|
||||
}
|
||||
|
||||
.lima-rpg__loading {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.lima-rpg__loading strong {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.lima-main-menu__eyebrow,
|
||||
.lima-panel__eyebrow {
|
||||
margin: 0 0 0.4rem;
|
||||
color: var(--lima-accent);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: 0.16em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.lima-main-menu h1 {
|
||||
margin: 0;
|
||||
color: #fff6d8;
|
||||
font-family: Georgia, serif;
|
||||
font-size: clamp(2.4rem, 6vw, 4.7rem);
|
||||
line-height: 0.94;
|
||||
text-shadow: 0 4px #2f1822;
|
||||
}
|
||||
|
||||
.lima-main-menu__tagline {
|
||||
max-width: 36ch;
|
||||
color: var(--lima-muted);
|
||||
font-size: 1.04rem;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.lima-menu-stack {
|
||||
display: grid;
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
.lima-menu-stack a {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.lima-primary {
|
||||
background: #8f5b28;
|
||||
border-color: #f2c36c;
|
||||
}
|
||||
|
||||
.lima-danger {
|
||||
background: #612c38;
|
||||
border-color: #e7888f;
|
||||
}
|
||||
|
||||
.lima-exit {
|
||||
position: absolute;
|
||||
z-index: 80;
|
||||
top: 0.75rem;
|
||||
right: 0.75rem;
|
||||
min-height: 36px;
|
||||
padding: 0.4rem 0.75rem;
|
||||
background: rgb(9 13 23 / 0.9);
|
||||
font-size: 0.86rem;
|
||||
}
|
||||
|
||||
.lima-hud {
|
||||
position: absolute;
|
||||
z-index: 30;
|
||||
inset: 0.75rem 10rem auto 0.75rem;
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(12rem, 22rem) minmax(10rem, 1fr) auto;
|
||||
gap: 0.55rem;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.lima-hud > div {
|
||||
min-height: 58px;
|
||||
border: 2px solid rgb(214 174 99 / 0.72);
|
||||
border-radius: 5px;
|
||||
background: rgb(8 12 22 / 0.93);
|
||||
padding: 0.45rem 0.65rem;
|
||||
}
|
||||
|
||||
.lima-hud span {
|
||||
display: block;
|
||||
color: #c9c4b8;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.lima-hud strong {
|
||||
display: block;
|
||||
margin-top: 0.18rem;
|
||||
color: #fff7df;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lima-hud__healthbar,
|
||||
.lima-boss__bar {
|
||||
height: 8px;
|
||||
margin-top: 0.38rem;
|
||||
overflow: hidden;
|
||||
border-radius: 999px;
|
||||
background: #351d29;
|
||||
}
|
||||
|
||||
.lima-hud__healthbar i,
|
||||
.lima-boss__bar i {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, #5bba6f, #d8df73);
|
||||
}
|
||||
|
||||
.lima-hud__actions {
|
||||
display: flex;
|
||||
gap: 0.4rem;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.lima-hud__actions button {
|
||||
min-width: 48px;
|
||||
min-height: 48px;
|
||||
padding: 0.4rem;
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.lima-status-stack {
|
||||
position: absolute;
|
||||
z-index: 25;
|
||||
left: 50%;
|
||||
bottom: 1rem;
|
||||
width: min(44rem, calc(100vw - 2rem));
|
||||
transform: translateX(-50%);
|
||||
text-align: center;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.lima-prompt,
|
||||
.lima-status {
|
||||
display: table;
|
||||
margin: 0.35rem auto;
|
||||
border: 2px solid rgb(207 172 103 / 0.72);
|
||||
border-radius: 4px;
|
||||
background: rgb(5 8 15 / 0.94);
|
||||
color: #fff5d9;
|
||||
padding: 0.48rem 0.8rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.lima-status {
|
||||
color: #d7d4cc;
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
.lima-boss {
|
||||
position: absolute;
|
||||
z-index: 35;
|
||||
top: 5.2rem;
|
||||
left: 50%;
|
||||
width: min(34rem, calc(100vw - 2rem));
|
||||
transform: translateX(-50%);
|
||||
border: 2px solid #bd6d8b;
|
||||
background: rgb(18 8 25 / 0.95);
|
||||
padding: 0.55rem 0.8rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.lima-boss__bar i {
|
||||
background: linear-gradient(90deg, #9d3961, #e28f98);
|
||||
}
|
||||
|
||||
.lima-touch {
|
||||
position: absolute;
|
||||
z-index: 40;
|
||||
inset: auto 0.8rem 0.8rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.lima-dpad,
|
||||
.lima-actions {
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.lima-dpad {
|
||||
grid-template-columns: repeat(3, 54px);
|
||||
grid-template-rows: repeat(2, 54px);
|
||||
}
|
||||
|
||||
.lima-dpad button {
|
||||
min-height: 54px;
|
||||
padding: 0;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.lima-dpad [data-lima-move="up"] { grid-column: 2; }
|
||||
.lima-dpad [data-lima-move="left"] { grid-column: 1; grid-row: 2; }
|
||||
.lima-dpad [data-lima-move="down"] { grid-column: 2; grid-row: 2; }
|
||||
.lima-dpad [data-lima-move="right"] { grid-column: 3; grid-row: 2; }
|
||||
|
||||
.lima-actions {
|
||||
grid-template-columns: repeat(2, minmax(70px, 96px));
|
||||
}
|
||||
|
||||
.lima-overlay,
|
||||
.lima-setup {
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.lima-overlay {
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: rgb(3 5 10 / 0.78);
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.lima-panel {
|
||||
width: min(46rem, 100%);
|
||||
max-height: min(82dvh, 48rem);
|
||||
overflow: auto;
|
||||
border: 3px solid var(--lima-border);
|
||||
border-radius: 7px;
|
||||
background: var(--lima-panel);
|
||||
box-shadow: 0 22px 80px rgb(0 0 0 / 0.8);
|
||||
}
|
||||
|
||||
.lima-panel > header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
border-bottom: 2px solid #8a6a3d;
|
||||
background: var(--lima-panel-strong);
|
||||
padding: 0.85rem 1rem;
|
||||
}
|
||||
|
||||
.lima-panel h2 {
|
||||
margin: 0;
|
||||
color: #fff2cf;
|
||||
font-family: Georgia, serif;
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
|
||||
.lima-panel__body {
|
||||
padding: 1rem;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.lima-panel-lead {
|
||||
border-left: 4px solid var(--lima-accent);
|
||||
background: #0b1220;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.lima-list {
|
||||
display: grid;
|
||||
gap: 0.65rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.lima-list li {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
gap: 0.3rem 1rem;
|
||||
border: 1px solid #536076;
|
||||
border-radius: 4px;
|
||||
background: #0b1220;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.lima-list li.is-complete strong::before {
|
||||
content: "✓ ";
|
||||
}
|
||||
|
||||
.lima-list p {
|
||||
grid-column: 1 / -1;
|
||||
margin: 0;
|
||||
color: var(--lima-muted);
|
||||
}
|
||||
|
||||
.lima-dialogue {
|
||||
display: grid;
|
||||
grid-template-columns: 100px 1fr;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
min-height: 9rem;
|
||||
}
|
||||
|
||||
.lima-dialogue p {
|
||||
margin: 0;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.lima-sprite {
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
background-image: url("/assets/images/play/princess-lima/cast-atlas.png");
|
||||
background-size: 384px 384px;
|
||||
background-position: 0 0;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
.lima-sprite--4 { background-position: 0 -96px; }
|
||||
.lima-sprite--5 { background-position: -96px -96px; }
|
||||
.lima-sprite--6 { background-position: -192px -96px; }
|
||||
.lima-sprite--7 { background-position: -288px -96px; }
|
||||
.lima-sprite--8 { background-position: 0 -192px; }
|
||||
.lima-sprite--11 { background-position: -288px -192px; }
|
||||
|
||||
.lima-setting,
|
||||
.lima-check {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
min-height: 52px;
|
||||
border-bottom: 1px solid #39445a;
|
||||
}
|
||||
|
||||
.lima-setting input {
|
||||
width: min(18rem, 52vw);
|
||||
}
|
||||
|
||||
.lima-check input {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.lima-confirm {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
.lima-setup {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lima-setup form {
|
||||
display: grid;
|
||||
gap: 0.85rem;
|
||||
}
|
||||
|
||||
.lima-setup h2 {
|
||||
margin: 0;
|
||||
font-family: Georgia, serif;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.lima-setup label,
|
||||
.lima-setup fieldset {
|
||||
display: grid;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
|
||||
.lima-setup input[type="text"] {
|
||||
min-height: 48px;
|
||||
border: 2px solid #7b6749;
|
||||
border-radius: 4px;
|
||||
background: #070b13;
|
||||
color: #fff;
|
||||
padding: 0.6rem;
|
||||
}
|
||||
|
||||
.lima-setup fieldset {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
border: 1px solid #786649;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.lima-setup fieldset legend {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.lima-setup fieldset label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.lima-setup__error {
|
||||
min-height: 1.4em;
|
||||
color: #ffb1b9;
|
||||
}
|
||||
|
||||
.lima-rpg.is-high-contrast {
|
||||
--lima-panel: #000;
|
||||
--lima-panel-strong: #000;
|
||||
--lima-text: #fff;
|
||||
--lima-muted: #fff;
|
||||
--lima-border: #ffdf00;
|
||||
--lima-focus: #00ffff;
|
||||
}
|
||||
|
||||
.lima-rpg:fullscreen {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.lima-rpg:fullscreen .lima-exit {
|
||||
top: 0.5rem;
|
||||
}
|
||||
|
||||
@media (pointer: fine) and (min-width: 900px) {
|
||||
.lima-touch {
|
||||
opacity: 0.18;
|
||||
}
|
||||
|
||||
.lima-touch:hover,
|
||||
.lima-touch:focus-within {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.lima-hud {
|
||||
right: 0.65rem;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.lima-hud__objective {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.lima-hud__actions {
|
||||
position: fixed;
|
||||
right: 0.6rem;
|
||||
top: 0.6rem;
|
||||
border: 0 !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.lima-hud__actions button:not([data-lima-pause]) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.lima-main-menu,
|
||||
.lima-rpg__loading,
|
||||
.lima-setup {
|
||||
left: 1rem;
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
.lima-status-stack {
|
||||
bottom: 7.4rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-height: 560px) and (orientation: landscape) {
|
||||
.lima-hud {
|
||||
inset: 0.35rem 5rem auto 0.35rem;
|
||||
grid-template-columns: auto auto 1fr auto;
|
||||
}
|
||||
|
||||
.lima-hud > div {
|
||||
min-height: 48px;
|
||||
padding: 0.3rem 0.5rem;
|
||||
}
|
||||
|
||||
.lima-touch {
|
||||
inset: auto 0.35rem 0.35rem;
|
||||
}
|
||||
|
||||
.lima-status-stack {
|
||||
bottom: 0.35rem;
|
||||
}
|
||||
|
||||
.lima-status {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.lima-main-menu {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.lima-main-menu h1 {
|
||||
font-size: 2.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
scroll-behavior: auto !important;
|
||||
transition: none !important;
|
||||
animation: none !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user