Last active
June 23, 2019 09:12
-
-
Save rickybrent/f5eb6db2e5b440b1b9baadf1699cd7d7 to your computer and use it in GitHub Desktop.
J-Novel Club Reader Blackout
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 J-Novel Club Reader Blackout | |
@namespace github.com/rickybrent | |
@version 1.0.1 | |
@license unlicense | |
@updateURL https://gist.github.com/rickybrent/f5eb6db2e5b440b1b9baadf1699cd7d7/raw/j-novel-club-reader-blackout.user.css | |
==/UserStyle== */ | |
@-moz-document regexp("https://j-novel\\.club/.*/read") { | |
div#root div:first-child { | |
color: white !important; | |
background: black !important; | |
} | |
/* Add padding to the last element to prevent the part from ending early. | |
Less absurd than using the DOM inspector to finish a part, though there's | |
extra padding at the end. | |
*/ | |
div#root div:first-child p:last-child { | |
background: #1e1e1e !important; | |
padding-bottom:1080px !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment