monkeytype/static/themes/shadow.css
Aaron 7936dbff08
Refactored all css animations to use the animation shorthand property (#1853)
* Renamed command line setting timer-progress bar

* Use animation shorthand property
2021-09-14 13:39:18 +01:00

44 lines
734 B
CSS

:root {
--bg-color: #000;
--main-color: #eee;
--caret-color: #eee;
--sub-color: #444;
--text-color: #eee;
--error-color: #fff;
--error-extra-color: #d8d8d8;
--colorful-error-color: #fff;
--colorful-error-extra-color: #d8d8d8;
}
@keyframes shadow {
to {
color: #000;
}
}
@keyframes shadow-repeat {
50% {
color: #000;
}
100% {
color: #eee;
}
}
#liveWpm,
#timerNumber {
color: white;
}
#top .config .group .buttons .text-button.active,
#result .stats .group,
#menu .icon-button:hover,
#top .config .group .buttons .text-button:hover,
a:hover {
animation: shadow-repeat 3s linear infinite forwards;
}
#logo,
#typingTest .word letter.correct {
animation: shadow 5s linear 1 forwards;
}