Skip to content

Instantly share code, notes, and snippets.

@Shoozza
Last active April 28, 2019 12:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shoozza/90e1e03b923b90217c82fa9bb09c7cf1 to your computer and use it in GitHub Desktop.
Save Shoozza/90e1e03b923b90217c82fa9bb09c7cf1 to your computer and use it in GitHub Desktop.
Firefox Readermode dark sidebar theme + hidden + show on hover + yellow selection + yellow link color
/*
how to install:
- visit about:support
- open profile folder
- create/edit chrome\userContent.css file
*/
@-moz-document url-prefix("about:reader") {
/* fix toolbar */
.toolbar {
opacity: 0;
background-color: #222 !important;
border-right: 1px solid #555 !important;
}
.toolbar:hover {
opacity: 1;
background-color: #222 !important;
border-right: 1px solid #555 !important;
}
.button {
color: #cecece !important;
background-color: #222 !important;
}
.toolbar .button {
border-right: 1px solid #555 !important;
border-bottom: 1px solid #555 !important;
}
/* fix selections */
.moz-reader-content ::selection,
::selection {
background: darkgoldenrod !important;
color: #222 !important;
}
/* fix link colors */
.moz-reader-content a:visited,
a:visited {
color: goldenrod !important;
}
.moz-reader-content a:link,
a:link {
color: gold !important;
}
.moz-reader-content a:hover,
.moz-reader-content a:active,
a:hover,
a:active {
color: khaki !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment