fixed button styling

This commit is contained in:
janis
2022-11-05 18:34:01 +01:00
parent 7e4f80817d
commit bc41a1d999
2 changed files with 2 additions and 18 deletions

View File

@@ -44,8 +44,6 @@ width: 10%
}
.linkbutton:hover {
animation-name: fadein;
animation-duration: 300ms;
background-color: darkblue;
}
@@ -86,20 +84,6 @@ width: 10%
100% {opacity: 1;}
}
@keyframes colorize {
0% {color: black;
font-size: 100%;}
100% {color: darkblue;
font-size: 150%;}
}
@keyframes decolorize {
0% {color: darkblue;
font-size: 150%;}
100% {color: black;
font-size: 100%;}
}
@keyframes growDown {
0% {
transform: scaleY(0)

View File

@@ -1,10 +1,10 @@
$(document).ready(function() {
$("#ContentToInclude").load("/menu.html");
$(".linkbutton").mouseenter(function() {
$(this).animate({"border-radius": "0px"}, 200)
$(this).animate({"border-radius": "0px", "background-color": "darkblue"}, 200)
})
$(".linkbutton").mouseleave(function() {
$(this).animate({"border-radius": "20px"}, 200)
$(this).animate({"border-radius": "20px", "background-color": "rgba(0,0,0,0)"}, 200)
})
$(".textlink").mouseenter(function() {
$(this).animate({"color": "darkblue", "font-size": "120%"}, 200)