Skip to content

Instantly share code, notes, and snippets.

@Cimbali
Created January 14, 2017 18:46
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cimbali/2d371d11fac17fb3140cdca4b41ee7cf to your computer and use it in GitHub Desktop.
Save Cimbali/2d371d11fac17fb3140cdca4b41ee7cf to your computer and use it in GitHub Desktop.
Justified text in Firefox's "reader" mode
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("about:reader") {
#moz-reader-content {
text-align: justify;
}
}
@dmgl
Copy link

dmgl commented Jan 11, 2018

Thank you!

$ cd ~/.mozilla/firefox/*.default
$ mkdir -p chrome && cd chrome
$ cat >> userContent.css

# Then paste code from gist above.

@robinmoussu
Copy link

Thanks a lot for the snippet. I had to change #moz-reader-content to .moz-reader-content to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment