mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-13 01:57:38 +08:00
added read ahead hard funbox
This commit is contained in:
parent
38e35a60a9
commit
8917a67b13
3 changed files with 15 additions and 1 deletions
|
@ -355,7 +355,11 @@ async function activateFunbox(funbox, mode) {
|
|||
restartTest();
|
||||
}
|
||||
|
||||
if (funbox === "read_ahead" || funbox === "read_ahead_easy") {
|
||||
if (
|
||||
funbox === "read_ahead" ||
|
||||
funbox === "read_ahead_easy" ||
|
||||
funbox === "read_ahead_hard"
|
||||
) {
|
||||
setHighlightMode("letter", true);
|
||||
restartTest();
|
||||
}
|
||||
|
|
|
@ -84,6 +84,11 @@
|
|||
"type": "style",
|
||||
"info": "Only the current word is invisible."
|
||||
},
|
||||
{
|
||||
"name": "read_ahead_hard",
|
||||
"type": "style",
|
||||
"info": "Current and the next two words are invisible."
|
||||
},
|
||||
{
|
||||
"name": "memory",
|
||||
"type": "script",
|
||||
|
|
5
static/funbox/read_ahead_hard.css
Normal file
5
static/funbox/read_ahead_hard.css
Normal file
|
@ -0,0 +1,5 @@
|
|||
#words .word.active:nth-of-type(n + 2),
|
||||
#words .word.active:nth-of-type(n + 2) + .word,
|
||||
#words .word.active:nth-of-type(n + 2) + .word + .word {
|
||||
color: transparent;
|
||||
}
|
Loading…
Add table
Reference in a new issue