Files
serverAppConfigs/shared/homepage/style.css
T
Frank c1e192df00 homepage: app-card art, zealot-first order, common uncensored warning, admin identity gate
- Every app card carries hex-clipped art: 19 amber-tinted brand marks
  from the Simple Icons CDN plus 19 improvised monogram SVGs, wired via
  a per-service "art" field; homepage_config.bats pins art presence for
  all 32 apps.
- Model cards render zealot -> dragoon -> archon (registry order pinned
  in the seam).
- Dragoon and zealot share one common uncensored legal warning (adult
  content, harmful/hateful/illegal descriptions, sensitive offensive
  cybersecurity topics, severe legal risk, "don't ruin this server for
  everybody"), hover label on card and docs.
- Archon gets a bordered red permission callout: ask Frank before use.
- SearXNG obfuscation-not-anonymity note moved to a card-level hover
  warning (.svc-warn) and a docs hover note.
- Gitea: self-service signup flow; no need to ask Frank.
- Footer docs/admin/account-settings become glowing bordered buttons;
  the admin button is shown only to homepage-admins members via a new
  Caddy /whoami endpoint echoing the outpost-injected X-Authentik-*
  headers (spoof-proof; the /admin* 403 stays the real gate). e2e pins
  both sides.
- Docs naming swept: Protoss names primary, bracketed api ids, explicit
  note that a future switchover renames the ids themselves.
2026-10-08 03:21:26 -07:00

244 lines
9.2 KiB
CSS

/* The homepage theme: terminal TUI, amber-on-black, CRT-AMBIOS palette with
the VT323 bitmap font (Google Fonts CDN). A ?bare=1 toggle strips the page
to bare, unstyled HTML (Q27). The page never sets a custom or hidden cursor,
so the user's cursor is untouched (Q28). */
:root {
--bg: #0a0600;
--fg: #ffb000;
--dim: #a06a00;
--down: #ff5555;
--wip: #ffcc33;
--link: #ffd75f;
--head: #ffe9a8;
--border: #5c3d00;
--panel: #150c02;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
background: var(--bg);
color: var(--fg);
font-family: "VT323", "Terminus", "Fira Code", "DejaVu Sans Mono", "Consolas", monospace;
font-size: 19px;
line-height: 1.4;
margin: 0;
padding: 24px;
text-shadow: 0 0 4px rgba(255, 176, 0, 0.30);
}
/* Subtle scanlines. */
body::before {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
z-index: 9999;
background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, 0.14) 2px 4px);
}
.top {
display: flex;
justify-content: space-between;
align-items: baseline;
border-bottom: 1px solid var(--border);
padding-bottom: 8px;
}
.title { color: var(--head); }
.summary { color: var(--dim); margin: 12px 0; letter-spacing: 0.05em; }
/* Sections stack vertically; each section's panels fill a horizontal
auto-fill row (as many panels per row as the viewport allows). */
.section { margin-bottom: 20px; }
.section-title {
color: var(--head);
font-size: 1rem;
font-weight: normal;
letter-spacing: 0.08em;
text-transform: uppercase;
border-bottom: 1px solid var(--border);
margin: 0 0 12px;
padding-bottom: 4px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 12px;
}
.panel { border: 1px solid var(--border); background: var(--panel); padding: 12px 14px; border-radius: 2px; }
.panel-head { display: flex; align-items: center; gap: 8px; }
.panel-head .name { flex: 1; }
.app-art {
width: 40px;
height: 40px;
flex: 0 0 auto;
object-fit: contain;
padding: 4px;
clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%);
border: 1px solid var(--dim);
background: color-mix(in srgb, var(--fg) 8%, transparent);
filter: saturate(0.85) brightness(0.95);
}
.name { color: var(--head); }
.badge { border: 1px solid currentColor; padding: 0 6px; border-radius: 2px; font-size: 12px; }
.badge.up { color: var(--fg); }
.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); }
.desc-equiv { color: var(--head); font-style: italic; }
.desc-inputs { color: var(--dim); }
.desc-use { color: var(--fg); margin-top: 4px; }
.links a { color: var(--link); text-decoration: underline; margin-right: 12px; }
.foot {
margin-top: 24px;
border-top: 1px solid var(--border);
padding-top: 12px;
color: var(--dim);
display: flex;
justify-content: space-between;
}
.foot a { color: var(--link); text-decoration: none; }
.foot-links { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-btn {
border: 1px solid var(--link);
padding: 2px 14px;
border-radius: 2px;
text-transform: uppercase;
letter-spacing: 1px;
text-shadow: 0 0 6px color-mix(in srgb, var(--link) 55%, transparent);
}
.foot-btn:hover {
background: color-mix(in srgb, var(--link) 16%, transparent);
box-shadow: 0 0 10px color-mix(in srgb, var(--link) 45%, transparent);
}
/* The user docs page (static prose). */
.docs { max-width: 780px; }
.docs h1 { color: var(--head); font-size: 1.7rem; border-bottom: 1px solid var(--border); padding-bottom: 4px; }
.docs h2 { color: var(--head); font-size: 1.35rem; margin-top: 20px; }
.docs a { color: var(--link); }
.docs code { color: var(--head); }
.docs pre { background: var(--panel); border: 1px solid var(--border); border-radius: 2px; padding: 10px 12px; overflow-x: auto; }
.docs pre code { color: var(--fg); }
.docs img { display: block; max-width: 100%; border: 1px solid var(--border); border-radius: 2px; margin: 10px 0; }
.docs .key-warn { color: var(--down); }
.docs [title].key-warn { cursor: help;
text-decoration: underline dotted color-mix(in srgb, var(--down) 60%, transparent); }
.docs .foot-note { color: var(--dim); }
html[data-bare="1"] .docs h1, html[data-bare="1"] .docs h2 { color: #000; border-color: #000; }
html[data-bare="1"] .docs a, html[data-bare="1"] .docs code { color: #000; }
html[data-bare="1"] .docs pre { background: none; border-color: #000; }
html[data-bare="1"] .docs pre code { color: #000; }
html[data-bare="1"] .docs img { border-color: #000; }
html[data-bare="1"] .docs .key-warn { color: #000; }
/* Bare mode (Q27): strip to default browser rendering. */
html[data-bare="1"] body { background: #fff; color: #000; font-family: serif; text-shadow: none; font-size: 16px; }
html[data-bare="1"] body::before { display: none; }
html[data-bare="1"] .panel, html[data-bare="1"] .top, html[data-bare="1"] .foot { border-color: #000; background: none; }
html[data-bare="1"] .badge, html[data-bare="1"] .name, html[data-bare="1"] .desc, html[data-bare="1"] .summary, html[data-bare="1"] .section-title { color: #000; }
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; }
html[data-bare="1"] .foot-btn { border-color: #000; text-shadow: none; }
/* 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); }
.mi-perm {
margin-top: 8px;
padding: 6px 8px;
border: 1px solid var(--down);
color: var(--down);
font-weight: bold;
text-shadow: 0 0 6px color-mix(in srgb, var(--down) 45%, transparent);
}
.svc-warn { color: var(--down); margin-top: 6px; 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; }
html[data-bare="1"] .app-art { display: none; }
html[data-bare="1"] .svc-warn, html[data-bare="1"] .mi-perm { color: #000; border: none; text-shadow: none; padding: 0; }
html[data-bare="1"] .mi-perm { border: 1px solid #000; }