Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/atoms/ProfileAvatar/ProfileAvatar.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
}

/* Responsive adjustments */
@media (max-width: 480px) {
@media (max-width: 640px) {
.profile-avatar__image {
width: 120px;
height: 120px;
width: 96px;
height: 96px;
}

.profile-avatar__clearance {
Expand Down
2 changes: 0 additions & 2 deletions src/components/layout/Background/Background.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ html, body {
overflow: hidden;
background-color: var(--color-background);
z-index: 0;
/* Apply will-change judiciously */
will-change: opacity;
}

/* Vignette effect - optimized to reduce gradient complexity */
Expand Down
4 changes: 2 additions & 2 deletions src/components/layout/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const Navigation = () => {
return (
<motion.header
// Transparent over the hero; once the page scrolls the header gets a
// backdrop so it stays readable on top of section content.
// backdrop so it stays readable (blurred on wide screens; a nearly solid fill on phones, where re-blurring the scrolling page behind a fixed header is costly) on top of section content.
className={`fixed top-0 left-0 right-0 z-50 pt-2 pb-1 sm:pt-4 sm:pb-2 transition-colors duration-300 ${
isScrolled ? 'bg-gray-900/85 backdrop-blur-md shadow-lg' : 'bg-transparent'
isScrolled ? 'bg-gray-900/95 shadow-lg md:bg-gray-900/85 md:backdrop-blur-md' : 'bg-transparent'
}`}
role="banner"
initial={{ y: -100 }}
Expand Down
16 changes: 15 additions & 1 deletion src/components/molecules/GithubProfileCard/GithubProfileCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
border-radius: var(--radius-card);
padding: min(var(--spacing-10), 20.6vw) 0;
overflow: hidden;
backdrop-filter: blur(8px);
background-color: var(--surface-card);
border: 1px solid var(--surface-border);
box-shadow: var(--shadow-card);
Expand Down Expand Up @@ -159,3 +158,18 @@
height: 50px;
}
}

/* Phones: tighter vertical rhythm, nothing removed */
@media (max-width: 640px) {
.github-profile-card__avatar-section {
margin-bottom: var(--spacing-3);
}

.github-profile-card__header-section {
margin-bottom: var(--spacing-2);
}

.github-profile-card__map-section {
margin-bottom: var(--spacing-4);
}
}
Loading
Loading