role/inputs now dim (--dim), spec/use now bright (--fg). Removed the now-unused --input spring-green variable.
115 lines
4.0 KiB
CSS
115 lines
4.0 KiB
CSS
/* The homepage theme: terminal TUI, green-on-black, 1995 phosphor palette.
|
|
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: #050805;
|
|
--fg: #33ff66;
|
|
--dim: #2f8f52;
|
|
--down: #ff5555;
|
|
--wip: #ffcc33;
|
|
--link: #33ccff;
|
|
--head: #aaffcc;
|
|
--border: #1a4d2e;
|
|
--panel: #0a120a;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
html { background: var(--bg); }
|
|
|
|
body {
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
font-family: "Terminus", "Fira Code", "DejaVu Sans Mono", "Consolas", monospace;
|
|
font-size: 15px;
|
|
line-height: 1.55;
|
|
margin: 0;
|
|
padding: 24px;
|
|
text-shadow: 0 0 4px rgba(51, 255, 102, 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; justify-content: space-between; align-items: center; }
|
|
.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); }
|
|
.desc { color: var(--fg); margin: 8px 0; }
|
|
.desc-role { color: var(--dim); font-weight: bold; }
|
|
.desc-spec { color: var(--fg); }
|
|
.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; }
|
|
|
|
/* The user docs page (static prose). */
|
|
.docs { max-width: 780px; }
|
|
.docs h1 { color: var(--head); font-size: 1.25rem; border-bottom: 1px solid var(--border); padding-bottom: 4px; }
|
|
.docs h2 { color: var(--head); font-size: 1.05rem; margin-top: 20px; }
|
|
.docs a { color: var(--link); }
|
|
.docs code { color: var(--head); }
|
|
.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; }
|
|
|
|
/* 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 { 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; }
|