diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index 76424d1cff..015de9b5bc 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -79,6 +79,7 @@ } #splash svg { width: 100px; + margin-bottom: 100px; } @media (prefers-color-scheme: dark) { #splash { @@ -86,9 +87,21 @@ } } .animate-splash { - animation: splash-out 0.2s ease-in forwards; + animation: fade-out 0.2s ease-in forwards; } - @keyframes splash-out { + .animate-splash svg { + animation: scale-out 0.2s ease-in forwards; + } + @media (prefers-reduced-motion) { + .animate-splash { + opacity: 0; + animation: none; + } + .animate-splash svg { + animation: none; + } + } + @keyframes fade-out { 0% { opacity: 1; } @@ -97,6 +110,13 @@ } 100% { opacity: 0; + } + } + @keyframes scale-out { + 0% { + transform: scale(1); + } + 100% { transform: scale(1.5); } } @@ -125,7 +145,7 @@