mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-13 11:07:16 +08:00
58 lines
991 B
CSS
58 lines
991 B
CSS
:root {
|
|
--bg-color: #000;
|
|
--main-color: #eee;
|
|
--caret-color: #eee;
|
|
--sub-color: #444;
|
|
--text-color: #eee;
|
|
}
|
|
|
|
@keyframes shadow {
|
|
to {
|
|
color: #000;
|
|
}
|
|
}
|
|
|
|
@keyframes shadow-repeat {
|
|
50% {
|
|
color: #000;
|
|
}
|
|
100% {
|
|
color: #eee;
|
|
}
|
|
}
|
|
|
|
.word.error {
|
|
border-bottom: 2px solid #fff;
|
|
}
|
|
|
|
.word letter.incorrect {
|
|
color: #fff;
|
|
}
|
|
|
|
.word letter.incorrect.extra {
|
|
color: #fff;
|
|
}
|
|
|
|
#liveWpm{
|
|
color: white;
|
|
}
|
|
|
|
#top .config .group .buttons .button.active,
|
|
#result .stats .group,
|
|
#menu .button:hover,
|
|
#top .config .group .buttons .button:hover,
|
|
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;
|
|
}
|