Skip to content

Commit

Permalink
glowish
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocraft987 authored Dec 14, 2024
1 parent c8dc1dc commit 64d5e5b
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions src/css/main.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
@keyframes hue-rainbow {
from {filter: hue-rotate(0deg);}
to {filter: hue-rotate(360deg);}
@keyframes y-glow {
0% {box-shadow: 0px 0px 5px gold;}
50% {box-shadow: 0px 0px 15px yellow;}
100% {box-shadow: 0px 0px 5px gold;}
}

@keyframes b-glow {
0% {box-shadow: 0px 0px 5px blue;}
50% {box-shadow: 0px 0px 15px cyan;}
100% {box-shadow: 0px 0px 5px blue;}
}

.dark-mode .special {
Expand All @@ -23,28 +30,18 @@ button.danger:hover {
background-color: maroon;
}

button.followButton {
filter: hue-rotate(0deg);
}

button.followButton:hover {
animation-name: hue-rainbow;
animation-name: y-glow;
animation-duration: 5s;
animation-iteration-count: infinite;
}

@keyframes glow {
0% {box-shadow: 0px 0px 5px blue;}
50% {box-shadow: 0px 0px 15px cyan;}
100% {box-shadow: 0px 0px 5px blue;}
}

button.glow {
animation-name: glow;
animation-name: b-glow;
animation-duration: 4s;
animation-iteration-count: infinite;
}

canvas {
border: 1px solid black;
}
}

0 comments on commit 64d5e5b

Please sign in to comment.