adjust hover effects

This commit is contained in:
elisejakob committed 2019-05-08 14:56:45 +02:00
1 parent f1bb150401
commit 640c38204a
1 file changed
+6 -5
+6 -5
View File
@@ -94,17 +94,18 @@
transition: box-shadow .1s ease-in-out;
&:hover {
color: $color-black;
box-shadow: 0 0 0 4px $color-black, 0 0 0 6px darken($color-orange, 20%);
animation: shine 3s alternate infinite;
color: $color-orange;
box-shadow: 0 0 0 4px $color-black, 0 0 0 7px darken($color-orange, 20%);
animation: shine 2s alternate infinite;
animation-delay: .3s;
}
@keyframes shine {
from {
color: $color-black;
color: $color-orange;
}
to {
color: $color-orange;
color: $color-black;
}
}