homepage: Protoss rename + fused Model Information component
The model cards become the StarCraft trio: frank-large -> frank-dragoon, frank-primary -> frank-archon, frank-secondary -> frank-zealot (family names only; endpoint/API ids unchanged). The three cards fuse into one Model Information component: per-unit Protoss accent colours and hex- clipped unit art, 15px type, clickable StarCraft unit-voice quotations (original .ogg files from the fandom wiki, served from /sfx/), supervision notes (dragoon/archon safe for autonomous use, zealot tight supervision), compaction-model recommendation for frank-zealot, and uncensored-model legal notes rendered as hover tooltips instead of wall text. docs.html carries the same renames plus api-id mapping. App-card updates: Seerr, Calibre-Web, RomM, Jellyfin set to WIP: DOWN with Open links removed (new wip "down" badge state); Copyparty notes it serves all other media apps content including WIP apps; Gitea and Plex noted as needing logins separate from SSO; SearXNG noted as obfuscated, not anonymous (upstream API keys tie to Frank). Plumbing: Caddy @data allowlist grew /sfx/*; deploy_homepage copies sfx/; homepage_config.bats pins the new probe names, the component fields, art/voice-file presence, and the wip-down schema.
This commit is contained in:
1 parent
74da746c51
commit
203b0be145
19 files changed
+312
-88
No files matched your search
@@ -78,6 +78,7 @@ body::before {
|
||||
.badge.down { color: var(--down); }
|
||||
.badge.wip-open { color: var(--wip); }
|
||||
.badge.wip-closed { color: var(--dim); }
|
||||
.badge.wip-down { color: var(--down); }
|
||||
.desc { color: var(--fg); margin: 8px 0; }
|
||||
.desc-role { color: var(--dim); font-weight: bold; }
|
||||
.desc-spec { color: var(--fg); }
|
||||
@@ -122,3 +123,80 @@ html[data-bare="1"] .badge, html[data-bare="1"] .name, html[data-bare="1"] .desc
|
||||
html[data-bare="1"] .desc-role, html[data-bare="1"] .desc-spec, html[data-bare="1"] .desc-inputs, html[data-bare="1"] .desc-use, html[data-bare="1"] .desc-equiv { color: #000; font-weight: normal; }
|
||||
html[data-bare="1"] .section-title { border-color: #000; }
|
||||
html[data-bare="1"] .links a, html[data-bare="1"] .toggle, html[data-bare="1"] .foot a { color: #000; }
|
||||
|
||||
/* Model Information: one fused panel for the fleet models. Informational
|
||||
panels, so the type is smaller than the app panels; each model wears its
|
||||
StarCraft Protoss unit's colours and art. */
|
||||
.model-info { grid-column: 1 / -1; }
|
||||
.mi-title {
|
||||
color: var(--head);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.12em;
|
||||
border-bottom: 1px solid var(--border);
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
.mi-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
.mi-card {
|
||||
font-size: 15px;
|
||||
line-height: 1.35;
|
||||
border: 1px solid var(--mi);
|
||||
border-radius: 2px;
|
||||
padding: 10px 12px;
|
||||
background:
|
||||
linear-gradient(160deg, color-mix(in srgb, var(--mi) 7%, var(--panel)), var(--panel) 60%);
|
||||
box-shadow: 0 0 14px color-mix(in srgb, var(--mi) 18%, transparent),
|
||||
inset 0 0 22px color-mix(in srgb, var(--mi) 6%, transparent);
|
||||
}
|
||||
.mi-zealot { --mi: #4fb4ff; } /* Zealot: Khai's blue blades */
|
||||
.mi-archon { --mi: #a8ecff; } /* Archon: pure psychic light */
|
||||
.mi-dragoon { --mi: #ffc94d; } /* Dragoon: gold phase disruptor */
|
||||
.mi-top { display: flex; align-items: center; gap: 10px; }
|
||||
.mi-art {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
object-fit: cover;
|
||||
flex: 0 0 auto;
|
||||
clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%);
|
||||
border: 1px solid var(--mi);
|
||||
filter: saturate(0.9) brightness(0.95);
|
||||
}
|
||||
.mi-id { display: flex; align-items: baseline; gap: 8px; }
|
||||
.mi-name { color: var(--mi); font-size: 19px; text-shadow: 0 0 6px color-mix(in srgb, var(--mi) 55%, transparent); }
|
||||
.mi-role { color: var(--dim); margin: 6px 0 2px; }
|
||||
.mi-voice {
|
||||
display: block;
|
||||
appearance: none;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 2px 0;
|
||||
margin: 4px 0;
|
||||
text-align: left;
|
||||
font: inherit;
|
||||
color: var(--mi);
|
||||
cursor: pointer;
|
||||
text-decoration: underline dotted color-mix(in srgb, var(--mi) 60%, transparent);
|
||||
}
|
||||
.mi-voice:hover { text-shadow: 0 0 8px var(--mi); }
|
||||
.mi-voice.mi-speaking { animation: mi-pulse 0.7s ease-in-out infinite; }
|
||||
@keyframes mi-pulse { 50% { text-shadow: 0 0 12px var(--mi); } }
|
||||
.mi-equiv { color: var(--head); font-style: italic; margin: 4px 0; }
|
||||
.mi-spec { color: var(--fg); margin: 4px 0; }
|
||||
.mi-inputs { color: var(--dim); }
|
||||
.mi-use { color: var(--fg); margin-top: 4px; }
|
||||
.mi-super { color: var(--link); margin-top: 6px; }
|
||||
.mi-warn { color: var(--down); margin-top: 4px; cursor: help;
|
||||
text-decoration: underline dotted color-mix(in srgb, var(--down) 60%, transparent); }
|
||||
|
||||
/* Bare mode strips the model component to plain prose too. */
|
||||
html[data-bare="1"] .mi-card { border-color: #000; box-shadow: none; background: none; }
|
||||
html[data-bare="1"] .mi-art { display: none; }
|
||||
html[data-bare="1"] .mi-name { color: #000; text-shadow: none; }
|
||||
html[data-bare="1"] .mi-voice { color: #000; text-decoration: underline; }
|
||||
html[data-bare="1"] .mi-role, html[data-bare="1"] .mi-spec, html[data-bare="1"] .mi-use,
|
||||
html[data-bare="1"] .mi-inputs, html[data-bare="1"] .mi-equiv, html[data-bare="1"] .mi-super,
|
||||
html[data-bare="1"] .mi-warn { color: #000; }
|
||||
Reference in new issue
Block a user