feat: add public page fade in

This commit is contained in:
TerryM
2026-05-29 00:50:15 +08:00
parent 9afb4de859
commit 9b21b7e301
2 changed files with 23 additions and 1 deletions

View File

@@ -49,6 +49,26 @@ header button {
}
}
.ark-page-fade-in {
animation: ark-page-fade-in 240ms ease-out both;
}
@keyframes ark-page-fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.ark-page-fade-in {
animation: none;
}
}
/* Desktop header nav: thin scrollbar when links overflow (still 單列) */
.header-nav-scroll {
scrollbar-width: thin;