style: restore CSS-only transitions and update config examples

This commit is contained in:
ralksta
2026-03-07 09:13:36 +01:00
parent 59ffe37cce
commit fd965c5a75
5 changed files with 82 additions and 53 deletions

View File

@@ -60,6 +60,22 @@
padding: 104px 24px 96px; /* 56px header + 48px original padding */
}
/* Simple CSS Page Fade-In (Replaces Framer Motion) */
[data-transitions='true'] .main {
animation: page-fade-in 0.5s ease-out forwards;
}
@keyframes page-fade-in {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Homepage hero + About page use full bleed — override main padding */
.main:has(.hero),
.main:has(.about) {