monkeytype/public/themes/shadow.css

51 lines
1,009 B
CSS
Raw Normal View History

2020-05-29 06:21:22 +08:00
:root {
--bg-color: #000;
--main-color: #eee;
--caret-color: #eee;
--sub-color: #444;
2020-05-30 22:46:41 +08:00
--text-color: #eee;
--error-color: #fff;
--error-extra-color: #d8d8d8;
--colorful-error-color: #fff;
--colorful-error-extra-color: #d8d8d8;
2020-05-29 06:21:22 +08:00
}
@keyframes shadow {
2020-05-29 08:17:39 +08:00
to {
2020-05-29 06:21:22 +08:00
color: #000;
}
}
@keyframes shadow-repeat {
50% {
color: #000;
}
100% {
color: #eee;
}
}
#liveWpm, #timerNumber{
2020-05-30 22:46:41 +08:00
color: white;
}
#top .config .group .buttons .text-button.active,
2020-05-29 06:21:22 +08:00
#result .stats .group,
#menu .icon-button:hover,
#top .config .group .buttons .text-button:hover,
2020-05-29 06:21:22 +08:00
a:hover {
animation-name: shadow-repeat;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-fill-mode: forwards;
animation-timing-function: linear;
}
#logo, .word letter.correct{
animation-name: shadow;
animation-duration: 5s;
animation-iteration-count: 1;
animation-fill-mode: forwards;
animation-timing-function: linear;
}