From a739f521e4a7160a99d540df771a8b7516f3cb92 Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 24 Feb 2021 15:04:23 +0000 Subject: [PATCH] added read ahead hard. closes #1019 --- static/funbox/_list.json | 9 +++++++-- static/funbox/read_ahead_hard.css | 5 +++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 static/funbox/read_ahead_hard.css diff --git a/static/funbox/_list.json b/static/funbox/_list.json index f410e79a6..d30977118 100644 --- a/static/funbox/_list.json +++ b/static/funbox/_list.json @@ -74,15 +74,20 @@ "type": "script", "info": "React quickly! Only one future word is visible." }, + { + "name": "read_ahead_easy", + "type": "style", + "info": "Only the current word is invisible." + }, { "name": "read_ahead", "type": "style", "info": "Current and the next word is invisible!" }, { - "name": "read_ahead_easy", + "name": "read_ahead_hard", "type": "style", - "info": "Only the current word is invisible." + "info": "Current and the next two words are invisible!" }, { "name": "memory", diff --git a/static/funbox/read_ahead_hard.css b/static/funbox/read_ahead_hard.css new file mode 100644 index 000000000..6da2218d7 --- /dev/null +++ b/static/funbox/read_ahead_hard.css @@ -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; +}