Animations: add test for hover
parent
e4f9c6754b
commit
9fe1e568f3
|
@ -38,7 +38,7 @@
|
|||
{
|
||||
packages.default = with pkgs; stdenv.mkDerivation {
|
||||
pname = "personal-site";
|
||||
version = "2023-01-27";
|
||||
version = "2023-02-01";
|
||||
src = gitignoreSource ./.;
|
||||
nativeBuildInputs = [ optimize-images update-date zola ];
|
||||
configurePhase = ''
|
||||
|
|
|
@ -47,7 +47,7 @@ a:hover {
|
|||
transition: all .3s ease;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
@media (prefers-reduced-motion: reduce), (any-hover: none) {
|
||||
a {
|
||||
transition: none;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue