Last active
April 16, 2024 03:18
-
-
Save TheUnlocked/c2e3aa361c35e2c468fd98c26300c251 to your computer and use it in GitHub Desktop.
Blurs the English translations of example sentences on vocab pages and lessons for Wanikani. Hover to unblur.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name Wanikani Hide Sentence Translation | |
@namespace gist.github.com/TheUnlocked/c2e3aa361c35e2c468fd98c26300c251 | |
@version 1.1.0 | |
@description Blurs the English translations of example sentences on vocab pages and lessons for Wanikani. Hover to unblur. | |
@author Unlocked | |
==/UserStyle== */ | |
@-moz-document domain("wanikani.com") { | |
.subject-section--context, .context-sentences { | |
& p:not([lang="ja"]) { | |
display: inline-block; | |
filter: blur(4px); | |
transition: filter 1s; | |
&:hover { | |
/* need this to be non-zero because of weird rendering issues. */ | |
filter: blur(0.1px); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment