Replace the glassy hero treatment with a terminal and TUI vocabulary while keeping the layout minimal: - Switch the type stack to JetBrains Mono and flatten every surface: hairline borders, square corners, no blur or glow, and a faint graph-paper grid in place of the radial gradients. - Rebuild the home hero as a terminal window whose output is typed in on load; the old mouse-parallax glow script becomes that typing sequence, and it no-ops under prefers-reduced-motion. - Give the projects, about, and entry panels title bars, and render cards with a metadata strip, status dot, ISO date, and prompt-style links. - Hide the inline nav behind the hamburger on narrow screens; the old rule was outranked by the #menu id selector and never applied. - Add an SVG favicon, which also clears the only 404 on the site. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
516 lines
8.8 KiB
CSS
Executable File
516 lines
8.8 KiB
CSS
Executable File
.projects-page,
|
|
.entry-page {
|
|
padding-top: 22px;
|
|
}
|
|
|
|
/* ----------------------------------------------------------- TUI panels */
|
|
|
|
.projects-hero,
|
|
.entry-shell,
|
|
.content-section {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.projects-hero {
|
|
margin-bottom: 20px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.projects-hero h1,
|
|
.entry-title {
|
|
font-size: clamp(1.3rem, 2.6vw, 1.75rem);
|
|
line-height: 1.25;
|
|
margin: 8px 0 10px;
|
|
max-width: 860px;
|
|
}
|
|
|
|
.projects-intro,
|
|
.entry-summary {
|
|
margin: 0;
|
|
max-width: 760px;
|
|
color: var(--muted);
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0;
|
|
font-size: 11px;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
color: var(--secondary);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.eyebrow::before {
|
|
content: "// ";
|
|
color: var(--border-strong);
|
|
}
|
|
|
|
.content-section {
|
|
margin-bottom: 20px;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Panel title bar, like a window chrome strip in a TUI. */
|
|
.section-heading {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin: 0;
|
|
padding: 6px 12px;
|
|
background: var(--bar);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.section-heading h2 {
|
|
margin: 0;
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.section-heading h2::before {
|
|
content: "▸ ";
|
|
color: var(--secondary);
|
|
}
|
|
|
|
.section-heading .eyebrow {
|
|
display: none;
|
|
}
|
|
|
|
.section-link {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
border: 1px solid var(--border);
|
|
padding: 1px 8px;
|
|
background: var(--surface);
|
|
}
|
|
|
|
.section-link::before {
|
|
content: "> ";
|
|
color: var(--secondary);
|
|
}
|
|
|
|
.section-link:hover {
|
|
color: var(--bright);
|
|
border-color: var(--secondary);
|
|
}
|
|
|
|
.content-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 14px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.updates-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.content-card.is-hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* ------------------------------------------------------------ TUI cards */
|
|
|
|
.content-card {
|
|
padding: 0;
|
|
background: var(--surface-alt);
|
|
border: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100%;
|
|
scroll-margin-top: 80px;
|
|
transition:
|
|
border-color 0.12s linear,
|
|
background-color 0.12s linear;
|
|
}
|
|
|
|
.content-card:hover {
|
|
border-color: var(--border-strong);
|
|
}
|
|
|
|
.content-card.featured {
|
|
border-color: rgba(235, 82, 52, 0.42);
|
|
}
|
|
|
|
body.light .content-card.featured {
|
|
border-color: rgba(200, 64, 31, 0.42);
|
|
}
|
|
|
|
.card-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin: 0;
|
|
padding: 4px 12px;
|
|
background: var(--bar);
|
|
border-bottom: 1px solid var(--border);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.card-kicker {
|
|
color: var(--secondary);
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.card-date {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.card-status {
|
|
margin-left: auto;
|
|
color: var(--muted);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.card-status::before {
|
|
content: "";
|
|
width: 6px;
|
|
height: 6px;
|
|
background: var(--muted);
|
|
display: inline-block;
|
|
}
|
|
|
|
.card-status[data-state="active"]::before {
|
|
background: var(--ok);
|
|
}
|
|
|
|
.card-status[data-state="attention"]::before {
|
|
background: var(--secondary);
|
|
}
|
|
|
|
.content-card h3 {
|
|
margin: 0;
|
|
padding: 12px 12px 0;
|
|
font-size: 1.05rem;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.card-summary {
|
|
color: var(--muted);
|
|
margin: 0;
|
|
padding: 8px 12px 12px;
|
|
font-size: 0.85rem;
|
|
flex: 1;
|
|
}
|
|
|
|
.tag-list,
|
|
.entry-tag-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.tag-list {
|
|
padding: 0 12px 12px;
|
|
}
|
|
|
|
.tag,
|
|
.entry-tag {
|
|
display: inline-flex;
|
|
text-transform: lowercase;
|
|
padding: 0 6px;
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
background: transparent;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.tag::before,
|
|
.entry-tag::before {
|
|
content: "#";
|
|
color: var(--border-strong);
|
|
margin-right: 2px;
|
|
}
|
|
|
|
.card-links,
|
|
.entry-links {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.card-links {
|
|
margin-top: auto;
|
|
padding: 10px 12px;
|
|
border-top: 1px solid var(--border);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.card-link,
|
|
.entry-back,
|
|
.inline-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border: 1px solid var(--border);
|
|
background: transparent;
|
|
color: var(--primary);
|
|
padding: 2px 9px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.card-link::before,
|
|
.entry-back::before,
|
|
.inline-button::before {
|
|
content: ">\00a0";
|
|
color: var(--secondary);
|
|
}
|
|
|
|
.card-link:hover,
|
|
.entry-back:hover,
|
|
.inline-button:hover {
|
|
color: var(--bright);
|
|
border-color: var(--secondary);
|
|
}
|
|
|
|
.card-link-primary,
|
|
.inline-button-primary {
|
|
border-color: var(--border-strong);
|
|
color: var(--bright);
|
|
}
|
|
|
|
.card-link-primary:hover,
|
|
.inline-button-primary:hover {
|
|
background: var(--secondary);
|
|
color: #0c0d10;
|
|
}
|
|
|
|
.card-link-primary:hover::before,
|
|
.inline-button-primary:hover::before {
|
|
color: #0c0d10;
|
|
}
|
|
|
|
.projects-toggle-shell {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 0 16px 16px;
|
|
}
|
|
|
|
.projects-toggle {
|
|
font-family: var(--mono);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border: 1px solid var(--border);
|
|
padding: 4px 14px;
|
|
font-size: 12px;
|
|
background: var(--surface-alt);
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
transition:
|
|
color 0.12s linear,
|
|
border-color 0.12s linear;
|
|
}
|
|
|
|
.projects-toggle::before {
|
|
content: "+\00a0";
|
|
color: var(--secondary);
|
|
}
|
|
|
|
.projects-toggle[aria-expanded="true"]::before {
|
|
content: "-\00a0";
|
|
}
|
|
|
|
.projects-toggle:hover {
|
|
color: var(--bright);
|
|
border-color: var(--secondary);
|
|
}
|
|
|
|
.updates-grid .content-card {
|
|
background: var(--surface-alt);
|
|
}
|
|
|
|
.site-footer {
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
/* ------------------------------------------------------------ entry page */
|
|
|
|
.entry-shell {
|
|
padding: 20px 22px 26px;
|
|
}
|
|
|
|
.entry-header {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.entry-back {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.entry-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-bottom: 14px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.entry-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 1px 8px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.entry-pill-primary {
|
|
color: var(--secondary);
|
|
border-color: rgba(235, 82, 52, 0.4);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.entry-pill-secondary {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.entry-links {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.entry-content {
|
|
margin-top: 24px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid var(--border);
|
|
font-size: 0.92rem;
|
|
max-width: 88ch;
|
|
}
|
|
|
|
.entry-content h1,
|
|
.entry-content h2,
|
|
.entry-content h3,
|
|
.entry-content h4 {
|
|
margin-top: 26px;
|
|
margin-bottom: 8px;
|
|
line-height: 1.3;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.entry-content h2::before,
|
|
.entry-content h3::before {
|
|
content: "## ";
|
|
color: var(--secondary);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.entry-content h3::before {
|
|
content: "### ";
|
|
}
|
|
|
|
.entry-content p,
|
|
.entry-content li {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.entry-content ul,
|
|
.entry-content ol {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.entry-content ul {
|
|
list-style: none;
|
|
padding-left: 4px;
|
|
}
|
|
|
|
.entry-content ul li {
|
|
padding-left: 14px;
|
|
text-indent: -14px;
|
|
}
|
|
|
|
.entry-content ul li::before {
|
|
content: "-\00a0";
|
|
color: var(--secondary);
|
|
}
|
|
|
|
.entry-content a {
|
|
color: var(--secondary);
|
|
border-bottom: 1px solid rgba(235, 82, 52, 0.35);
|
|
}
|
|
|
|
.entry-content a:hover {
|
|
border-bottom-color: var(--secondary);
|
|
}
|
|
|
|
.entry-content blockquote {
|
|
margin: 16px 0;
|
|
padding: 10px 14px;
|
|
border-left: 2px solid var(--secondary);
|
|
background: var(--surface-alt);
|
|
color: var(--muted);
|
|
}
|
|
|
|
.entry-content code {
|
|
background: var(--bar);
|
|
border: 1px solid var(--border);
|
|
padding: 0 4px;
|
|
font-size: 0.86rem;
|
|
}
|
|
|
|
.entry-content pre {
|
|
padding: 14px;
|
|
overflow-x: auto;
|
|
background: var(--bar);
|
|
border: 1px solid var(--border);
|
|
border-left: 2px solid var(--secondary);
|
|
font-size: 0.84rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.entry-content pre code {
|
|
background: transparent;
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.entry-empty {
|
|
text-align: center;
|
|
padding: 36px 18px;
|
|
}
|
|
|
|
@media only screen and (max-width: 860px) {
|
|
.projects-hero,
|
|
.entry-shell {
|
|
padding: 18px;
|
|
}
|
|
|
|
.content-grid {
|
|
padding: 12px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.section-heading {
|
|
flex-direction: column;
|
|
align-items: start;
|
|
gap: 6px;
|
|
}
|
|
}
|
|
|
|
.section-heading__right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.section-count {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.section-count::before {
|
|
content: "[ ";
|
|
color: var(--border-strong);
|
|
}
|
|
|
|
.section-count::after {
|
|
content: " ]";
|
|
color: var(--border-strong);
|
|
}
|