Animations: add test for hover

main
mat ess 2023-02-01 18:53:49 -05:00
parent e4f9c6754b
commit 9fe1e568f3
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
{ {
packages.default = with pkgs; stdenv.mkDerivation { packages.default = with pkgs; stdenv.mkDerivation {
pname = "personal-site"; pname = "personal-site";
version = "2023-01-27"; version = "2023-02-01";
src = gitignoreSource ./.; src = gitignoreSource ./.;
nativeBuildInputs = [ optimize-images update-date zola ]; nativeBuildInputs = [ optimize-images update-date zola ];
configurePhase = '' configurePhase = ''

View File

@ -47,7 +47,7 @@ a:hover {
transition: all .3s ease; transition: all .3s ease;
} }
@media (prefers-reduced-motion: reduce) { @media (prefers-reduced-motion: reduce), (any-hover: none) {
a { a {
transition: none; transition: none;
} }