Animations: add test for hover
parent
e4f9c6754b
commit
9fe1e568f3
|
@ -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 = ''
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue