Skip to content

Instantly share code, notes, and snippets.

@rickybrent
Last active June 23, 2019 09:12
Show Gist options
  • Save rickybrent/f5eb6db2e5b440b1b9baadf1699cd7d7 to your computer and use it in GitHub Desktop.
Save rickybrent/f5eb6db2e5b440b1b9baadf1699cd7d7 to your computer and use it in GitHub Desktop.
J-Novel Club Reader Blackout
/* ==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