animation only on desktop

This commit is contained in:
cupcakearmy 2019-09-14 16:16:56 +02:00
parent 4d440aefeb
commit 8fbdcaf73c

View File

@ -34,12 +34,6 @@
display: block; display: block;
} }
#home #list > .item:hover {
box-shadow: var(--small-shadow);
transform: scale(1.05);
padding-bottom: 1em;
}
#home #list > .item .title { #home #list > .item .title {
margin-bottom: .25em; margin-bottom: .25em;
} }
@ -54,13 +48,6 @@
transform: scale(1); transform: scale(1);
} }
#home #list > .item:hover .thumbnail img {
transform: scale(1.2) translateY(-1em);
height: 16em;
margin: 1em 0;
box-shadow: var(--small-shadow);
}
#home #list hr { #home #list hr {
margin: 0 1.5em; margin: 0 1.5em;
} }
@ -90,4 +77,17 @@
top: .5em; top: .5em;
right: 1em; right: 1em;
} }
#home #list > .item:hover {
box-shadow: var(--small-shadow);
transform: scale(1.05);
padding-bottom: 1em;
}
#home #list > .item:hover .thumbnail img {
transform: scale(1.2) translateY(-1em);
height: 16em;
margin: 1em 0;
box-shadow: var(--small-shadow);
}
} }