new page :3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user