SOURCE / PINNED RELEASE
Made of little things.
Black Site
- Release
- 666bc7c74ebd…
- Author-recorded commit
- 05e95af79676…
- License
- LICENSE
- Author’s source reference
- nostr://npub12lm3rxsva8kfempyjkxupt09e02n3fezurkyadyqfejdc5e0r2kscqty6r/wss%3A%2F%2Fgit.napplet.soy%2F/n-d2225ddc391
Archive hash verified: 1544e072e245c4a8…. The source-to-build association is the author’s claim; it has not been independently rebuilt.
/* Napplet-only additions to the game's own styles (src/game/game.css). */
/* fill the runtime frame */
html, body, #app { height: 100%; }
/* The game needs room for its HUD and inventory panels; below that, say so instead of clipping. */
#tooSmall {
position: fixed;
inset: 0;
z-index: 50;
display: none;
align-items: center;
justify-content: center;
padding: 16px;
text-align: center;
background: #0b0c0d;
color: #e6eadf;
font: 600 14px/1.5 Bahnschrift, 'Arial Narrow', 'Segoe UI', sans-serif;
letter-spacing: 2px;
}
@media (max-width: 559px), (max-height: 379px) {
#tooSmall { display: flex; }
}
/* Player account and help belong to the game's existing military menu. */
#menu #currentUser {
display: flex;
align-items: center;
gap: 12px;
margin-top: 12px;
border-left: 3px solid var(--acc);
color: var(--acc);
letter-spacing: 1px;
overflow-wrap: anywhere;
min-height: 44px;
}
#currentUser::after { content: '›'; margin-left: auto; }
.player-label { min-width: 0; overflow-wrap: anywhere; }
.player-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; overflow: hidden; background: #26301e; color: var(--acc); font-size: 15px; border: 1px solid var(--line); }
.player-avatar img { width: 100%; height: 100%; object-fit: cover; }
.player-details .player-avatar { width: 64px; height: 64px; margin-bottom: 12px; }
.account-screen {
flex-direction: column;
padding: 3vh 8vw;
overflow-y: auto;
background: radial-gradient(ellipse at 75% 35%, #1f2c1b 0%, #0b0d0b 60%);
}
.account-screen .lbar { flex-wrap: wrap; gap: 16px; }
.account-screen .lbar h2 { font-size: clamp(22px, 4vw, 36px); }
#menu .hint { display: none; }
.account-screen .hint { max-width: 760px; margin: 0; }
.help-panel, .help-sync { max-width: 760px; margin: 16px 0; padding: 16px; border: 1px solid var(--line); background: var(--panel); }
.help-panel h3, .help-sync h3 { margin-top: 0; }
.help-panel h4, .help-sync h4 { margin: 20px 0 8px; color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.help-panel p, .help-sync p, .help-sync li { margin: 0 0 8px; font-size: 14px; line-height: 1.7; letter-spacing: .5px; overflow-wrap: anywhere; }
.help-sync ul { margin: 8px 0; padding-left: 20px; }
.help-sync li { margin-bottom: 4px; }
.hint + .help-sync { margin-top: 0; }
.control-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; }
.control-group h4 { margin-top: 8px; }
.control-group dl { margin: 0; }
.control-group dl > div { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.control-group dt { flex: 0 0 auto; width: 124px; white-space: nowrap; }
.control-group dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--txt); }
.player-details { max-width: 560px; border-left: 3px solid var(--acc); padding: 16px; background: var(--panel); }
.user-name { font-size: 22px; overflow-wrap: anywhere; color: var(--acc); }
.user-status { margin-top: 8px; font-size: 14px; color: var(--dim); line-height: 1.5; }
#currentUser:focus-visible, #helpButton:focus-visible, .account-screen button:focus-visible {
outline: 2px solid var(--acc);
outline-offset: 3px;
}
/* Menu width must not depend on the length of player names or help text. */
#menu .col {
width: 560px;
min-width: min(420px, 100%);
max-width: 100%;
flex-shrink: 0;
}
.armory-sync { position: relative; padding: 16px; margin: 16px 0; border: 1px solid var(--line); max-width: 760px; background: var(--panel); }
.armory-sync h3 { margin-top: 0; }
.armory-sync p { font-size: 14px; line-height: 1.6; letter-spacing: .5px; }
.sync-disclosure { color: var(--dim); }
.sync-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sync-actions button { min-height: 44px; font-size: 12px; letter-spacing: 1px; }
.sync-actions button:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.sync-actions button:disabled { opacity: .5; cursor: default; transform: none; }
.sync-actions button[hidden] { display: none; }
#accountLoading { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: var(--panel); font-size: 18px; }
#accountLoading[hidden] { display: none; }
.armory-sync[hidden], .sync-actions[hidden] { display: none; }
.armory-sync.sync-warning { padding: 8px 12px; border-color: rgba(232, 197, 71, .35); }
.sync-warning p { margin: 0; color: var(--gold); font-size: 12px; }
