mirror of
https://github.com/mudabbir-ahmad/Portfolio_V1.git
synced 2026-12-06 19:53:09 +00:00
Initial commit — portfolio site (Vite + React), personal data abstracted to secrets/.env
This commit is contained in:
commit
7da63e0741
22 files changed
+3583
No files matched your search
+948
@@ -0,0 +1,948 @@
|
||||
/* ==========================================================================
|
||||
Design tokens — Frankenstein blend:
|
||||
palette from anthropic.com (cream / ink / terracotta),
|
||||
typography from cappfinity.com (Helvetica Now Display + Text).
|
||||
========================================================================== */
|
||||
|
||||
:root {
|
||||
--bg: #faf9f5;
|
||||
--bg-alt: #f0eee6;
|
||||
--surface: #ffffff;
|
||||
--ink: #141413;
|
||||
--ink-soft: #57544b;
|
||||
--muted: #8a887c;
|
||||
--hairline: #e5e2d8;
|
||||
--hairline-strong: #cfcab9;
|
||||
--accent: #d97757;
|
||||
--accent-dark: #c05f3e;
|
||||
--accent-tint: #f6e4da;
|
||||
|
||||
--font-display: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
--font-text: "Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
|
||||
--container: 1200px;
|
||||
--radius: 14px;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
scroll-padding-top: 88px;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
background: var(--bg);
|
||||
color: var(--ink);
|
||||
font-family: var(--font-text);
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: var(--accent-tint);
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
font-family: var(--font-display);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: var(--container);
|
||||
margin-inline: auto;
|
||||
padding-inline: 24px;
|
||||
}
|
||||
|
||||
/* ---------- shared section chrome ---------- */
|
||||
|
||||
.section {
|
||||
padding-block: 96px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: clamp(1.75rem, 3vw, 2.375rem);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.section-lede {
|
||||
margin-top: 16px;
|
||||
max-width: 62ch;
|
||||
color: var(--ink-soft);
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.14em;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--accent-dark);
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
|
||||
.eyebrow--light {
|
||||
color: #b0aea5;
|
||||
}
|
||||
|
||||
/* ---------- buttons ---------- */
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 13px 26px;
|
||||
border-radius: 999px;
|
||||
font-family: var(--font-text);
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.01em;
|
||||
text-decoration: none;
|
||||
border: 1px solid transparent;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: var(--ink);
|
||||
color: var(--bg);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: var(--accent-dark);
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
background: transparent;
|
||||
border-color: var(--hairline-strong);
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.btn-outline:hover {
|
||||
border-color: var(--ink);
|
||||
background: var(--bg-alt);
|
||||
}
|
||||
|
||||
.btn-outline-light {
|
||||
background: transparent;
|
||||
border-color: rgba(250, 249, 245, 0.35);
|
||||
color: var(--bg);
|
||||
}
|
||||
|
||||
.btn-outline-light:hover {
|
||||
border-color: var(--bg);
|
||||
background: rgba(250, 249, 245, 0.08);
|
||||
}
|
||||
|
||||
.btn-sm {
|
||||
padding: 9px 18px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* ---------- nav ---------- */
|
||||
|
||||
.nav {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 50;
|
||||
background: rgba(250, 249, 245, 0.86);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
border-bottom: 1px solid var(--hairline);
|
||||
}
|
||||
|
||||
.nav-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
.nav-wordmark {
|
||||
font-family: var(--font-display);
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.02em;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-dot {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: 28px;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--ink-soft);
|
||||
text-decoration: none;
|
||||
transition: color 0.15s ease;
|
||||
}
|
||||
|
||||
.nav-link:hover {
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.nav-toggle {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
width: 42px;
|
||||
height: 38px;
|
||||
margin-left: auto;
|
||||
padding: 0;
|
||||
background: none;
|
||||
border: 1px solid var(--hairline);
|
||||
border-radius: 999px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nav-toggle-bar {
|
||||
width: 18px;
|
||||
height: 2px;
|
||||
border-radius: 2px;
|
||||
background: var(--ink);
|
||||
transition: transform 0.15s ease;
|
||||
}
|
||||
|
||||
/* ---------- hero ---------- */
|
||||
|
||||
.hero {
|
||||
padding: 140px 0 120px;
|
||||
}
|
||||
|
||||
.hero-name {
|
||||
font-size: clamp(3.5rem, 9vw, 6rem);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.02;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.accent {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.hero-tagline {
|
||||
margin-top: 28px;
|
||||
max-width: 58ch;
|
||||
font-size: 20px;
|
||||
line-height: 1.55;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
.hero-availability {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-top: 24px;
|
||||
padding: 8px 16px;
|
||||
background: var(--accent-tint);
|
||||
border-radius: 999px;
|
||||
font-size: 13.5px;
|
||||
font-weight: 600;
|
||||
color: var(--accent-dark);
|
||||
}
|
||||
|
||||
.availability-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: var(--accent);
|
||||
animation: availability-pulse 2.4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes availability-pulse {
|
||||
0%, 100% { opacity: 1; transform: scale(1); }
|
||||
50% { opacity: 0.45; transform: scale(0.8); }
|
||||
}
|
||||
|
||||
.hero-education {
|
||||
margin-top: 20px;
|
||||
font-size: 15px;
|
||||
color: var(--muted);
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
/* ---------- stats strip ---------- */
|
||||
|
||||
.stats {
|
||||
border-top: 1px solid var(--hairline);
|
||||
background: var(--bg-alt);
|
||||
}
|
||||
|
||||
.stats-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 24px;
|
||||
padding-block: 36px;
|
||||
}
|
||||
|
||||
.stat {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-family: var(--font-display);
|
||||
font-size: 30px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: 13.5px;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
/* ---------- about ---------- */
|
||||
|
||||
.about {
|
||||
border-top: 1px solid var(--hairline);
|
||||
}
|
||||
|
||||
.about-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 260px 1fr;
|
||||
gap: 56px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.about-body p {
|
||||
max-width: 58ch;
|
||||
font-size: 17px;
|
||||
line-height: 1.65;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
.about-body p + p {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.edu-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-top: 36px;
|
||||
max-width: 58ch;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--hairline);
|
||||
border-radius: var(--radius);
|
||||
padding: 20px 24px;
|
||||
}
|
||||
|
||||
.edu-card h3 {
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.edu-card p {
|
||||
margin-top: 4px;
|
||||
max-width: none;
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.badge {
|
||||
flex-shrink: 0;
|
||||
background: var(--accent-tint);
|
||||
color: var(--accent-dark);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
padding: 6px 14px;
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
/* ---------- experience ---------- */
|
||||
|
||||
.timeline {
|
||||
list-style: none;
|
||||
margin: 48px 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.timeline-item {
|
||||
display: grid;
|
||||
grid-template-columns: 190px 1fr;
|
||||
gap: 40px;
|
||||
border-top: 1px solid var(--hairline);
|
||||
padding-block: 28px;
|
||||
}
|
||||
|
||||
.timeline-item:last-child {
|
||||
border-bottom: 1px solid var(--hairline);
|
||||
}
|
||||
|
||||
.timeline-period {
|
||||
font-size: 13.5px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.timeline-body h3 {
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.015em;
|
||||
}
|
||||
|
||||
.timeline-org {
|
||||
margin-top: 6px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--accent-dark);
|
||||
}
|
||||
|
||||
.timeline-detail {
|
||||
margin-top: 10px;
|
||||
max-width: 62ch;
|
||||
font-size: 15px;
|
||||
line-height: 1.6;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
/* ---------- projects ---------- */
|
||||
|
||||
.projects {
|
||||
border-top: 1px solid var(--hairline);
|
||||
}
|
||||
|
||||
.project-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 20px;
|
||||
margin-top: 48px;
|
||||
}
|
||||
|
||||
.project-card {
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--hairline);
|
||||
border-radius: var(--radius);
|
||||
padding: 28px;
|
||||
transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.project-card:hover {
|
||||
border-color: var(--hairline-strong);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 28px rgba(20, 20, 19, 0.06);
|
||||
}
|
||||
|
||||
.project-card--highlight {
|
||||
background: #fffdf9;
|
||||
border-color: #e9d5c8;
|
||||
}
|
||||
|
||||
.project-head {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.project-card h3 {
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.015em;
|
||||
}
|
||||
|
||||
.project-year {
|
||||
flex-shrink: 0;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--muted);
|
||||
border: 1px solid var(--hairline);
|
||||
border-radius: 999px;
|
||||
padding: 3px 10px;
|
||||
}
|
||||
|
||||
.project-card .project-role {
|
||||
margin-top: 8px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.project-features {
|
||||
list-style: none;
|
||||
margin: 16px 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.project-features li {
|
||||
position: relative;
|
||||
padding-left: 20px;
|
||||
font-size: 14.5px;
|
||||
line-height: 1.55;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
.project-features li + li {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.project-features li::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 2px;
|
||||
top: 0.62em;
|
||||
width: 8px;
|
||||
height: 2px;
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
.project-foot {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
margin-top: 24px;
|
||||
padding-top: 18px;
|
||||
border-top: 1px solid var(--hairline);
|
||||
}
|
||||
|
||||
.project-foot .project-tags {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.project-link {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--accent-dark);
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.project-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.project-card p {
|
||||
margin-top: 12px;
|
||||
font-size: 15px;
|
||||
line-height: 1.6;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
.project-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.tag {
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--ink-soft);
|
||||
border: 1px solid var(--hairline);
|
||||
border-radius: 999px;
|
||||
padding: 4px 12px;
|
||||
}
|
||||
|
||||
/* ---------- github ---------- */
|
||||
|
||||
.github {
|
||||
border-top: 1px solid var(--hairline);
|
||||
background: var(--bg-alt);
|
||||
}
|
||||
|
||||
.repo-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 20px;
|
||||
margin-top: 48px;
|
||||
}
|
||||
|
||||
.repo-card {
|
||||
display: block;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--hairline);
|
||||
border-radius: var(--radius);
|
||||
padding: 26px 28px;
|
||||
text-decoration: none;
|
||||
transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.repo-card:hover {
|
||||
border-color: var(--hairline-strong);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 28px rgba(20, 20, 19, 0.06);
|
||||
}
|
||||
|
||||
.repo-card h3 {
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.01em;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.repo-card p {
|
||||
margin-top: 10px;
|
||||
font-size: 14px;
|
||||
line-height: 1.55;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
.repo-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-top: 18px;
|
||||
font-size: 13px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.repo-lang {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* ---------- skills carousel ---------- */
|
||||
|
||||
.skills {
|
||||
border-top: 1px solid var(--hairline);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.marquee-block {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.marquee-label {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.14em;
|
||||
color: var(--muted);
|
||||
padding-inline: 24px;
|
||||
}
|
||||
|
||||
.marquee {
|
||||
overflow: hidden;
|
||||
margin-top: 16px;
|
||||
mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
|
||||
-webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
|
||||
}
|
||||
|
||||
.marquee-track {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
width: max-content;
|
||||
animation: marquee-scroll var(--marquee-duration, 34s) linear infinite;
|
||||
}
|
||||
|
||||
.marquee:hover .marquee-track {
|
||||
animation-play-state: paused;
|
||||
}
|
||||
|
||||
.marquee-item {
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
color: var(--ink);
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--hairline);
|
||||
border-radius: 999px;
|
||||
padding: 11px 22px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@keyframes marquee-scroll {
|
||||
from {
|
||||
transform: translateX(0);
|
||||
}
|
||||
to {
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- interests ---------- */
|
||||
|
||||
.interest-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 20px;
|
||||
margin-top: 48px;
|
||||
}
|
||||
|
||||
.interest-card {
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--hairline);
|
||||
border-radius: var(--radius);
|
||||
padding: 24px 26px;
|
||||
}
|
||||
|
||||
.interest-card h3 {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.interest-card p {
|
||||
margin-top: 8px;
|
||||
font-size: 14.5px;
|
||||
line-height: 1.55;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
/* ---------- homelab ---------- */
|
||||
|
||||
.homelab-grid {
|
||||
list-style: none;
|
||||
margin: 48px 0 0;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
column-gap: 56px;
|
||||
}
|
||||
|
||||
.homelab-item {
|
||||
border-top: 1px solid var(--hairline);
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
.homelab-item h3 {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.homelab-item p {
|
||||
margin-top: 4px;
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.local-ai {
|
||||
margin-top: 80px;
|
||||
background: var(--bg-alt);
|
||||
border-radius: 16px;
|
||||
padding: 52px;
|
||||
}
|
||||
|
||||
.local-ai p {
|
||||
margin-top: 20px;
|
||||
max-width: 62ch;
|
||||
font-size: 17px;
|
||||
line-height: 1.65;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
/* ---------- contact / footer ---------- */
|
||||
|
||||
.contact {
|
||||
background: #141413;
|
||||
color: var(--bg);
|
||||
padding-top: 120px;
|
||||
}
|
||||
|
||||
.contact-title {
|
||||
font-size: clamp(2.5rem, 6vw, 4rem);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.05;
|
||||
}
|
||||
|
||||
.contact-lede {
|
||||
margin-top: 20px;
|
||||
max-width: 55ch;
|
||||
font-size: 17px;
|
||||
color: #b0aea5;
|
||||
}
|
||||
|
||||
.contact-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.contact .btn-primary {
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.contact .btn-primary:hover {
|
||||
background: var(--accent-dark);
|
||||
}
|
||||
|
||||
.footer-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-top: 96px;
|
||||
padding-block: 28px;
|
||||
border-top: 1px solid rgba(250, 249, 245, 0.12);
|
||||
font-size: 13px;
|
||||
color: #8a887c;
|
||||
}
|
||||
|
||||
/* ---------- wide screens ---------- */
|
||||
|
||||
@media (min-width: 1560px) {
|
||||
:root {
|
||||
--container: 1320px;
|
||||
}
|
||||
|
||||
.project-grid,
|
||||
.repo-grid {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
.homelab-grid {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
column-gap: 40px;
|
||||
}
|
||||
|
||||
.interest-grid {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- responsive ---------- */
|
||||
|
||||
@media (max-width: 840px) {
|
||||
.nav-toggle {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.nav-toggle--open .nav-toggle-bar:first-child {
|
||||
transform: translateY(4px) rotate(45deg);
|
||||
}
|
||||
|
||||
.nav-toggle--open .nav-toggle-bar:last-child {
|
||||
transform: translateY(-4px) rotate(-45deg);
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
padding: 12px 24px 20px;
|
||||
background: var(--bg);
|
||||
border-bottom: 1px solid var(--hairline);
|
||||
box-shadow: 0 20px 32px rgba(20, 20, 19, 0.08);
|
||||
}
|
||||
|
||||
.nav-links--open {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
padding: 10px 2px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 96px 0 80px;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding-block: 72px;
|
||||
}
|
||||
|
||||
.about-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.project-grid,
|
||||
.repo-grid,
|
||||
.homelab-grid {
|
||||
grid-template-columns: 1fr;
|
||||
column-gap: 0;
|
||||
}
|
||||
|
||||
.local-ai {
|
||||
padding: 36px 28px;
|
||||
}
|
||||
|
||||
.contact {
|
||||
padding-top: 88px;
|
||||
}
|
||||
|
||||
.stats-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.timeline-item {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 8px;
|
||||
padding-block: 24px;
|
||||
}
|
||||
|
||||
.timeline-period {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.interest-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- reduced motion ---------- */
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
|
||||
.marquee-track {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.availability-dot {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user