🐐
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
:root {
|
||||
--red: #e63946;
|
||||
--orange: #f4722b;
|
||||
--orange-deep: #a84a0c; /* text-safe orange: ≥4.5:1 on cream */
|
||||
--yellow: #ffbe0b;
|
||||
--pink: #ff006e;
|
||||
--cream: #fefee3;
|
||||
@@ -9,11 +10,13 @@
|
||||
--glass-bg: rgba(254, 254, 227, 0.75);
|
||||
--glass-border: rgba(244, 114, 43, 0.25);
|
||||
--card-shadow: 0 8px 32px rgba(230, 57, 70, 0.10);
|
||||
--glow-orange: 0 0 28px rgba(244, 114, 43, 0.40);
|
||||
--glow-red: 0 0 28px rgba(230, 57, 70, 0.35);
|
||||
--grad: linear-gradient(135deg, var(--red), var(--orange), var(--yellow));
|
||||
--font: 'Outfit', sans-serif;
|
||||
--mono: 'Fira Code', monospace;
|
||||
--radius-sm: 6px;
|
||||
--radius-md: 12px;
|
||||
--radius-lg: 18px;
|
||||
--radius-pill: 999px;
|
||||
--nav-h: 64px;
|
||||
--max-w: 1100px;
|
||||
--ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||
@@ -66,8 +69,7 @@ nav {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
}
|
||||
.nav-logo {
|
||||
font-family: var(--mono);
|
||||
font-size: 1.15rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 700;
|
||||
color: var(--ink);
|
||||
transition: color 0.2s;
|
||||
@@ -89,11 +91,11 @@ nav {
|
||||
}
|
||||
.nav-link {
|
||||
font-weight: 700;
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
padding: 0.45rem 0.8rem;
|
||||
border-radius: 6px;
|
||||
padding: 0.5rem 0.75rem;
|
||||
border-radius: var(--radius-sm);
|
||||
color: var(--ink-soft);
|
||||
position: relative;
|
||||
transition: color 0.2s;
|
||||
@@ -105,7 +107,7 @@ nav {
|
||||
transform: translateX(-50%);
|
||||
width: 0; height: 2px;
|
||||
background: var(--grad);
|
||||
border-radius: 99px;
|
||||
border-radius: var(--radius-pill);
|
||||
transition: width 0.25s var(--ease);
|
||||
}
|
||||
.nav-link:hover,
|
||||
@@ -114,7 +116,7 @@ nav {
|
||||
.nav-link.active::after { width: 70%; }
|
||||
|
||||
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
|
||||
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 99px; transition: all 0.3s var(--ease); }
|
||||
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: var(--radius-pill); transition: all 0.3s var(--ease); }
|
||||
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
|
||||
.burger.open span:nth-child(2) { opacity: 0; }
|
||||
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
|
||||
@@ -126,59 +128,17 @@ main { position: relative; z-index: 1; }
|
||||
padding: 7rem 0;
|
||||
position: relative;
|
||||
background: rgba(254, 254, 227, 0.5);
|
||||
/* backdrop-filter: blur(2px);
|
||||
-webkit-backdrop-filter: blur(2px); */
|
||||
}
|
||||
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
|
||||
|
||||
.section-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem; }
|
||||
.section-num { font-family: var(--mono); font-size: 0.75rem; color: var(--orange); font-weight: 500; min-width: 24px; }
|
||||
.section-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
|
||||
.section-title {
|
||||
font-size: clamp(1.8rem, 3vw, 2.4rem);
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.02em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.section-title .bracket { color: var(--orange); }
|
||||
.section-rule { flex: 1; height: 2px; background: linear-gradient(to right, var(--orange), transparent); border-radius: 99px; }
|
||||
|
||||
/* Fade-in */
|
||||
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
|
||||
.fade-up.visible { opacity: 1; transform: none; }
|
||||
|
||||
/* Pre-reveal state. script.js adds .fade-up at runtime, which is too late to stop
|
||||
these from painting first, so hide them here instead. Selectors mirror the
|
||||
queries in script.js — change both together. */
|
||||
.js .hero-name-static { visibility: hidden; }
|
||||
.js .hero-role:not(.visible),
|
||||
.js .hero-pronouns:not(.visible),
|
||||
.js .hero-links:not(.visible),
|
||||
.js .hero-visual:not(.visible),
|
||||
.js .section-header:not(.visible),
|
||||
.js .about-grid:not(.visible),
|
||||
.js .skill-card:not(.visible),
|
||||
.js .timeline-item:not(.visible),
|
||||
.js .project-card:not(.visible),
|
||||
.js .edu-card:not(.visible) {
|
||||
opacity: 0;
|
||||
transform: translateY(28px);
|
||||
}
|
||||
|
||||
/* Hero typewriter cursor */
|
||||
.hero-cursor {
|
||||
display: inline-block;
|
||||
width: 5px;
|
||||
height: 0.8em;
|
||||
background: var(--ink);
|
||||
margin-left: 5px;
|
||||
vertical-align: baseline;
|
||||
border-radius: 1px;
|
||||
animation: cursorBlink 0.7s step-end infinite;
|
||||
}
|
||||
@keyframes cursorBlink {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0; }
|
||||
}
|
||||
.section-rule { flex: 1; height: 2px; background: linear-gradient(to right, var(--orange), transparent); border-radius: var(--radius-pill); }
|
||||
|
||||
/* ── Hero ───────────────────────────────────────────────────── */
|
||||
.hero {
|
||||
@@ -193,7 +153,6 @@ main { position: relative; z-index: 1; }
|
||||
.hero-content { flex: 1; }
|
||||
.hero-visual { flex: 0 0 300px; display: flex; align-items: center; justify-content: center; position: relative; }
|
||||
|
||||
.hero-greeting { font-family: var(--mono); font-size: 0.9rem; color: var(--orange); margin-bottom: 0.6rem; }
|
||||
.hero-name {
|
||||
font-size: clamp(3rem, 5.5vw, 5rem);
|
||||
font-weight: 900;
|
||||
@@ -205,32 +164,24 @@ main { position: relative; z-index: 1; }
|
||||
.hero-role {
|
||||
font-size: clamp(1rem, 2vw, 1.3rem);
|
||||
font-weight: 700;
|
||||
color: var(--orange);
|
||||
margin-bottom: 1rem;
|
||||
color: var(--orange-deep);
|
||||
margin-bottom: 0.5rem;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.hero-desc {
|
||||
font-size: 1.05rem;
|
||||
color: var(--ink-soft);
|
||||
max-width: 440px;
|
||||
margin-bottom: 2rem;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
/* Hero social links */
|
||||
.hero-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.65rem;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
.hero-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 999px;
|
||||
font-size: 0.82rem;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: 0.85rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.03em;
|
||||
border: 1.5px solid var(--glass-border);
|
||||
@@ -245,7 +196,6 @@ main { position: relative; z-index: 1; }
|
||||
border-color: var(--orange);
|
||||
color: #fff;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--glow-orange);
|
||||
}
|
||||
.hero-link:hover i { color: #fff; }
|
||||
|
||||
@@ -277,40 +227,38 @@ main { position: relative; z-index: 1; }
|
||||
}
|
||||
.avatar-placeholder img { width: 100%; height: 100%; object-fit: cover; }
|
||||
|
||||
.avatar-ring.spinning { animation: avatarSpin 0.8s var(--ease); }
|
||||
/* rotate is only keyed at 0%/100% so it sweeps through the scale midpoint
|
||||
without easing to a stop at 180° */
|
||||
@keyframes avatarSpin {
|
||||
0% { rotate: 0deg; scale: 1; }
|
||||
50% { scale: 1.1; }
|
||||
100% { rotate: 360deg; scale: 1; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.avatar-ring.spinning { animation: none; }
|
||||
}
|
||||
|
||||
.scroll-hint {
|
||||
position: absolute; bottom: 2rem; left: 2rem;
|
||||
display: flex; align-items: center; gap: 0.65rem;
|
||||
font-family: var(--mono); font-size: 0.68rem;
|
||||
color: var(--orange); letter-spacing: 0.1em; text-transform: uppercase;
|
||||
}
|
||||
.scroll-line { width: 36px; height: 1px; background: var(--orange); position: relative; overflow: hidden; }
|
||||
.scroll-line::after {
|
||||
content: ''; position: absolute; top: 0; left: -100%;
|
||||
width: 100%; height: 100%; background: var(--yellow);
|
||||
animation: scanline 1.8s linear infinite;
|
||||
}
|
||||
@keyframes scanline { to { left: 200%; } }
|
||||
|
||||
.hero-pronouns {
|
||||
font-family: var(--mono);
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.85rem;
|
||||
color: var(--ink-soft);
|
||||
margin-bottom: 0.85rem;
|
||||
margin-left: 0.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
/* ── About ──────────────────────────────────────────────────── */
|
||||
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
|
||||
.about-right { display: flex; flex-direction: column; gap: 1.25rem; }
|
||||
.about-text p { font-size: 0.97rem; color: var(--ink-soft); margin-bottom: 1.1rem; line-height: 1.85; }
|
||||
.about-text p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1rem; }
|
||||
.about-text strong { color: var(--ink); }
|
||||
|
||||
.pepsi-card {
|
||||
background: var(--glass-bg);
|
||||
border: 1px solid var(--glass-border);
|
||||
backdrop-filter: blur(12px);
|
||||
border-radius: 16px;
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
box-shadow: var(--card-shadow);
|
||||
text-align: center;
|
||||
@@ -326,22 +274,19 @@ main { position: relative; z-index: 1; }
|
||||
width: 100%; height: 100%; object-fit: cover;
|
||||
}
|
||||
.pepsi-caption {
|
||||
padding: 0.6rem 1rem;
|
||||
font-size: 0.78rem;
|
||||
padding: 0.5rem 1rem;
|
||||
font-size: 0.85rem;
|
||||
font-style: italic;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
/* ── Skills ─────────────────────────────────────────────────── */
|
||||
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
|
||||
.skill-card {
|
||||
background: var(--glass-bg); border: 1px solid var(--glass-border);
|
||||
border-radius: 18px; padding: 1.75rem;
|
||||
border-radius: var(--radius-lg); padding: 1.75rem;
|
||||
box-shadow: var(--card-shadow);
|
||||
transition: transform 0.3s var(--ease), box-shadow 0.3s;
|
||||
}
|
||||
.skill-card:hover { box-shadow: var(--glow-orange); }
|
||||
.skill-card-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.05rem; margin-bottom: 0.85rem; }
|
||||
.skill-card-icon { width: 42px; height: 42px; border-radius: var(--radius-md); background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; margin-bottom: 0.75rem; }
|
||||
.skill-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 1.25rem; }
|
||||
|
||||
/* ── Projects (list layout) ─────────────────────────────────── */
|
||||
@@ -349,13 +294,10 @@ main { position: relative; z-index: 1; }
|
||||
|
||||
.project-card {
|
||||
background: var(--glass-bg); border: 1px solid var(--glass-border);
|
||||
border-radius: 20px;
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 2rem;
|
||||
box-shadow: var(--card-shadow);
|
||||
transition: transform 0.3s var(--ease), box-shadow 0.3s;
|
||||
will-change: transform;
|
||||
}
|
||||
.project-card:hover { box-shadow: var(--glow-orange); }
|
||||
|
||||
.project-header {
|
||||
display: flex; align-items: flex-start; gap: 1rem;
|
||||
@@ -363,7 +305,7 @@ main { position: relative; z-index: 1; }
|
||||
}
|
||||
.project-icon {
|
||||
width: 46px; height: 46px; flex-shrink: 0;
|
||||
border-radius: 12px; background: var(--grad);
|
||||
border-radius: var(--radius-md); background: var(--grad);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
color: #fff; font-size: 1.1rem;
|
||||
}
|
||||
@@ -374,11 +316,11 @@ main { position: relative; z-index: 1; }
|
||||
}
|
||||
.project-title-row h3 { font-size: 1.2rem; font-weight: 800; }
|
||||
|
||||
.project-ext-links { display: flex; gap: 0.6rem; flex-wrap: wrap; }
|
||||
.project-ext-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
|
||||
.project-link {
|
||||
display: inline-flex; align-items: center; gap: 0.35rem;
|
||||
font-size: 0.76rem; font-weight: 700;
|
||||
padding: 0.35rem 0.8rem; border-radius: 999px;
|
||||
display: inline-flex; align-items: center; gap: 0.5rem;
|
||||
font-size: 0.75rem; font-weight: 700;
|
||||
padding: 0.25rem 0.75rem; border-radius: var(--radius-pill);
|
||||
border: 1.5px solid var(--glass-border);
|
||||
background: rgba(255,255,255,0.4);
|
||||
color: var(--ink-soft);
|
||||
@@ -387,34 +329,34 @@ main { position: relative; z-index: 1; }
|
||||
.project-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
|
||||
|
||||
.project-badge {
|
||||
display: inline-flex; align-items: center; gap: 0.35rem;
|
||||
font-size: 0.72rem; font-weight: 700;
|
||||
padding: 0.35rem 0.85rem; border-radius: 999px;
|
||||
display: inline-flex; align-items: center; gap: 0.5rem;
|
||||
font-size: 0.75rem; font-weight: 700;
|
||||
padding: 0.25rem 0.75rem; border-radius: var(--radius-pill);
|
||||
background: rgba(244, 114, 43, 0.12);
|
||||
color: var(--orange);
|
||||
color: var(--orange-deep);
|
||||
border: 1px solid rgba(244, 114, 43, 0.25);
|
||||
}
|
||||
|
||||
.project-body { margin-bottom: 1.25rem; }
|
||||
.project-body p {
|
||||
font-size: 0.93rem; color: var(--ink-soft); line-height: 1.8;
|
||||
margin-bottom: 0.85rem;
|
||||
font-size: 0.95rem; color: var(--ink-soft);
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
.project-body p:last-child { margin-bottom: 0; }
|
||||
|
||||
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
|
||||
.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
|
||||
.project-tags span, .timeline-tags span {
|
||||
font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
|
||||
padding: 0.25rem 0.7rem; border-radius: 999px;
|
||||
font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
|
||||
padding: 0.25rem 0.75rem; border-radius: var(--radius-pill);
|
||||
background: rgba(26,10,0,0.07); color: var(--ink-soft);
|
||||
border: 1px solid rgba(244, 114, 43, 0.18);
|
||||
transition: all 0.2s var(--ease);
|
||||
}
|
||||
.project-tags span:hover, .timeline-tags span:hover {
|
||||
.project-tags span:hover, .timeline-tags span:hover,
|
||||
.project-tags span.tip-open, .timeline-tags span.tip-open {
|
||||
background: var(--orange);
|
||||
border-color: var(--orange);
|
||||
color: #fff;
|
||||
box-shadow: var(--glow-orange);
|
||||
}
|
||||
|
||||
/* ── Timeline / Experience ──────────────────────────────────── */
|
||||
@@ -422,7 +364,7 @@ main { position: relative; z-index: 1; }
|
||||
.timeline::before {
|
||||
content: ''; position: absolute; left: 0; top: 0; bottom: 0;
|
||||
width: 2px; background: linear-gradient(to bottom, var(--orange), var(--yellow), transparent);
|
||||
border-radius: 99px;
|
||||
border-radius: var(--radius-pill);
|
||||
}
|
||||
.timeline-item { position: relative; padding-left: 2.25rem; padding-bottom: 3rem; }
|
||||
.timeline-item:last-child { padding-bottom: 0; }
|
||||
@@ -430,63 +372,48 @@ main { position: relative; z-index: 1; }
|
||||
position: absolute; left: -2.16rem; top: 0rem;
|
||||
width: 16px; height: 16px; border-radius: 50%;
|
||||
background: var(--orange); border: 3px solid var(--cream);
|
||||
box-shadow: var(--glow-orange);
|
||||
}
|
||||
.timeline-card {
|
||||
background: var(--glass-bg); border: 1px solid var(--glass-border);
|
||||
border-radius: 18px; padding: 1.75rem;
|
||||
border-radius: var(--radius-lg); padding: 1.75rem;
|
||||
box-shadow: var(--card-shadow);
|
||||
transition: transform 0.3s var(--ease), box-shadow 0.3s;
|
||||
}
|
||||
.timeline-card:hover { box-shadow: var(--glow-orange); }
|
||||
.timeline-meta { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.6rem; }
|
||||
.timeline-date { font-family: var(--mono); font-size: 0.75rem; color: var(--orange); }
|
||||
.timeline-tag { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(244,114,43,0.12); color: var(--orange); border-radius: 999px; padding: 0.18rem 0.6rem; }
|
||||
.timeline-role { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
|
||||
.timeline-company { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 0.85rem; }
|
||||
.timeline-desc { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1rem; }
|
||||
.timeline-achievements {
|
||||
display: flex; flex-direction: column; gap: 0.45rem;
|
||||
margin-bottom: 1rem; padding: 0.85rem 1.1rem;
|
||||
background: rgba(244,114,43,0.06); border-radius: 10px; border-left: 3px solid var(--orange);
|
||||
}
|
||||
.timeline-achievements li { font-size: 0.85rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.55rem; }
|
||||
.timeline-achievements i { color: var(--orange); font-size: 0.6rem; flex-shrink: 0; }
|
||||
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
|
||||
.timeline-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
|
||||
.timeline-date { font-size: 0.75rem; font-weight: 700; color: var(--orange-deep); }
|
||||
.timeline-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(244,114,43,0.12); color: var(--orange-deep); border-radius: var(--radius-pill); padding: 0.25rem 0.75rem; }
|
||||
.timeline-role { font-size: 1.2rem; font-weight: 900; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
|
||||
.timeline-company { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.75rem; }
|
||||
.timeline-desc { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1rem; }
|
||||
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
|
||||
|
||||
/* ── Education ──────────────────────────────────────────────── */
|
||||
.education-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
|
||||
.edu-card {
|
||||
background: var(--glass-bg); border: 1px solid var(--glass-border);
|
||||
border-radius: 18px; padding: 1.75rem;
|
||||
border-radius: var(--radius-lg); padding: 1.75rem;
|
||||
box-shadow: var(--card-shadow);
|
||||
display: flex; gap: 1.25rem; align-items: flex-start;
|
||||
transition: transform 0.3s var(--ease), box-shadow 0.3s;
|
||||
}
|
||||
.edu-card:hover { box-shadow: var(--glow-orange); }
|
||||
.edu-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem; }
|
||||
.edu-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--radius-md); background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; }
|
||||
.edu-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.25rem; }
|
||||
.edu-school { font-weight: 700; color: var(--orange); font-size: 0.85rem; margin-bottom: 0.2rem; }
|
||||
.edu-date { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-soft); margin-bottom: 0.65rem; }
|
||||
.edu-desc { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.7; }
|
||||
.edu-links { margin-top: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
|
||||
.edu-school { font-weight: 700; color: var(--orange-deep); font-size: 0.85rem; margin-bottom: 0.25rem; }
|
||||
.edu-date { font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 0.75rem; }
|
||||
.edu-desc { font-size: 0.85rem; color: var(--ink-soft); }
|
||||
.edu-links { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
|
||||
|
||||
/* ── Footer ─────────────────────────────────────────────────── */
|
||||
footer {
|
||||
position: relative; z-index: 1;
|
||||
background: var(--ink); color: rgba(255,255,255,0.45);
|
||||
text-align: center; padding: 1.75rem 2rem; font-size: 0.8rem;
|
||||
text-align: center; padding: 1.75rem 2rem; font-size: 0.85rem;
|
||||
}
|
||||
|
||||
/* ── Responsive ─────────────────────────────────────────────── */
|
||||
@media (max-width: 960px) {
|
||||
.skills-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
.about-grid { grid-template-columns: 1fr; gap: 2rem; }
|
||||
.hero-visual { display: none; }
|
||||
.hero { flex-direction: column; text-align: center; padding-top: calc(var(--nav-h) + 2rem); }
|
||||
.hero-desc { max-width: 100%; }
|
||||
.hero-links { justify-content: center; }
|
||||
.scroll-hint { display: none; }
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@@ -511,7 +438,6 @@ footer {
|
||||
transform: none;
|
||||
}
|
||||
.burger { display: flex; }
|
||||
.skills-grid { grid-template-columns: 1fr; }
|
||||
.education-grid { grid-template-columns: 1fr; }
|
||||
.project-title-row { flex-direction: column; align-items: flex-start; }
|
||||
}
|
||||
@@ -525,9 +451,8 @@ footer {
|
||||
}
|
||||
|
||||
.skills-intro {
|
||||
font-size: 1rem;
|
||||
font-size: 1.05rem;
|
||||
color: var(--ink-soft);
|
||||
line-height: 1.8;
|
||||
max-width: 680px;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
@@ -540,11 +465,10 @@ footer {
|
||||
}
|
||||
|
||||
.lang-tag {
|
||||
font-family: var(--mono);
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
font-weight: 700;
|
||||
padding: 0.5rem 1.25rem;
|
||||
border-radius: 999px;
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--glass-bg);
|
||||
border: 1.5px solid var(--glass-border);
|
||||
backdrop-filter: blur(8px);
|
||||
@@ -552,11 +476,11 @@ footer {
|
||||
transition: all 0.2s var(--ease);
|
||||
}
|
||||
|
||||
.lang-tag:hover {
|
||||
.lang-tag:hover,
|
||||
.lang-tag.tip-open {
|
||||
background: var(--orange);
|
||||
border-color: var(--orange);
|
||||
color: #fff;
|
||||
box-shadow: var(--glow-orange);
|
||||
}
|
||||
|
||||
/* ── Skill pills: shared behavior (no select + tooltip anchor) ─── */
|
||||
@@ -567,9 +491,10 @@ footer {
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
.lang-tag[data-tip]:not([data-tip=""]):hover::after,
|
||||
.project-tags span[data-tip]:not([data-tip=""]):hover::after,
|
||||
.timeline-tags span[data-tip]:not([data-tip=""]):hover::after {
|
||||
/* Tooltip: shows on hover, keyboard focus, or tap (script.js toggles .tip-open) */
|
||||
[data-tip]:not([data-tip=""]):hover::after,
|
||||
[data-tip]:not([data-tip=""]):focus-visible::after,
|
||||
[data-tip]:not([data-tip=""]).tip-open::after {
|
||||
content: attr(data-tip);
|
||||
position: absolute;
|
||||
bottom: calc(100% + 10px);
|
||||
@@ -577,12 +502,12 @@ footer {
|
||||
transform: translateX(-50%);
|
||||
width: max-content;
|
||||
max-width: 220px;
|
||||
padding: 0.5rem 0.7rem;
|
||||
border-radius: 10px;
|
||||
padding: 0.5rem 0.75rem;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--ink);
|
||||
color: var(--cream);
|
||||
font-family: var(--font);
|
||||
font-size: 0.72rem;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
letter-spacing: normal;
|
||||
@@ -595,9 +520,9 @@ footer {
|
||||
}
|
||||
|
||||
/* Tooltip arrow */
|
||||
.lang-tag[data-tip]:not([data-tip=""]):hover::before,
|
||||
.project-tags span[data-tip]:not([data-tip=""]):hover::before,
|
||||
.timeline-tags span[data-tip]:not([data-tip=""]):hover::before {
|
||||
[data-tip]:not([data-tip=""]):hover::before,
|
||||
[data-tip]:not([data-tip=""]):focus-visible::before,
|
||||
[data-tip]:not([data-tip=""]).tip-open::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: calc(100% - 3px);
|
||||
@@ -624,6 +549,6 @@ footer {
|
||||
font-size: 0.88em;
|
||||
background: rgba(26, 10, 0, 0.07);
|
||||
padding: 0.1em 0.4em;
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
color: var(--orange);
|
||||
}
|
||||
Reference in New Issue
Block a user