Skip to content

Instantly share code, notes, and snippets.

@SunRed
Forked from Spaenny/userContent.css
Last active June 14, 2018 19:00
Show Gist options
  • Save SunRed/fe1bb93f5f24131fdccefd19f60b883e to your computer and use it in GitHub Desktop.
Save SunRed/fe1bb93f5f24131fdccefd19f60b883e to your computer and use it in GitHub Desktop.
Making Firefox Quantum dark
/*
Author: SpennyTF
Contributor: SunRed
How to install:
Just put the file under
%appdata%/Mozilla/Firefox/Profiles/<YOURPROFILE>/chrome/userChrome.css
You might have to create the chrome folder.
*/
@-moz-document url(chrome://browser/content/browser.xul) {
#main-window,
browser[type="content-primary"],
browser[type="content"],
tabbrowser#content,
#content,
browser[type="content"] > html {
background: #101010 !important;
}
}
/*
Author: SpennyTF
Contributor: SunRed
How to install:
Just put the file under
%appdata%/Mozilla/Firefox/Profiles/<YOURPROFILE>/chrome/userContent.css
You might have to create the chrome folder.
*/
@-moz-document url-prefix(about:blank), url-prefix(about:newtab) {
html:not(#ublock0-epicker), html:not(#ublock0-epicker) body, #newtab-customize-overlay {
background-color: #101010 !important;
}
}
@-moz-document url-prefix(about:home), url-prefix(about:newtab) {
html body {
background-color: #101010 !important;
color: #C5C5C5 !important;
}
.top-sites-list .top-site-outer .default-icon {
background-color: #222 !important;
}
.card-outer {
background-color: #222 !important;
border-radius: 3px 3px 0px !important;
}
.card-outer .card {
background-color: #222 !important;
box-shadow: 0 1px 4px 0 #222 !important;
border-radius: 3px 3px 0px !important;
}
.card-outer .context-menu-button {
background-color: #222;
}
.search-wrapper input {
background-color: #222;
}
.context-menu {
background-color: #222 !important;
color: #C5C5C5 !important;
}
}
/*
Make background of transparent images transparent again
(with a slight shadow as border)
*/
@media not print {
img.transparent {
background: none !important;
box-shadow: 0 0 10px rgba(0,0,0,0.25);
}
}
.browserContainer {
background-color: var(--url-and-searchbar-background-color, hsla(0,0%,100%,.8)) !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment