resume/style.css

298 lines
8.4 KiB
CSS
Raw Normal View History

2026-08-26 12:34:16 -04:00
/* ─── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* ─── Variables ──────────────────────────────────────────────────────────────── */
:root {
--bg: #222129;
--bg-card: #272327;
--bg-hover: #2e2b33;
--text: #fff;
--muted: rgba(255,255,255,0.5);
--accent: #FFA86A;
--border: rgba(255,255,255,0.1);
--tag-bg: rgba(255,168,106,0.15);
--tag-text: #FFA86A;
--font: "Fira Code", "Monaco", "Consolas", "Ubuntu Mono", monospace;
}
/* ─── Base ───────────────────────────────────────────────────────────────────── */
2026-08-26 13:09:47 -04:00
html, body { height: 100%; margin: 0; }
2026-08-26 12:34:16 -04:00
body {
font-family: var(--font);
font-feature-settings: "liga", "tnum", "zero", "ss01", "locl";
letter-spacing: -0.02em;
line-height: 1.54;
background: var(--bg);
color: var(--text);
2026-08-26 13:09:47 -04:00
padding: 28px 32px;
box-sizing: border-box;
overflow-y: auto;
overflow-x: hidden;
2026-08-26 12:34:16 -04:00
}
ul { list-style: none; }
a { color: var(--accent); text-decoration: none; }
/* ─── Front matter ───────────────────────────────────────────────────────────── */
.front-matter {
text-align: center;
2026-08-26 13:09:47 -04:00
padding-bottom: 14px;
margin-bottom: 14px;
2026-08-26 12:34:16 -04:00
border-bottom: 1px solid var(--border);
2026-08-26 13:09:47 -04:00
flex-shrink: 0;
width: 100%;
2026-08-26 12:34:16 -04:00
}
.fm-name {
font-size: 1.8rem;
font-weight: 800;
letter-spacing: -0.03em;
color: var(--accent);
margin-bottom: 4px;
}
.fm-contact {
display: flex;
justify-content: center;
flex-wrap: wrap;
font-size: 0.8rem;
color: var(--muted);
}
.fm-contact span + span::before {
content: " \2022 ";
margin: 0 6px;
}
2026-08-26 13:09:47 -04:00
/* ─── Column layout ──────────────────────────────────────────────────────────── */
2026-08-26 17:54:57 -04:00
/* Two independent .col divs. Expanding a card pushes siblings within
its own col only cards never shift between columns, no hover loop.
To go to 3 cols: set num-columns=3 in generate.scm, regenerate,
and change repeat(2,...) to repeat(3,...) below. */
2026-08-26 12:34:16 -04:00
.columns {
2026-08-26 17:54:57 -04:00
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0 2em;
align-items: start;
2026-08-26 12:34:16 -04:00
}
2026-08-26 17:54:57 -04:00
.col { min-width: 0; }
2026-08-26 12:34:16 -04:00
2026-08-26 17:54:57 -04:00
@media (max-width: 600px) {
.columns { grid-template-columns: 1fr; }
2026-08-26 12:34:16 -04:00
}
2026-08-26 13:09:47 -04:00
/* ─── Section headings ───────────────────────────────────────────────────────── */
2026-08-26 12:34:16 -04:00
.sec-heading {
2026-08-26 17:54:57 -04:00
font-size: 0.95rem;
2026-08-26 12:34:16 -04:00
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--accent);
border-bottom: 1px solid var(--border);
padding-bottom: 3px;
margin-bottom: 6px;
margin-top: 4px;
}
/* ─── Shared header ──────────────────────────────────────────────────────────── */
.title-header,
.project-header,
.edu-header {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 8px;
margin-bottom: 1px;
}
.title-name,
.project-name,
.edu-degree {
font-weight: 700;
2026-08-26 17:54:57 -04:00
font-size: 0.78rem;}
2026-08-26 12:34:16 -04:00
.date-range {
font-size: 0.72rem;
color: var(--muted);
white-space: nowrap;
flex-shrink: 0;
}
.title-meta,
.edu-meta {
font-size: 0.76rem;
color: var(--muted);
margin-bottom: 3px;
}
/* ─── Title card ─────────────────────────────────────────────────────────────── */
.title-card {
padding: 5px 0 6px;
border-bottom: 1px solid var(--border);
margin-bottom: 4px;
}
2026-08-26 17:54:57 -04:00
p.title-blurb {
font-size: 0.68rem;
2026-08-26 12:34:16 -04:00
line-height: 1.5;
color: rgba(255,255,255,0.85);
2026-08-26 17:54:57 -04:00
margin-top: 3px;
2026-08-26 12:34:16 -04:00
}
/* ─── Project card ───────────────────────────────────────────────────────────── */
.project-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-left: 2px solid rgba(255,168,106,0.35);
border-radius: 3px;
padding: 6px 9px;
margin-bottom: 4px;
cursor: default;
transition: background 0.18s, border-left-color 0.18s;
}
.project-card:has(.project-details li):hover,
.project-card:has(.project-details li).open {
2026-08-26 12:34:16 -04:00
background: var(--bg-hover);
border-left-color: var(--accent);
}
2026-08-26 13:09:47 -04:00
.project-card.clickable { cursor: pointer; }
.project-card.clickable:hover .project-name::after {
content: " ↗";
font-size: 0.7rem;
color: var(--accent);
opacity: 0.7;
}
2026-08-26 17:54:57 -04:00
.project-name { font-size: 0.72rem; }
2026-08-26 12:34:16 -04:00
.project-summary ul { padding-left: 12px; margin-top: 2px; }
.project-summary li {
2026-08-26 17:54:57 -04:00
font-size: 0.68rem;
2026-08-26 12:34:16 -04:00
line-height: 1.5;
color: rgba(255,255,255,0.85);
}
2026-08-26 17:54:57 -04:00
.project-summary li::before { content: "• "; color: var(--muted); }
2026-08-26 12:34:16 -04:00
.project-details {
max-height: 0;
overflow: hidden;
opacity: 0;
transition: max-height 0.28s ease, opacity 0.22s ease;
}
.project-card:hover .project-details,
.project-card.open .project-details {
2026-08-26 12:34:16 -04:00
max-height: 500px;
opacity: 1;
}
.project-details ul { padding-left: 12px; margin-top: 4px; }
.project-details li {
2026-08-26 17:54:57 -04:00
font-size: 0.68rem;
2026-08-26 12:34:16 -04:00
color: var(--muted);
line-height: 1.5;
margin-bottom: 1px;
}
2026-08-26 17:54:57 -04:00
.project-details li::before { content: "• "; }
2026-08-26 12:34:16 -04:00
.tech-list {
display: flex;
flex-wrap: wrap;
gap: 3px;
margin-top: 5px;
}
.tech-tag {
background: var(--tag-bg);
color: var(--tag-text);
font-size: 0.66rem;
padding: 1px 5px;
border-radius: 2px;
letter-spacing: 0;
}
/* ─── Education card ─────────────────────────────────────────────────────────── */
.education-card {
padding: 5px 0 6px;
border-bottom: 1px solid var(--border);
margin-bottom: 4px;
cursor: default;
}
.edu-bullets ul { padding-left: 12px; margin-top: 3px; }
.edu-bullets li {
font-size: 0.82rem;
line-height: 1.5;
margin-bottom: 1px;
color: rgba(255,255,255,0.85);
}
2026-08-26 17:54:57 -04:00
.edu-bullets li::before { content: "• "; color: var(--muted); }
2026-08-26 12:34:16 -04:00
.edu-extras {
max-height: 0;
overflow: hidden;
opacity: 0;
transition: max-height 0.28s ease, opacity 0.22s ease;
}
.education-card:hover .edu-extras,
.education-card.open .edu-extras {
2026-08-26 12:34:16 -04:00
max-height: 400px;
opacity: 1;
margin-top: 4px;
}
.edu-extras ul { padding-left: 12px; }
.edu-extras li {
font-size: 0.78rem;
color: var(--muted);
line-height: 1.5;
margin-bottom: 1px;
}
2026-08-26 17:54:57 -04:00
.edu-extras li::before { content: "• "; }
2026-08-26 12:34:16 -04:00
2026-08-26 13:09:47 -04:00
/* ─── Interests — 2-column micro-card grid ───────────────────────────────────── */
.interests {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4px;
}
2026-08-26 12:34:16 -04:00
.interest-card {
2026-08-26 13:09:47 -04:00
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 3px;
padding: 5px 8px;
}
.interest-title {
display: block;
font-weight: 700;
font-size: 0.78rem;
color: var(--text);
}
.interest-description {
display: block;
font-size: 0.73rem;
color: var(--muted);
line-height: 1.4;
}
/* ─── Favorite software — 4-column tag grid ─────────────────────────────────── */
.favorite-software {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 4px;
}
.sw-item {
background: var(--tag-bg);
color: var(--tag-text);
font-size: 0.72rem;
padding: 3px 6px;
border-radius: 2px;
text-align: center;
2026-08-26 12:34:16 -04:00
}
/* ─── Responsive ─────────────────────────────────────────────────────────────── */
2026-08-26 13:09:47 -04:00
@media (max-width: 400px) {
html, body { height: auto; overflow: auto; }
.columns { column-width: auto; columns: 1; }
2026-08-26 12:34:16 -04:00
}