myResume2/public/css/main.css
Blade34242 b0a1c19349
Some checks failed
Node CI / lint (push) Waiting to run
Create Forgejo release / package-and-release (push) Has been cancelled
feat: add client-side PDF and Forgejo release flow
2026-07-27 17:37:24 +07:00

1296 lines
23 KiB
CSS

/* Modern resume layout driven by me.json */
:root {
--bg: #0b1324;
--bg-2: #0f172a;
--bg-overlay: rgba(5, 8, 15, 0.55);
--card: rgba(10, 14, 26, 0.8);
--border: rgba(255, 255, 255, 0.12);
--text: #f5f7fb;
--muted: #cbd5e1;
--accent: #0ea5e9;
--accent-2: #f59e0b;
--shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
--radius: 14px;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
color: var(--text);
background:
radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.12), transparent 30%),
radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.12), transparent 28%),
linear-gradient(145deg, var(--bg), var(--bg-2));
background-blend-mode: screen, screen, normal;
min-height: 100vh;
line-height: 1.6;
scroll-behavior: smooth;
position: relative;
}
a {
color: inherit;
text-decoration: none;
}
.resume-body {
position: relative;
}
body::before {
content: "";
position: fixed;
inset: 0;
background: var(--bg-overlay);
pointer-events: none;
z-index: 0;
}
.page-shell {
max-width: 1080px;
margin: 0 auto;
padding: 1.5rem 1.5rem 3rem;
}
.bg-gradient {
position: fixed;
inset: 0;
pointer-events: none;
background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.16), transparent 35%);
filter: blur(40px);
opacity: 0.65;
z-index: 0;
}
.topbar {
position: sticky;
top: 0;
z-index: 50;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.85rem 1.5rem;
background: rgba(10, 14, 30, 0.8);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
z-index: 2;
}
.brand {
display: flex;
align-items: center;
gap: 0.75rem;
}
.brand-avatar {
width: 48px;
height: 48px;
border-radius: 14px;
overflow: hidden;
border: 1px solid var(--border);
background: var(--card);
}
.brand-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.brand-name {
font-weight: 700;
font-family: "Sora", "Inter", sans-serif;
letter-spacing: 0.02em;
}
.top-nav {
display: flex;
align-items: center;
gap: 1rem;
font-size: 0.95rem;
color: var(--muted);
}
.top-nav a {
padding: 0.4rem 0.6rem;
border-radius: 10px;
transition: color 0.2s ease, background-color 0.2s ease;
}
.top-nav a:hover {
color: var(--text);
background: rgba(255, 255, 255, 0.06);
}
.top-actions {
display: flex;
align-items: center;
gap: 0.5rem;
}
.hero {
padding: 2rem 0 0.5rem;
}
.hero-card {
display: grid;
grid-template-columns: 220px 1fr;
gap: 1.75rem;
padding: 2rem;
border-radius: calc(var(--radius) + 6px);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
border: 1px solid var(--border);
box-shadow: var(--shadow);
position: relative;
z-index: 1;
}
.hero-photo {
position: relative;
width: 220px;
height: 220px;
border-radius: 24px;
overflow: hidden;
border: 2px solid rgba(255, 255, 255, 0.08);
background: var(--card);
}
.hero-photo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.hero-copy h1 {
margin: 0.2rem 0;
font-size: clamp(2rem, 3vw, 2.6rem);
font-family: "Sora", "Inter", sans-serif;
letter-spacing: -0.01em;
}
.role {
margin: 0.35rem 0 0.75rem;
font-size: 1.1rem;
color: var(--muted);
}
.pdf-contact {
display: none;
}
.pdf-core-stack {
display: none;
}
.about-text {
margin: 0 0 1.2rem;
color: var(--text);
max-width: 720px;
}
.cta-row {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1rem;
}
.solid-btn,
.ghost-btn {
border-radius: 999px;
border: 1px solid var(--border);
padding: 0.6rem 1rem;
font-weight: 600;
font-size: 0.95rem;
cursor: pointer;
transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.solid-btn {
background: linear-gradient(90deg, var(--accent), var(--accent-2));
color: #0b0f1a;
border-color: transparent;
}
.ghost-btn {
background: transparent;
color: var(--text);
}
.solid-btn:hover,
.ghost-btn:hover {
transform: translateY(-1px);
border-color: rgba(255, 255, 255, 0.15);
}
.solid-btn:disabled,
.ghost-btn:disabled {
cursor: wait;
opacity: 0.7;
transform: none;
}
.social-row {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.chip {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.5rem;
border-radius: 12px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid var(--border);
transition: transform 0.15s ease, background 0.2s ease;
}
.chip:hover {
transform: translateY(-1px) scale(1.01);
background: rgba(255, 255, 255, 0.1);
}
.chip img {
width: 26px;
height: 26px;
object-fit: contain;
}
.section {
margin-top: 2.5rem;
}
.section-head {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1rem;
}
.section-head h2 {
margin: 0.15rem 0 0;
font-family: "Sora", "Inter", sans-serif;
letter-spacing: -0.01em;
color: #ffffff;
}
.section-sub {
color: var(--muted);
font-size: 0.95rem;
}
.eyebrow {
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 0.75rem;
color: #7de3ff;
margin: 0;
}
body.theme-light .section-head h2 {
color: #0f172a;
}
body.theme-light .eyebrow {
color: #2563eb;
}
body.theme-light .card h3 {
color: #0f172a;
}
.timeline {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 1rem;
}
.timeline-item {
display: grid;
grid-template-columns: 180px 1fr;
gap: 1rem;
padding: 1rem;
border-radius: var(--radius);
background: var(--card);
border: 1px solid var(--border);
}
.timeline-meta {
display: flex;
align-items: flex-start;
justify-content: flex-start;
}
.pill {
display: inline-block;
padding: 0.35rem 0.75rem;
border-radius: 999px;
background: rgba(14, 165, 233, 0.16);
color: #cbeafe;
font-weight: 600;
font-size: 0.9rem;
border: 1px solid rgba(14, 165, 233, 0.3);
}
.pill-ghost {
background: rgba(255, 255, 255, 0.08);
color: var(--text);
border: 1px solid var(--border);
}
.timeline-body h3 {
margin: 0.15rem 0 0.3rem;
font-size: 1.15rem;
}
.timeline-body .meta {
color: var(--muted);
margin: 0;
}
.bullets {
margin: 0.5rem 0 0;
padding-left: 1.2rem;
color: var(--muted);
}
.bullets li + li {
margin-top: 0.3rem;
}
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1rem;
}
.card {
padding: 1rem;
border-radius: var(--radius);
background: var(--card);
border: 1px solid var(--border);
color: var(--text);
}
.card h3 {
margin: 0.3rem 0 0.4rem;
color: #f8fafc;
}
.card .muted {
margin: 0 0 0.5rem;
}
.chips,
.subchips {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.chip-ghost {
background: rgba(255, 255, 255, 0.08);
color: var(--text);
border: 1px solid var(--border);
padding: 0.35rem 0.65rem;
border-radius: 10px;
font-size: 0.9rem;
}
.chip-accent {
background: linear-gradient(90deg, var(--accent), var(--accent-2));
border-color: transparent;
color: #0b0f1a;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.chips.tight {
gap: 0.3rem;
}
.skill-list {
display: flex;
flex-direction: column;
gap: 0.4rem;
margin-top: 0.4rem;
}
.skill-row {
display: flex;
flex-direction: column;
gap: 0.35rem;
padding: 0.7rem 0.75rem;
border-radius: 10px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid var(--border);
overflow: hidden;
}
.skill-label {
font-weight: 700;
color: #f8fafc;
}
.skill-level {
width: 100%;
height: 8px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
overflow: hidden;
border: 1px solid var(--border);
}
.skill-level-fill {
height: 100%;
background: linear-gradient(90deg, var(--accent), var(--accent-2));
border-radius: 999px;
}
.skill-recent .skill-label {
color: var(--accent);
}
body.theme-light .skill-row {
background: rgba(0, 0, 0, 0.04);
border-color: rgba(0, 0, 0, 0.08);
}
body.theme-light .skill-label {
color: #0f172a;
}
.skill-card {
min-height: 200px;
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1rem;
}
.project-card {
display: flex;
flex-direction: column;
gap: 0.8rem;
padding: 1rem;
border-radius: var(--radius);
background: var(--card);
border: 1px solid var(--border);
}
.project-thumb {
width: 100%;
aspect-ratio: 16 / 9;
border-radius: 12px;
overflow: hidden;
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.04);
}
.project-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.project-meta {
display: flex;
gap: 0.4rem;
flex-wrap: wrap;
}
.project-links {
display: flex;
gap: 0.5rem;
margin-top: 0.35rem;
}
.small-btn {
padding: 0.45rem 0.85rem;
font-size: 0.85rem;
}
.testimonial-slider {
position: relative;
overflow: hidden;
padding: 0.25rem 0;
}
.testimonial-track {
display: flex;
flex-wrap: nowrap;
gap: 1rem;
transition: transform 0.4s ease;
will-change: transform;
padding: 0.25rem 0;
}
.testimonial-card {
flex: 0 0 calc(50% - 0.5rem);
min-width: 0;
}
.testimonial-slider[data-visible="1"] .testimonial-card {
flex: 0 0 100%;
}
.testimonial-avatar {
width: 56px;
height: 56px;
border-radius: 50%;
overflow: hidden;
border: 2px solid var(--border);
margin-bottom: 0.5rem;
}
.testimonial-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.testimonial-dots {
display: flex;
gap: 0.35rem;
margin-top: 0.75rem;
}
.testimonial-dots .dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--border);
border: none;
cursor: pointer;
}
.testimonial-dots .dot.active {
background: var(--accent);
}
.rating {
color: #fbbf24;
letter-spacing: 2px;
}
.contact-strip {
position: fixed;
left: 0;
right: 0;
bottom: 0;
display: none;
align-items: center;
justify-content: center;
gap: 1rem;
padding: 0.85rem 1.1rem;
background: rgba(10, 14, 30, 0.9);
border-top: 1px solid var(--border);
}
.contact-strip a,
.contact-strip button {
color: var(--text);
font-weight: 600;
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border);
border-radius: 10px;
padding: 0.55rem 0.9rem;
}
.contact-strip button {
cursor: pointer;
}
.contact-strip a:hover,
.contact-strip button:hover {
background: rgba(255, 255, 255, 0.08);
}
.chip.chip-ghost:hover {
background: rgba(255, 255, 255, 0.12);
}
.pill + .pill {
margin-left: 0.35rem;
}
.two-col {
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.interest-block {
padding: 0.8rem 1rem;
border-radius: var(--radius);
background: var(--card);
border: 1px solid var(--border);
}
.interest-chips {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 0.9rem;
}
.quote {
margin: 0.5rem 0 0;
font-style: italic;
color: var(--text);
}
.muted {
color: var(--muted);
}
.small {
font-size: 0.85rem;
}
.page-footer {
max-width: 1080px;
margin: 2rem auto 3rem;
padding: 1rem 1.5rem 0;
color: var(--muted);
}
.footer-actions {
display: flex;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
.glass {
backdrop-filter: blur(12px);
}
@media print {
.top-actions,
.top-nav,
.footer-actions,
.contact-strip,
.bg-gradient {
display: none !important;
}
.topbar {
position: static;
}
.section,
.hero-card,
.timeline-item,
.card,
.project-card,
.interest-block,
.testimonial-card {
break-inside: avoid;
}
}
/* Dedicated export composition: same resume data, optimized for an A4 CV. */
body.pdf-export {
--bg: #ffffff;
--bg-2: #ffffff;
--card: #ffffff;
--border: #d8e0eb;
--text: #172033;
--muted: #526277;
--accent: #2563eb;
--accent-2: #2563eb;
background: #ffffff !important;
color: var(--text);
font-size: 13px;
line-height: 1.42;
}
body.pdf-export::before,
body.pdf-export .bg-gradient,
body.pdf-export .topbar,
body.pdf-export .contact-strip,
body.pdf-export .cta-row,
body.pdf-export .social-row,
body.pdf-export .footer-actions,
body.pdf-export #testimonials,
body.pdf-export #interests,
body.pdf-export .project-thumb,
body.pdf-export .project-links,
body.pdf-export .page-footer .small {
display: none !important;
}
body.pdf-export .page-shell {
max-width: none;
margin: 0;
padding: 0;
}
body.pdf-export .hero {
padding: 0 0 0.55rem;
}
body.pdf-export .hero-card {
grid-template-columns: 78px minmax(0, 1fr);
gap: 0.85rem;
padding: 0 0 0.9rem;
border: 0;
border-radius: 0;
border-bottom: 2px solid var(--accent);
box-shadow: none;
background: transparent;
}
body.pdf-export .hero-photo {
width: 78px;
height: 78px;
border-radius: 50%;
border: 1px solid var(--border);
}
body.pdf-export .hero-copy h1 {
margin: 0;
color: var(--text);
font-size: 25px;
line-height: 1.08;
}
body.pdf-export .hero-copy .eyebrow {
display: none;
}
body.pdf-export .role {
margin: 0.18rem 0;
color: var(--accent);
font-size: 14px;
font-weight: 600;
}
body.pdf-export .pdf-contact {
display: block;
margin: 0.1rem 0 0.38rem;
color: var(--muted);
font-size: 11px;
}
body.pdf-export .pdf-contact a {
color: inherit;
}
body.pdf-export .about-text {
margin: 0;
max-width: none;
color: var(--text);
font-size: 11px;
}
body.pdf-export .section {
margin-top: 0.9rem;
}
body.pdf-export .section-head {
margin-bottom: 0.45rem;
align-items: baseline;
border-bottom: 1px solid var(--border);
padding-bottom: 0.2rem;
}
body.pdf-export .section-head h2 {
color: var(--text);
font-size: 16px;
letter-spacing: 0;
}
body.pdf-export .section-head .eyebrow,
body.pdf-export .section-sub {
display: none;
}
body.pdf-export .timeline {
gap: 0.42rem;
}
body.pdf-export .timeline-item,
body.pdf-export .card,
body.pdf-export .project-card,
body.pdf-export .interest-block {
background: #ffffff;
border: 1px solid var(--border);
border-radius: 6px;
box-shadow: none;
}
body.pdf-export .timeline-item {
grid-template-columns: 105px minmax(0, 1fr);
gap: 0.65rem;
padding: 0.55rem 0.65rem;
break-inside: avoid;
}
body.pdf-export .timeline-body .meta,
body.pdf-export .muted,
body.pdf-export .bullets {
color: var(--muted);
}
body.pdf-export .timeline-body h3,
body.pdf-export .card h3,
body.pdf-export .project-card h3 {
color: var(--text);
font-size: 13px;
margin: 0.08rem 0 0.2rem;
}
body.pdf-export .pill,
body.pdf-export .pill-ghost,
body.pdf-export .chip,
body.pdf-export .chip-ghost,
body.pdf-export .chip-accent {
box-shadow: none;
background: #eff6ff;
border-color: #bfdbfe;
color: #1e3a8a;
font-size: 9px;
padding: 0.18rem 0.42rem;
}
body.pdf-export .bullets {
margin: 0.25rem 0 0;
padding-left: 1rem;
font-size: 10px;
}
body.pdf-export .bullets li + li {
margin-top: 0.1rem;
}
body.pdf-export .chips.tight,
body.pdf-export .chips,
body.pdf-export .subchips {
gap: 0.2rem;
}
body.pdf-export .card-grid,
body.pdf-export .projects-grid,
body.pdf-export .interest-chips {
gap: 0.42rem;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.pdf-export .card,
body.pdf-export .project-card,
body.pdf-export .interest-block {
padding: 0.55rem 0.65rem;
break-inside: avoid;
}
body.pdf-export .skill-card {
min-height: 0;
}
body.pdf-export .skill-list {
gap: 0.2rem;
margin-top: 0.25rem;
}
body.pdf-export .skill-row {
gap: 0.18rem;
padding: 0.35rem 0.45rem;
background: #f8fafc;
border-color: var(--border);
}
body.pdf-export .skill-label {
color: var(--text);
font-size: 10px;
}
body.pdf-export .skill-level {
height: 4px;
border: 0;
background: #e2e8f0;
}
body.pdf-export .skill-level-fill {
background: var(--accent);
}
body.pdf-export .page-footer {
margin: 0;
padding: 0;
}
body.pdf-export a {
color: #1d4ed8;
}
/* Editorial technical-CV finish: distinctive, but still scannable and printable. */
body.pdf-export .hero-card {
position: relative;
overflow: hidden;
padding: 0.9rem 1rem;
border: 0;
border-radius: 12px;
background:
radial-gradient(circle at 92% 12%, rgba(56, 189, 248, 0.22), transparent 28%),
linear-gradient(125deg, #0b1630 0%, #142c5a 58%, #174a85 100%);
}
body.pdf-export .hero-card::before {
content: '';
position: absolute;
inset: 0 auto 0 0;
width: 5px;
background: linear-gradient(#67e8f9, #3b82f6);
}
body.pdf-export .hero-photo {
position: relative;
z-index: 1;
border: 2px solid rgba(103, 232, 249, 0.75);
box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}
body.pdf-export .hero-copy {
position: relative;
z-index: 1;
}
body.pdf-export .hero-copy h1 {
color: #ffffff;
letter-spacing: -0.035em;
}
body.pdf-export .role {
color: #67e8f9;
letter-spacing: 0.01em;
}
body.pdf-export .pdf-contact {
color: #c7d9f5;
}
body.pdf-export .pdf-contact a {
color: inherit;
}
body.pdf-export .about-text {
color: #eef6ff;
}
body.pdf-export .section-head {
position: relative;
border-bottom: 0;
padding: 0 0 0.34rem 0.72rem;
break-after: avoid-page;
page-break-after: avoid;
}
body.pdf-export .section-head::before {
content: '';
position: absolute;
left: 0;
top: 0.1rem;
bottom: 0.44rem;
width: 4px;
border-radius: 4px;
background: linear-gradient(#2563eb, #67e8f9);
}
body.pdf-export .section-head::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 1px;
background: linear-gradient(90deg, #93c5fd 0%, #dbeafe 58%, transparent 100%);
}
body.pdf-export .section-head h2 {
font-weight: 700;
letter-spacing: -0.025em;
}
body.pdf-export .timeline {
position: relative;
padding-left: 8px;
}
body.pdf-export .timeline-item {
position: relative;
border: 0;
border-left: 3px solid #60a5fa;
border-radius: 0 9px 9px 0;
background: linear-gradient(90deg, #eff6ff 0%, #ffffff 38%);
box-shadow: inset 0 0 0 1px #dbeafe;
}
body.pdf-export .timeline-item::before {
content: '';
position: absolute;
left: -7px;
top: 0.78rem;
width: 9px;
height: 9px;
border-radius: 50%;
background: #0f3a78;
border: 2px solid #bfdbfe;
}
body.pdf-export .pdf-core-stack {
display: block;
margin-top: 0.72rem;
padding: 0.62rem 0.72rem 0.7rem;
border-radius: 9px;
color: #dbeafe;
background:
radial-gradient(circle at 93% 0%, rgba(56, 189, 248, 0.2), transparent 32%),
linear-gradient(120deg, #102a56, #174a85);
break-inside: avoid;
}
body.pdf-export .pdf-core-label {
margin: 0 0 0.35rem;
color: #67e8f9;
font-size: 9px;
font-weight: 700;
letter-spacing: 0.11em;
text-transform: uppercase;
}
body.pdf-export .pdf-core-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.38rem;
}
body.pdf-export .pdf-core-card {
min-width: 0;
padding: 0.36rem 0.42rem;
border: 1px solid rgba(147, 197, 253, 0.36);
border-radius: 6px;
background: rgba(255, 255, 255, 0.06);
}
body.pdf-export .pdf-core-card strong,
body.pdf-export .pdf-core-card span {
display: block;
}
body.pdf-export .pdf-core-card strong {
color: #ffffff;
font-size: 10px;
}
body.pdf-export .pdf-core-card span {
margin-top: 0.12rem;
color: #c7d9f5;
font-size: 8px;
line-height: 1.35;
}
body.pdf-export .timeline-meta .pill {
background: #0f3a78;
border-color: #0f3a78;
color: #ffffff;
font-weight: 700;
}
body.pdf-export .timeline-body h3 {
color: #102a56;
}
body.pdf-export .projects-grid .project-card {
position: relative;
overflow: hidden;
border: 0;
border-top: 3px solid #2563eb;
background: linear-gradient(145deg, #f8fbff, #ffffff);
box-shadow: inset 0 0 0 1px #dbeafe;
}
body.pdf-export .projects-grid .project-card::after {
content: '';
position: absolute;
right: -24px;
top: -24px;
width: 72px;
height: 72px;
border-radius: 50%;
background: rgba(96, 165, 250, 0.12);
}
/* Keep the selected-work narrative together instead of stranding it at a page edge. */
body.pdf-export #projects {
break-before: page;
page-break-before: always;
}
body.pdf-export #skills {
break-before: avoid-page;
page-break-before: avoid;
}
body.pdf-export #skills .card-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.pdf-export #skills .card {
padding: 0.42rem 0.5rem;
}
body.pdf-export #skills .skill-row {
padding: 0.27rem 0.35rem;
}
body.pdf-export .projects-grid .project-body {
position: relative;
z-index: 1;
}
body.pdf-export .card {
border: 0;
box-shadow: inset 0 0 0 1px #dbeafe;
background: #ffffff;
}
body.pdf-export .card-header {
padding-bottom: 0.3rem;
margin-bottom: 0.2rem;
border-bottom: 1px solid #dbeafe;
}
body.pdf-export .skill-row {
border-color: #e2e8f0;
background: linear-gradient(90deg, #f8fbff, #f1f5f9);
}
body.pdf-export .skill-level-fill {
background: linear-gradient(90deg, #2563eb, #38bdf8);
}
body.pdf-export .two-col .card:first-child,
body.pdf-export .interest-block {
background: linear-gradient(145deg, #f8fbff, #ffffff);
}
@media (max-width: 640px) {
body.pdf-export .hero-card,
body.pdf-export .timeline-item,
body.pdf-export .card-grid,
body.pdf-export .projects-grid,
body.pdf-export .interest-chips {
grid-template-columns: minmax(0, 1fr);
}
}
body.theme-light {
--bg: #f6f7fb;
--bg-2: #e9edf5;
--bg-overlay: rgba(255, 255, 255, 0.05);
--card: rgba(255, 255, 255, 0.94);
--border: rgba(0, 0, 0, 0.08);
--text: #0f172a;
--muted: #475569;
--accent: #2563eb;
--accent-2: #d946ef;
color: var(--text);
background:
linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)),
url("../ress/mountedRess/background.jpeg") center/cover fixed;
background-blend-mode: normal, overlay;
}
body.theme-light .topbar,
body.theme-light .contact-strip {
background: rgba(255, 255, 255, 0.85);
}
body.theme-light .pill {
color: #0f172a;
background: rgba(37, 99, 235, 0.12);
border-color: rgba(37, 99, 235, 0.35);
}
body.theme-light .chip-accent {
background: rgba(37, 99, 235, 0.16);
border-color: rgba(37, 99, 235, 0.4);
color: #0f172a;
box-shadow: none;
}
body.theme-light .timeline-item,
body.theme-light .card,
body.theme-light .project-card,
body.theme-light .hero-card {
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
@media (max-width: 960px) {
.topbar {
flex-wrap: wrap;
}
.top-nav {
order: 3;
width: 100%;
justify-content: flex-start;
flex-wrap: wrap;
}
.hero-card {
grid-template-columns: 1fr;
text-align: left;
}
.hero-photo {
margin: 0 auto;
}
.timeline-item {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.page-shell {
padding: 1rem;
}
.topbar {
position: sticky;
top: 0;
}
.top-actions {
width: 100%;
justify-content: flex-start;
}
.hero-card {
padding: 1.25rem;
}
.cta-row {
flex-direction: column;
align-items: flex-start;
}
.skill-row {
grid-template-columns: 1fr;
}
.contact-strip {
display: flex;
}
}