mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 05:26:54 +08:00
fix(theme): dark note and reduced-motion not replacing letters with circles (@fehmer) (#6589)
This commit is contained in:
parent
a9fb72de7c
commit
4fe11aceee
1 changed files with 12 additions and 0 deletions
|
@ -142,6 +142,18 @@ hint {
|
|||
opacity: 0;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion) {
|
||||
#words .word:has(~ .active) letter {
|
||||
animation: none !important;
|
||||
transform: scale(0.4);
|
||||
color: transparent;
|
||||
}
|
||||
#words .word:has(~ .active) letter::after {
|
||||
animation: none !important;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue