new page :3
This commit is contained in:
63
css/sections/error.css
Normal file
63
css/sections/error.css
Normal file
@@ -0,0 +1,63 @@
|
||||
.error-card {
|
||||
width: min(100%, 680px);
|
||||
padding: var(--space-3xl) var(--space-2xl);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
gap: var(--space-md);
|
||||
animation: fadeInUp 0.8s var(--ease-out-expo);
|
||||
}
|
||||
|
||||
.error-code {
|
||||
font-family: var(--font-mono);
|
||||
font-size: clamp(5rem, 16vw, 9rem);
|
||||
font-weight: 700;
|
||||
line-height: 0.85;
|
||||
letter-spacing: -0.08em;
|
||||
background: var(--accent-gradient-text);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
filter: drop-shadow(0 0 18px rgba(79, 195, 247, 0.12));
|
||||
}
|
||||
|
||||
.error-kicker {
|
||||
margin-top: var(--space-sm);
|
||||
color: var(--primary-400);
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.18em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.error-card h1 {
|
||||
font-size: var(--text-xl);
|
||||
margin-top: var(--space-2xs);
|
||||
}
|
||||
|
||||
.error-message {
|
||||
max-width: 34rem;
|
||||
color: var(--text-color-mid);
|
||||
font-size: var(--text-base);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.error-home-link {
|
||||
margin-top: var(--space-sm);
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.error-card {
|
||||
padding: var(--space-2xl) var(--space-lg);
|
||||
}
|
||||
|
||||
.error-card h1 {
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
|
||||
.error-message {
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
}
|
||||
@@ -1,207 +1,217 @@
|
||||
.social-links {
|
||||
}
|
||||
|
||||
.social-link {
|
||||
}
|
||||
|
||||
.email-tooltip {
|
||||
position: absolute;
|
||||
background: rgba(40, 40, 40, 0.95);
|
||||
color: #fff;
|
||||
padding: 6px 16px;
|
||||
border-radius: 8px;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
box-shadow: 0 2px 12px rgba(0,0,0,0.18);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.3s, transform 0.3s;
|
||||
z-index: 10;
|
||||
white-space: nowrap;
|
||||
width: max-content;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.email-tooltip {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: -32px;
|
||||
transform: translateX(-50%) scale(1);
|
||||
background: rgba(40, 40, 40, 0.95);
|
||||
color: #fff;
|
||||
padding: 6px 16px;
|
||||
border-radius: 8px;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
box-shadow: 0 2px 12px rgba(0,0,0,0.18);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.3s, transform 0.3s;
|
||||
z-index: 10;
|
||||
white-space: nowrap;
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Hero card layout */
|
||||
/* ------------------------------------------------------------------ */
|
||||
.hero-card {
|
||||
padding: var(--space-2xl);
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 200px 1fr;
|
||||
gap: var(--space-xl);
|
||||
align-items: center;
|
||||
animation: fadeInUp 0.8s var(--ease-out-expo);
|
||||
}
|
||||
|
||||
.hero-details {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 8px;
|
||||
gap: var(--space-sm);
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.hero-main-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
gap: var(--space-xl);
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.hero-card {
|
||||
padding: 42px;
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 200px 1fr;
|
||||
gap: 40px;
|
||||
align-items: center;
|
||||
animation: fadeInUp 0.8s ease-out;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Name / description / quote */
|
||||
/* ------------------------------------------------------------------ */
|
||||
.name {
|
||||
font-size: 2.8rem;
|
||||
font-size: var(--text-2xl);
|
||||
font-weight: 700;
|
||||
margin-bottom: 12px;
|
||||
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
|
||||
margin-bottom: var(--space-sm);
|
||||
background: var(--accent-gradient-text);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
.description {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 32px;
|
||||
color: var(--text-color-light);
|
||||
font-weight: 400;
|
||||
line-height: 1.6;
|
||||
letter-spacing: 0.2px;
|
||||
/* Terminal caret — blinks subtly after the name */
|
||||
/* Tech chips for the skill tags line */
|
||||
.tech-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-xs);
|
||||
margin-bottom: var(--space-sm);
|
||||
}
|
||||
|
||||
.tech-tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: var(--space-2xs) var(--space-sm);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: 500;
|
||||
color: var(--text-color-light);
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid var(--surface-divider);
|
||||
border-radius: var(--radius-pill);
|
||||
letter-spacing: 0.02em;
|
||||
transition: background var(--dur-fast) var(--ease-out-soft),
|
||||
color var(--dur-fast) var(--ease-out-soft);
|
||||
}
|
||||
|
||||
/* Styled pull-quote (the Lain line) */
|
||||
.quote {
|
||||
display: block;
|
||||
margin-top: var(--space-sm);
|
||||
margin-bottom: var(--space-lg);
|
||||
padding-left: var(--space-md);
|
||||
font-size: var(--text-sm);
|
||||
color: var(--text-color-mid);
|
||||
font-style: italic;
|
||||
border-left: 2px solid var(--primary-500);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Social links */
|
||||
/* ------------------------------------------------------------------ */
|
||||
.social-links {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
gap: var(--space-md);
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 8px;
|
||||
margin-top: var(--space-sm);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.social-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
gap: var(--space-sm);
|
||||
transition: transform var(--dur-fast) var(--ease-out-soft),
|
||||
box-shadow var(--dur-fast) var(--ease-out-soft);
|
||||
}
|
||||
|
||||
.social-link:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px var(--dark-shadow-20);
|
||||
}
|
||||
.social-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* Responsive Design - Mobile First Approach */
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Email tooltip (consolidated — was duplicated in original CSS) */
|
||||
/* ------------------------------------------------------------------ */
|
||||
.email-tooltip {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: -32px;
|
||||
transform: translateX(-50%) scale(1);
|
||||
background: rgba(20, 22, 32, 0.96);
|
||||
color: #fff;
|
||||
padding: var(--space-xs) var(--space-md);
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid var(--glass-border);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 500;
|
||||
box-shadow: var(--shadow-md);
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
transition: opacity var(--dur-fast) var(--ease-out-soft),
|
||||
transform var(--dur-fast) var(--ease-out-soft);
|
||||
z-index: 10;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.email-tooltip.is-visible {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translateX(-50%) translateY(-75%);
|
||||
}
|
||||
|
||||
.email-tooltip::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: -5px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) rotate(45deg);
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background: rgba(20, 22, 32, 0.96);
|
||||
border-right: 1px solid var(--glass-border);
|
||||
border-bottom: 1px solid var(--glass-border);
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Responsive */
|
||||
/* ------------------------------------------------------------------ */
|
||||
@media (max-width: 1024px) {
|
||||
.hero-details {
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
gap: var(--space-xl);
|
||||
}
|
||||
|
||||
|
||||
.hero-card {
|
||||
grid-template-columns: 1fr;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* Ensure hero main column and its boxes fill available width on tablet/mobile */
|
||||
@media (max-width: 1024px) {
|
||||
.hero-main-column {
|
||||
width: 100%;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
/* Override .content fixed min/max so it can expand to the container */
|
||||
.content {
|
||||
min-width: unset;
|
||||
max-width: unset;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.homelab-section {
|
||||
min-width: unset;
|
||||
max-width: unset;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hero-card {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 32px;
|
||||
padding: 32px 24px;
|
||||
gap: var(--space-xl);
|
||||
padding: var(--space-xl) var(--space-lg);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.name {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.description {
|
||||
margin-bottom: 24px;
|
||||
font-size: 1rem;
|
||||
font-size: var(--text-xl);
|
||||
}
|
||||
|
||||
.social-links {
|
||||
justify-content: center;
|
||||
gap: 14px;
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.hero-card {
|
||||
padding: 24px 16px;
|
||||
padding: var(--space-lg) var(--space-md);
|
||||
}
|
||||
|
||||
.name {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.description {
|
||||
margin-bottom: 20px;
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
|
||||
.social-links {
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-xs);
|
||||
}
|
||||
|
||||
.social-link {
|
||||
padding: 10px 14px;
|
||||
font-size: 13px;
|
||||
padding: var(--space-sm) var(--space-md);
|
||||
font-size: var(--text-xs);
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
max-width: calc(50% - 6px);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
.social-link span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.social-link i {
|
||||
font-size: 16px;
|
||||
}
|
||||
@@ -210,12 +220,6 @@
|
||||
@media (max-width: 380px) {
|
||||
.social-link {
|
||||
max-width: calc(100% / 2 - 6px);
|
||||
padding: 12px;
|
||||
padding: var(--space-sm);
|
||||
}
|
||||
}
|
||||
|
||||
.quote {
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-color-dark);
|
||||
font-style: italic;
|
||||
}
|
||||
@@ -1,68 +1,52 @@
|
||||
.homelab-section {
|
||||
margin-top: 18px;
|
||||
padding: 32px 24px;
|
||||
margin-top: var(--space-md);
|
||||
padding: var(--space-xl) var(--space-lg);
|
||||
background: rgba(20, 20, 30, 0.10);
|
||||
backdrop-filter: blur(48px);
|
||||
-webkit-backdrop-filter: blur(48px);
|
||||
border-radius: 24px;
|
||||
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.10);
|
||||
border-radius: var(--border-radius-large);
|
||||
box-shadow: var(--shadow-md), var(--inset-shadow);
|
||||
border: 1px solid var(--glass-border);
|
||||
min-width: 26rem;
|
||||
max-width: 26rem;
|
||||
align-self: stretch;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
gap: var(--space-md);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
transition: transform var(--dur-med) var(--ease-out-soft),
|
||||
border-color var(--dur-med) var(--ease-out-soft),
|
||||
box-shadow var(--dur-med) var(--ease-out-soft);
|
||||
}
|
||||
|
||||
/* Mobile responsive homelab section */
|
||||
@media (max-width: 768px) {
|
||||
.homelab-section {
|
||||
min-width: unset;
|
||||
max-width: unset;
|
||||
width: 100%;
|
||||
padding: 28px 20px;
|
||||
}
|
||||
|
||||
.homelab-title {
|
||||
font-size: 1.3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.homelab-buttons {
|
||||
justify-content: center;
|
||||
}
|
||||
.homelab-section::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: var(--accent-gradient);
|
||||
opacity: 0.5;
|
||||
transition: opacity var(--dur-med) var(--ease-out-soft),
|
||||
box-shadow var(--dur-med) var(--ease-out-soft);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.homelab-section {
|
||||
padding: 24px 16px;
|
||||
gap: 16px;
|
||||
min-width: unset;
|
||||
max-width: unset;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.homelab-title {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.homelab-buttons {
|
||||
gap: 12px;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.homelab-btn {
|
||||
width: 100%;
|
||||
max-width: 200px;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.homelab-section:hover {
|
||||
transform: translateY(-2px);
|
||||
border-color: rgba(79, 195, 247, 0.25);
|
||||
box-shadow: var(--shadow-lg), var(--accent-glow-ring);
|
||||
}
|
||||
|
||||
.homelab-section:hover::before {
|
||||
opacity: 1;
|
||||
box-shadow: 0 0 8px var(--primary-500);
|
||||
}
|
||||
|
||||
/* Calm aurora background — single tasteful radial + fine grid overlay */
|
||||
.homelab-background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -71,31 +55,36 @@
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
background:
|
||||
radial-gradient(120% 140% at 10% 10%, rgba(90, 210, 255, 0.18) 0%, rgba(6, 18, 38, 0.0) 45%),
|
||||
radial-gradient(140% 160% at 90% 10%, rgba(142, 86, 255, 0.16) 0%, rgba(10, 6, 24, 0.0) 50%),
|
||||
radial-gradient(160% 180% at 50% 100%, rgba(255, 77, 156, 0.12) 0%, rgba(12, 8, 20, 0.0) 55%),
|
||||
linear-gradient(135deg, rgba(10, 14, 30, 0.95) 0%, rgba(12, 22, 44, 0.9) 40%, rgba(14, 10, 36, 0.9) 100%);
|
||||
background-size: 160% 160%, 170% 170%, 180% 180%, 100% 100%;
|
||||
animation: homelab-aurora 12s ease-in-out infinite;
|
||||
filter: saturate(1.15) contrast(1.05);
|
||||
radial-gradient(120% 140% at 15% 10%, rgba(79, 195, 247, 0.16) 0%, rgba(6, 18, 38, 0) 50%),
|
||||
radial-gradient(120% 140% at 85% 90%, rgba(118, 75, 162, 0.16) 0%, rgba(10, 6, 24, 0) 55%),
|
||||
linear-gradient(135deg, rgba(10, 14, 30, 0.92) 0%, rgba(12, 22, 44, 0.88) 50%, rgba(14, 10, 36, 0.9) 100%);
|
||||
background-size: 160% 160%, 170% 170%, 100% 100%;
|
||||
animation: homelab-aurora 14s ease-in-out infinite;
|
||||
filter: saturate(1.1);
|
||||
transition: opacity var(--dur-med) var(--ease-out-soft),
|
||||
filter var(--dur-med) var(--ease-out-soft);
|
||||
}
|
||||
|
||||
.homelab-section:hover .homelab-background {
|
||||
opacity: 0.95;
|
||||
filter: saturate(1.25) brightness(1.05);
|
||||
}
|
||||
|
||||
.homelab-background::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -20% -10%;
|
||||
inset: 0;
|
||||
background:
|
||||
repeating-linear-gradient(
|
||||
120deg,
|
||||
rgba(120, 220, 255, 0.06) 0px,
|
||||
rgba(120, 220, 255, 0.06) 1px,
|
||||
rgba(10, 12, 24, 0.0) 1px,
|
||||
rgba(10, 12, 24, 0.0) 10px
|
||||
),
|
||||
radial-gradient(60% 60% at 70% 30%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.0) 60%);
|
||||
rgba(120, 220, 255, 0.035) 0px,
|
||||
rgba(120, 220, 255, 0.035) 1px,
|
||||
rgba(10, 12, 24, 0) 1px,
|
||||
rgba(10, 12, 24, 0) 12px
|
||||
);
|
||||
mix-blend-mode: screen;
|
||||
opacity: 0.55;
|
||||
animation: homelab-grid 30s linear infinite;
|
||||
opacity: 0.5;
|
||||
animation: homelab-grid 32s linear infinite;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@@ -103,82 +92,140 @@
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: radial-gradient(80% 80% at 50% 50%, rgba(8, 12, 24, 0.0) 0%, rgba(8, 12, 24, 0.45) 70%, rgba(8, 12, 24, 0.75) 100%);
|
||||
background: radial-gradient(80% 80% at 50% 50%, rgba(8, 12, 24, 0) 0%, rgba(8, 12, 24, 0.4) 70%, rgba(8, 12, 24, 0.7) 100%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@keyframes homelab-aurora {
|
||||
0% {
|
||||
background-position: 0% 50%, 100% 40%, 50% 100%, 0% 0%;
|
||||
background-position: 0% 50%, 100% 40%, 0% 0%;
|
||||
}
|
||||
50% {
|
||||
background-position: 80% 40%, 20% 50%, 60% 80%, 0% 0%;
|
||||
background-position: 80% 40%, 20% 50%, 0% 0%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0% 50%, 100% 40%, 50% 100%, 0% 0%;
|
||||
background-position: 0% 50%, 100% 40%, 0% 0%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes homelab-grid {
|
||||
0% {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
100% {
|
||||
transform: translate3d(6%, 0, 0);
|
||||
}
|
||||
0% { transform: translate3d(0, 0, 0); }
|
||||
100% { transform: translate3d(6%, 0, 0); }
|
||||
}
|
||||
|
||||
@keyframes gradient-animation {
|
||||
0% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
50% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
0% { background-position: 0% 50%; }
|
||||
50% { background-position: 100% 50%; }
|
||||
100% { background-position: 0% 50%; }
|
||||
}
|
||||
|
||||
/* Consolidated animated gradient title — shared utility across sections */
|
||||
.homelab-title {
|
||||
font-size: 1.8rem;
|
||||
font-size: var(--text-lg);
|
||||
font-weight: 700;
|
||||
margin-bottom: 4px;
|
||||
margin: 0 auto;
|
||||
letter-spacing: 0.03em;
|
||||
background: linear-gradient(270deg,
|
||||
var(--primary-color),
|
||||
var(--secondary-color),
|
||||
var(--tertiary-color),
|
||||
var(--primary-500),
|
||||
var(--secondary-500),
|
||||
var(--tertiary-500),
|
||||
var(--primary-color-light),
|
||||
var(--primary-color),
|
||||
var(--secondary-color),
|
||||
var(--tertiary-color));
|
||||
var(--primary-500),
|
||||
var(--secondary-500),
|
||||
var(--tertiary-500));
|
||||
background-size: 800% 800%;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
animation: gradient-animation 25s ease infinite;
|
||||
text-shadow:
|
||||
0 0 2px rgba(255, 255, 255, 0.3),
|
||||
0 0 4px rgba(0, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.homelab-buttons {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
gap: var(--space-sm);
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
margin-top: auto;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.homelab-buttons > a.homelab-btn {
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 10px 16px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.10);
|
||||
border-radius: 12px;
|
||||
color: #ffffff;
|
||||
padding: var(--space-sm) var(--space-md);
|
||||
border: 1px solid var(--surface-divider);
|
||||
border-radius: var(--radius-md);
|
||||
color: var(--text-color);
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
|
||||
}
|
||||
min-height: 44px;
|
||||
font-size: var(--text-sm);
|
||||
background: var(--button-gradient);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
box-shadow: var(--shadow-sm), var(--inset-shadow);
|
||||
transition: background var(--dur-fast) var(--ease-out-soft),
|
||||
border-color var(--dur-fast) var(--ease-out-soft),
|
||||
transform var(--dur-fast) var(--ease-out-soft),
|
||||
box-shadow var(--dur-fast) var(--ease-out-soft);
|
||||
}
|
||||
|
||||
.homelab-buttons > a.homelab-btn i {
|
||||
margin-right: var(--space-xs);
|
||||
font-size: 1.1em;
|
||||
transition: transform var(--dur-fast) var(--ease-out-soft);
|
||||
}
|
||||
|
||||
.homelab-buttons > a.homelab-btn:hover,
|
||||
.homelab-buttons > a.homelab-btn:focus-visible {
|
||||
background: var(--button-hover-gradient);
|
||||
border-color: rgba(79, 195, 247, 0.4);
|
||||
transform: translateY(-1px) scale(1.012);
|
||||
box-shadow: var(--shadow-md), var(--accent-glow-ring);
|
||||
}
|
||||
|
||||
.homelab-buttons > a.homelab-btn:hover i,
|
||||
.homelab-buttons > a.homelab-btn:focus-visible i {
|
||||
transform: translateX(1px) scale(1.1);
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Responsive */
|
||||
/* ------------------------------------------------------------------ */
|
||||
@media (max-width: 768px) {
|
||||
.homelab-section {
|
||||
padding: var(--space-xl) var(--space-md);
|
||||
}
|
||||
|
||||
.homelab-title {
|
||||
font-size: var(--text-md);
|
||||
}
|
||||
|
||||
.homelab-buttons {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.homelab-section {
|
||||
padding: var(--space-lg) var(--space-md);
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
.homelab-title {
|
||||
font-size: var(--text-md);
|
||||
}
|
||||
|
||||
.homelab-buttons {
|
||||
gap: var(--space-sm);
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.homelab-btn {
|
||||
width: 100%;
|
||||
max-width: 200px;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,19 +1,228 @@
|
||||
|
||||
.profile-info {
|
||||
margin-top: 1.2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.7rem;
|
||||
align-items: flex-start;
|
||||
.profile-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
border-radius: var(--border-radius-large);
|
||||
background: linear-gradient(135deg, var(--secondary-500) 0%, var(--tertiary-500) 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--text-color);
|
||||
position: relative;
|
||||
border: 1px solid var(--glass-border-strong);
|
||||
box-shadow:
|
||||
var(--shadow-md),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.04) inset;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
/* Idle glow ring — slow, low amplitude, "alive" feel */
|
||||
.avatar::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -1px;
|
||||
border-radius: inherit;
|
||||
background: conic-gradient(from 0deg,
|
||||
var(--primary-500),
|
||||
var(--secondary-500),
|
||||
var(--tertiary-400),
|
||||
var(--primary-500));
|
||||
filter: blur(8px) saturate(120%);
|
||||
opacity: 0.09;
|
||||
z-index: -1;
|
||||
animation: avatar-glow 12s linear infinite;
|
||||
}
|
||||
|
||||
.avatar img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
border-radius: var(--border-radius-large);
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Real glitch on hover */
|
||||
/* Two pseudo-layered clones (R + B channel shift + sliced clip-path) */
|
||||
/* are generated via JS on .avatar; styles here control the animation.*/
|
||||
/* ------------------------------------------------------------------ */
|
||||
.avatar .glitch-layer {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
border-radius: var(--border-radius-large);
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
z-index: 3;
|
||||
mix-blend-mode: screen;
|
||||
transition: opacity 0.05s ease;
|
||||
}
|
||||
|
||||
.avatar:hover .glitch-layer {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.avatar .glitch-layer.r {
|
||||
filter: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter%20id='red'%3E%3CfeColorMatrix%20type='matrix'%20values='1%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%201%200'/%3E%3C/filter%3E%3C/svg%3E%23red");
|
||||
}
|
||||
|
||||
.avatar:hover .glitch-layer.r {
|
||||
animation: glitch-anim-r 0.6s linear infinite;
|
||||
}
|
||||
|
||||
.avatar .glitch-layer.b {
|
||||
filter: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter%20id='cyan'%3E%3CfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%201%200%200%200%200%200%201%200%200%200%200%200%201%200'/%3E%3C/filter%3E%3C/svg%3E%23cyan");
|
||||
}
|
||||
|
||||
.avatar:hover .glitch-layer.b {
|
||||
animation: glitch-anim-b 0.45s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes glitch-anim-r {
|
||||
0% {
|
||||
clip-path: inset(20% 0 60% 0);
|
||||
transform: translate(-4px, -2px) skewX(-2deg);
|
||||
}
|
||||
|
||||
10% {
|
||||
clip-path: inset(65% 0 10% 0);
|
||||
transform: translate(3px, 2px) skewX(4deg);
|
||||
}
|
||||
|
||||
20% {
|
||||
clip-path: inset(5% 0 85% 0);
|
||||
transform: translate(-2px, -3px) skewX(-1deg);
|
||||
}
|
||||
|
||||
30% {
|
||||
clip-path: inset(80% 0 5% 0);
|
||||
transform: translate(4px, 1px) skewX(2deg);
|
||||
}
|
||||
|
||||
40% {
|
||||
clip-path: inset(45% 0 45% 0);
|
||||
transform: translate(-3px, 3px) skewX(-4deg);
|
||||
}
|
||||
|
||||
50% {
|
||||
clip-path: inset(12% 0 75% 0);
|
||||
transform: translate(2px, -1px) skewX(1deg);
|
||||
}
|
||||
|
||||
60% {
|
||||
clip-path: inset(90% 0 2% 0);
|
||||
transform: translate(-5px, 2px) skewX(-3deg);
|
||||
}
|
||||
|
||||
70% {
|
||||
clip-path: inset(30% 0 55% 0);
|
||||
transform: translate(3px, -2px) skewX(5deg);
|
||||
}
|
||||
|
||||
80% {
|
||||
clip-path: inset(72% 0 18% 0);
|
||||
transform: translate(-1px, 4px) skewX(-2deg);
|
||||
}
|
||||
|
||||
90% {
|
||||
clip-path: inset(50% 0 35% 0);
|
||||
transform: translate(5px, -1px) skewX(3deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
clip-path: inset(20% 0 60% 0);
|
||||
transform: translate(-4px, -2px) skewX(-2deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes glitch-anim-b {
|
||||
0% {
|
||||
clip-path: inset(50% 0 30% 0);
|
||||
transform: translate(4px, 2px) skewX(3deg);
|
||||
}
|
||||
|
||||
10% {
|
||||
clip-path: inset(15% 0 75% 0);
|
||||
transform: translate(-3px, -2px) skewX(-2deg);
|
||||
}
|
||||
|
||||
20% {
|
||||
clip-path: inset(85% 0 5% 0);
|
||||
transform: translate(2px, 3px) skewX(4deg);
|
||||
}
|
||||
|
||||
30% {
|
||||
clip-path: inset(35% 0 55% 0);
|
||||
transform: translate(-4px, -1px) skewX(-1deg);
|
||||
}
|
||||
|
||||
40% {
|
||||
clip-path: inset(70% 0 15% 0);
|
||||
transform: translate(3px, -3px) skewX(2deg);
|
||||
}
|
||||
|
||||
50% {
|
||||
clip-path: inset(5% 0 90% 0);
|
||||
transform: translate(-2px, 2px) skewX(-4deg);
|
||||
}
|
||||
|
||||
60% {
|
||||
clip-path: inset(40% 0 45% 0);
|
||||
transform: translate(5px, -2px) skewX(1deg);
|
||||
}
|
||||
|
||||
70% {
|
||||
clip-path: inset(60% 0 25% 0);
|
||||
transform: translate(-3px, 4px) skewX(-3deg);
|
||||
}
|
||||
|
||||
80% {
|
||||
clip-path: inset(22% 0 68% 0);
|
||||
transform: translate(1px, -4px) skewX(5deg);
|
||||
}
|
||||
|
||||
90% {
|
||||
clip-path: inset(95% 0 1% 0);
|
||||
transform: translate(-5px, 1px) skewX(-2deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
clip-path: inset(50% 0 30% 0);
|
||||
transform: translate(4px, 2px) skewX(3deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes avatar-glow {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
/* Remove leftover unused label rule; color: #222 was invisible on black */
|
||||
.profile-info {
|
||||
margin-top: var(--space-md);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-sm);
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.profile-info-item {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
font-size: 0.95rem;
|
||||
gap: var(--space-sm);
|
||||
font-size: var(--text-sm);
|
||||
background: none;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
@@ -23,76 +232,42 @@
|
||||
|
||||
.profile-info-item i {
|
||||
font-size: 1.3rem;
|
||||
color: var(--primary-color);
|
||||
margin-right: 0.2rem;
|
||||
}
|
||||
|
||||
.profile-info-label {
|
||||
font-weight: 600;
|
||||
color: #222;
|
||||
margin-right: 0.3rem;
|
||||
color: var(--primary-500);
|
||||
margin-right: var(--space-2xs);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.profile-info-value {
|
||||
color: var(--text-color-dark);
|
||||
color: var(--text-color-mid);
|
||||
font-weight: 400;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.profile-info-value span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.profile-container {
|
||||
position: relative;
|
||||
.profile-info-value span:first-child {
|
||||
color: var(--text-color-light);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
border-radius: var(--border-radius-large);
|
||||
background: linear-gradient(135deg, var(--secondary-color) 0%, var(--tertiary-color) 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--text-color);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border: 2px solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
.avatar::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -50%;
|
||||
left: -50%;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
|
||||
}
|
||||
|
||||
.avatar img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
border-radius: var(--border-radius-large);
|
||||
}
|
||||
|
||||
.avatar:hover img {
|
||||
animation: avatar-glitch 1s infinite linear;
|
||||
}
|
||||
|
||||
@keyframes avatar-glitch {
|
||||
0%, 100% {
|
||||
transform: translate(0);
|
||||
}
|
||||
.profile-info-value span:last-child {
|
||||
color: var(--text-color-mid);
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Responsive */
|
||||
/* ------------------------------------------------------------------ */
|
||||
@media (max-width: 1024px) {
|
||||
.profile-info {
|
||||
align-items: center;
|
||||
margin-top: 1.5rem;
|
||||
margin-top: var(--space-lg);
|
||||
}
|
||||
|
||||
|
||||
.avatar {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
@@ -104,17 +279,17 @@
|
||||
.profile-container {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
.profile-info {
|
||||
align-items: center;
|
||||
margin-top: 1.5rem;
|
||||
margin-top: var(--space-lg);
|
||||
}
|
||||
|
||||
|
||||
.profile-info-item {
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
.avatar {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
@@ -124,21 +299,21 @@
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.profile-info {
|
||||
gap: 0.8rem;
|
||||
margin-top: 1.2rem;
|
||||
gap: var(--space-sm);
|
||||
margin-top: var(--space-md);
|
||||
}
|
||||
|
||||
|
||||
.profile-info-item {
|
||||
font-size: 0.9rem;
|
||||
font-size: var(--text-xs);
|
||||
flex-direction: row;
|
||||
gap: 0.4rem;
|
||||
gap: var(--space-xs);
|
||||
}
|
||||
|
||||
|
||||
.profile-info-item i {
|
||||
font-size: 1.2rem;
|
||||
margin-right: 0.2rem;
|
||||
margin-right: var(--space-2xs);
|
||||
}
|
||||
|
||||
|
||||
.avatar {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
@@ -150,8 +325,8 @@
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
|
||||
.profile-info-item {
|
||||
font-size: 0.85rem;
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,13 +2,13 @@
|
||||
flex: 0 0 340px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
padding: 32px 24px;
|
||||
gap: var(--space-md);
|
||||
padding: var(--space-xl) var(--space-lg);
|
||||
background: rgba(20, 20, 30, 0.10);
|
||||
backdrop-filter: blur(24px) saturate(140%) brightness(1.08);
|
||||
-webkit-backdrop-filter: blur(24px) saturate(140%) brightness(1.08);
|
||||
border-radius: var(--border-radius-large);
|
||||
box-shadow: 0 8px 36px 0 var(--glass-shadow), var(--inset-shadow);
|
||||
box-shadow: var(--shadow-md), var(--inset-shadow);
|
||||
border-bottom: 1px solid var(--glass-border);
|
||||
min-width: 380px;
|
||||
max-width: 440px;
|
||||
@@ -16,49 +16,84 @@
|
||||
}
|
||||
|
||||
.projects-title {
|
||||
font-size: 1.6rem;
|
||||
font-size: var(--text-md);
|
||||
font-weight: 700;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: var(--space-sm);
|
||||
color: var(--text-color);
|
||||
letter-spacing: 0.03em;
|
||||
background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-color) 100%);
|
||||
background: linear-gradient(135deg, var(--secondary-500) 0%, var(--text-color) 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Project cards — unified surface + accent left bar */
|
||||
/* nth-of-type replaces nth-child so .projects-title doesn't shift */
|
||||
/* the odd/even alternation (bug fix). */
|
||||
/* ------------------------------------------------------------------ */
|
||||
.project {
|
||||
padding: 18px 16px;
|
||||
position: relative;
|
||||
padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: 0 2px 12px 0 rgba(31, 38, 135, 0.10);
|
||||
margin-bottom: 0;
|
||||
background: var(--surface-raised);
|
||||
border: 1px solid var(--surface-divider);
|
||||
box-shadow: var(--shadow-sm);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
transition: transform 0.28s cubic-bezier(0.4, 0.2, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0.2, 0.2, 1);
|
||||
gap: var(--space-2xs);
|
||||
transition: transform var(--dur-med) var(--ease-out-soft),
|
||||
box-shadow var(--dur-med) var(--ease-out-soft),
|
||||
border-color var(--dur-med) var(--ease-out-soft),
|
||||
filter var(--dur-med) var(--ease-out-soft);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.project:hover {
|
||||
transform: scale(1.012);
|
||||
box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.13), 0 1.5px 4px 0 rgba(255, 255, 255, 0.08) inset;
|
||||
filter: brightness(1.04) saturate(1.08);
|
||||
/* Thin accent bar — rotating accent color per card */
|
||||
.project::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 3px;
|
||||
height: 60%;
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--primary-500);
|
||||
opacity: 0.6;
|
||||
transition: height var(--dur-med) var(--ease-out-soft),
|
||||
opacity var(--dur-med) var(--ease-out-soft);
|
||||
}
|
||||
|
||||
.project:nth-child(odd) {
|
||||
background: linear-gradient(135deg, rgba(20, 30, 60, 0.75) 0%, rgba(40, 50, 120, 0.75) 100%);
|
||||
.project:nth-of-type(odd)::before {
|
||||
background: linear-gradient(var(--primary-500), var(--secondary-500));
|
||||
}
|
||||
|
||||
.project:nth-child(even) {
|
||||
background: linear-gradient(135deg, rgba(10, 10, 10, 0.82) 0%, rgba(30, 30, 30, 0.82) 100%);
|
||||
.project:nth-of-type(even)::before {
|
||||
background: linear-gradient(var(--tertiary-500), var(--primary-500));
|
||||
}
|
||||
|
||||
.project:hover,
|
||||
.project:focus-within {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-md), var(--accent-glow-ring);
|
||||
border-color: rgba(79, 195, 247, 0.3);
|
||||
filter: brightness(1.05) saturate(1.08);
|
||||
}
|
||||
|
||||
.project:hover::before,
|
||||
.project:focus-within::before {
|
||||
height: 85%;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.project-title {
|
||||
font-size: 1.15rem;
|
||||
font-size: var(--text-md);
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
margin-bottom: 2px;
|
||||
margin-bottom: var(--space-2xs);
|
||||
letter-spacing: 0.01em;
|
||||
background: linear-gradient(90deg, var(--text-color) 0%, var(--secondary-color) 100%);
|
||||
background: linear-gradient(90deg, var(--text-color) 0%, var(--secondary-400) 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
@@ -66,18 +101,18 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
|
||||
.project-icons {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
gap: var(--space-xs);
|
||||
align-items: center;
|
||||
flex: 0 0 auto;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
/* Ensure long titles don't push icons to a new line */
|
||||
/* Keep long titles from pushing icons to a new line */
|
||||
.project-title > span:first-child {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
@@ -90,82 +125,89 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--text-color);
|
||||
transition: all 0.2s;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: var(--radius-sm);
|
||||
color: var(--text-color-light);
|
||||
transition: background var(--dur-fast) var(--ease-out-soft),
|
||||
color var(--dur-fast) var(--ease-out-soft);
|
||||
}
|
||||
|
||||
.project-icon-link:hover {
|
||||
color: var(--primary-color);
|
||||
.project-icon-link:hover,
|
||||
.project-icon-link:focus-visible {
|
||||
color: var(--primary-500);
|
||||
background: rgba(79, 195, 247, 0.12);
|
||||
}
|
||||
|
||||
.project-desc {
|
||||
font-size: 0.98rem;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--text-color-light);
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Responsive */
|
||||
/* ------------------------------------------------------------------ */
|
||||
@media (max-width: 1024px) {
|
||||
.projects-section {
|
||||
flex: unset;
|
||||
max-width: 100%;
|
||||
margin-left: 0;
|
||||
margin-top: 24px;
|
||||
margin-top: var(--space-xl);
|
||||
min-width: unset;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.projects-section {
|
||||
padding: 28px 20px;
|
||||
gap: 16px;
|
||||
padding: var(--space-xl) var(--space-md);
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
|
||||
.projects-title {
|
||||
font-size: 1.5rem;
|
||||
font-size: var(--text-md);
|
||||
text-align: center;
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: var(--space-sm);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.projects-section {
|
||||
padding: 24px 16px;
|
||||
gap: 14px;
|
||||
padding: var(--space-lg) var(--space-md);
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
|
||||
|
||||
.projects-title {
|
||||
font-size: 1.4rem;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
|
||||
.project {
|
||||
padding: 16px 14px;
|
||||
padding: var(--space-md) var(--space-sm) var(--space-md) var(--space-md);
|
||||
}
|
||||
|
||||
|
||||
.project-title {
|
||||
font-size: 1.1rem;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
|
||||
.project-desc {
|
||||
font-size: 0.95rem;
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
|
||||
.project-icons {
|
||||
gap: 6px;
|
||||
gap: var(--space-2xs);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 380px) {
|
||||
.project {
|
||||
padding: 14px 12px;
|
||||
padding: var(--space-sm) var(--space-xs) var(--space-sm) var(--space-sm);
|
||||
}
|
||||
|
||||
|
||||
.project-title {
|
||||
font-size: 1.05rem;
|
||||
/* Keep a single row layout even on very small screens */
|
||||
font-size: var(--text-xs);
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: var(--space-xs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user