Files
k8s-gitops/apps/portfolio/site/styles.css
T

359 lines
14 KiB
CSS

:root {
color-scheme: dark;
--background: #07111f;
--background-deep: #050d17;
--surface: rgba(15, 31, 51, 0.84);
--surface-strong: #10243a;
--surface-soft: rgba(10, 26, 43, 0.72);
--border: rgba(148, 184, 219, 0.2);
--border-strong: rgba(101, 212, 255, 0.38);
--text: #eef7ff;
--muted: #a7bed2;
--muted-strong: #c8dbea;
--accent: #65d4ff;
--accent-strong: #79f2c0;
--danger: #ffab9d;
--shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
--radius: 22px;
--radius-small: 14px;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
min-height: 100vh;
color: var(--text);
background:
radial-gradient(circle at 10% 5%, rgba(49, 173, 255, 0.2), transparent 29rem),
radial-gradient(circle at 92% 18%, rgba(62, 242, 179, 0.13), transparent 27rem),
linear-gradient(145deg, #06101d 0%, #0a1727 52%, #07111f 100%);
line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.skip-link {
position: fixed;
top: 10px;
left: 10px;
z-index: 1000;
padding: 10px 14px;
border-radius: 10px;
background: var(--accent);
color: #032033;
font-weight: 800;
transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.shell {
width: min(1180px, calc(100% - 36px));
margin: 0 auto;
}
.site-header {
position: sticky;
top: 0;
z-index: 50;
border-bottom: 1px solid rgba(148, 184, 219, 0.12);
background: rgba(5, 13, 23, 0.84);
backdrop-filter: blur(18px);
}
.nav {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
min-height: 78px;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
font-weight: 800;
letter-spacing: 0.01em;
text-decoration: none;
}
.brand-mark {
display: grid;
place-items: center;
width: 42px;
height: 42px;
border: 1px solid var(--border);
border-radius: 14px;
background: linear-gradient(135deg, rgba(101, 212, 255, 0.22), rgba(121, 242, 192, 0.15));
color: var(--accent);
font-size: 0.82rem;
}
.nav-links {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 21px;
color: var(--muted);
font-size: 0.93rem;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--text); }
.hero {
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
gap: 48px;
align-items: center;
padding: 88px 0 74px;
}
.eyebrow {
display: inline-flex;
align-items: center;
gap: 9px;
margin-bottom: 18px;
color: var(--accent-strong);
font-size: 0.8rem;
font-weight: 800;
letter-spacing: 0.16em;
text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 {
max-width: 860px;
margin-bottom: 22px;
font-size: clamp(3rem, 7.2vw, 6.4rem);
line-height: 0.97;
letter-spacing: -0.064em;
}
h1 span, .gradient-text {
color: transparent;
background: linear-gradient(90deg, var(--accent), var(--accent-strong));
background-clip: text;
-webkit-background-clip: text;
}
.hero-copy {
max-width: 760px;
margin-bottom: 28px;
color: var(--muted);
font-size: clamp(1.04rem, 1.8vw, 1.24rem);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 0 20px;
border: 1px solid var(--border);
border-radius: 14px;
background: rgba(255, 255, 255, 0.04);
text-decoration: none;
font-weight: 750;
transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.button.primary { border-color: transparent; background: linear-gradient(110deg, var(--accent), var(--accent-strong)); color: #032033; }
.button.small { min-height: 40px; padding: 0 15px; font-size: 0.9rem; }
.button:hover, .button:focus-visible { transform: translateY(-2px); border-color: rgba(101, 212, 255, 0.58); }
.status-card, .panel, .card, .timeline-item, .project-card, .resume-panel {
border: 1px solid var(--border);
border-radius: var(--radius);
background: linear-gradient(155deg, rgba(16, 36, 58, 0.92), rgba(8, 22, 38, 0.82));
box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}
.status-card { position: relative; overflow: hidden; padding: 28px; box-shadow: var(--shadow); }
.status-card::after {
content: "";
position: absolute;
right: -55px;
bottom: -75px;
width: 180px;
height: 180px;
border-radius: 50%;
background: rgba(101, 212, 255, 0.09);
}
.status-line { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--accent-strong); font-weight: 800; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 7px rgba(121, 242, 192, 0.12); }
.status-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.93rem; }
.status-list li { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 13px; border-bottom: 1px solid var(--border); }
.status-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.status-list strong { color: var(--text); text-align: right; }
.metric-strip {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1px;
overflow: hidden;
margin-bottom: 24px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--border);
}
.metric { padding: 26px; background: rgba(8, 22, 38, 0.92); }
.metric strong { display: block; color: var(--text); font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.1; }
.metric span { color: var(--muted); font-size: 0.9rem; }
section { padding: 74px 0; scroll-margin-top: 86px; }
.section-heading {
display: grid;
grid-template-columns: 0.8fr 1.2fr;
gap: 44px;
align-items: end;
margin-bottom: 34px;
}
h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.05; letter-spacing: -0.047em; }
.section-heading p { margin-bottom: 4px; color: var(--muted); }
.section-kicker { margin-bottom: 10px; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { min-height: 100%; padding: 26px; }
.card-number { margin-bottom: 30px; color: var(--accent); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.15em; }
.card h3, .project-card h3 { margin-bottom: 10px; font-size: 1.24rem; }
.card p, .project-card p { color: var(--muted); font-size: 0.96rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 9px; border: 1px solid var(--border); border-radius: 999px; color: #cae1f3; background: rgba(255, 255, 255, 0.025); font-size: 0.75rem; font-weight: 700; }
.timeline { display: grid; gap: 16px; }
.timeline-item { display: grid; grid-template-columns: 230px 1fr; gap: 30px; padding: 28px; }
.timeline-meta { color: var(--muted); font-size: 0.9rem; }
.timeline-meta strong { display: block; margin-bottom: 4px; color: var(--accent-strong); font-size: 1rem; }
.timeline-item h3 { margin-bottom: 8px; }
.timeline-item p { color: var(--muted); }
.timeline-item ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted-strong); }
.timeline-item li + li { margin-top: 7px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card { display: flex; flex-direction: column; padding: 28px; }
.project-card .card-number { margin-bottom: 24px; }
.project-card .tags { margin-top: auto; padding-top: 14px; }
.project-link { display: inline-flex; margin-top: 20px; color: var(--accent); font-weight: 800; text-decoration: none; }
.project-link::after { content: " →"; }
.project-link:hover, .project-link:focus-visible { color: var(--accent-strong); }
.architecture-panel { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(6, 17, 30, 0.54); }
.architecture-panel img { border-radius: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { padding: 28px; }
.panel h3 { margin-bottom: 14px; }
.clean-list { margin: 0; padding: 0; list-style: none; }
.clean-list li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--border); color: var(--muted-strong); }
.clean-list li:last-child { border-bottom: 0; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(101, 212, 255, 0.09); }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: linear-gradient(115deg, rgba(101, 212, 255, 0.12), rgba(121, 242, 192, 0.08)); }
.callout h2 { margin-bottom: 8px; }
.callout p { margin-bottom: 0; color: var(--muted); }
.page-hero { padding: 76px 0 36px; }
.page-hero h1 { max-width: 980px; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.breadcrumb { margin-bottom: 18px; color: var(--muted); font-size: 0.9rem; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.lead { max-width: 860px; color: var(--muted); font-size: 1.15rem; }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.case-content { display: grid; gap: 22px; }
.case-section { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-soft); }
.case-section h2 { margin-bottom: 18px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.case-section h3 { margin: 22px 0 8px; }
.case-section p, .case-section li { color: var(--muted-strong); }
.case-section ul { padding-left: 20px; }
.case-section li + li { margin-top: 7px; }
.case-sidebar { position: sticky; top: 100px; }
.case-sidebar .panel + .panel { margin-top: 16px; }
.fact-list { display: grid; gap: 11px; margin: 0; }
.fact-list div { display: grid; gap: 2px; padding-bottom: 11px; border-bottom: 1px solid var(--border); }
.fact-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.fact-list dt { color: var(--muted); font-size: 0.8rem; }
.fact-list dd { margin: 0; color: var(--text); font-weight: 750; }
.resume-wrap {
display: grid;
grid-template-columns: minmax(0, 310px) minmax(0, 1fr);
gap: 24px;
align-items: start;
}
.resume-sidebar,
.resume-main {
min-width: 0;
}
.resume-sidebar { position: sticky; top: 100px; }
.resume-panel { padding: 28px; }
.resume-panel h2 {
max-width: 100%;
margin-bottom: 22px;
font-size: clamp(1.7rem, 2.25vw, 2rem);
line-height: 1.08;
letter-spacing: -0.035em;
overflow-wrap: anywhere;
}
.resume-panel + .resume-panel { margin-top: 18px; }
.resume-main { display: grid; gap: 18px; }
.resume-section { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(8, 22, 38, 0.72); }
.resume-section h2 { margin-bottom: 20px; font-size: 2rem; }
.resume-role { padding: 20px 0; border-top: 1px solid var(--border); }
.resume-role:first-of-type { padding-top: 0; border-top: 0; }
.resume-role h3 { margin-bottom: 4px; }
.resume-role .meta { margin-bottom: 12px; color: var(--accent-strong); font-weight: 700; }
.resume-role ul { margin-bottom: 0; padding-left: 20px; color: var(--muted-strong); }
.skill-groups { display: grid; gap: 18px; }
.skill-group h3 { margin-bottom: 8px; font-size: 1rem; color: var(--accent); }
.skill-group p { margin-bottom: 0; color: var(--muted-strong); }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.contact-row a { color: var(--accent); font-weight: 750; }
.site-footer { display: flex; justify-content: space-between; gap: 22px; padding: 34px 0 50px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }
@media (max-width: 950px) {
.hero, .section-heading, .split, .case-layout, .resume-wrap { grid-template-columns: 1fr; }
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-item { grid-template-columns: 1fr; gap: 10px; }
.metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-sidebar, .resume-sidebar { position: static; }
}
@media (max-width: 690px) {
.shell { width: min(100% - 24px, 1180px); }
.site-header { position: static; }
.nav { align-items: flex-start; flex-direction: column; padding: 18px 0; }
.nav-links { gap: 13px 18px; }
.hero { padding: 54px 0 48px; }
h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
section { padding: 54px 0; }
.grid, .grid.two, .project-grid, .metric-strip { grid-template-columns: 1fr; }
.callout, .site-footer { align-items: flex-start; flex-direction: column; }
.status-list li { align-items: flex-start; flex-direction: column; gap: 4px; }
.status-list strong { text-align: left; }
}
@media print {
:root { color-scheme: light; }
body { color: #111; background: #fff; font-size: 10.5pt; }
.site-header, .site-footer, .actions, .skip-link, .print-hide { display: none !important; }
.shell { width: 100%; }
.page-hero { padding: 0 0 18px; }
.page-hero h1 { color: #111; font-size: 30pt; }
.gradient-text { color: #111; background: none; -webkit-text-fill-color: initial; }
.lead, .resume-role ul, .resume-section p, .skill-group p { color: #222; }
.resume-wrap { display: block; }
.resume-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.resume-panel, .resume-section { break-inside: avoid; border: 1px solid #bbb; background: #fff; box-shadow: none; }
.resume-panel + .resume-panel { margin-top: 0; }
.tag { color: #111; border-color: #aaa; background: #fff; }
a { text-decoration: none; }
}