Skip to content

Instantly share code, notes, and snippets.

@zkxs
Created July 11, 2018 00:39
Show Gist options
  • Save zkxs/c0708808933b9f71c5e7eb543c4c09fe to your computer and use it in GitHub Desktop.
Save zkxs/c0708808933b9f71c5e7eb543c4c09fe to your computer and use it in GitHub Desktop.
Firefox Dark Mode
/*
* Edit this file and copy it as userChrome.css into your
* profile-directory/chrome/
*/
/*
* This file can be used to customize the look of Mozilla's user interface
* You should consider using !important on rules which you want to
* override default settings.
*/
/*
* Do not remove the @namespace line -- it's required for correct functioning
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
/*.tabbrowser-tabbox {
background-color: #272823;
}*/
#browser vbox#appcontent tabbrowser,
#content,
#tabbrowser-tabpanels,
browser[type=content-primary],
browser[type=content] > html {
/*background: var(--in-content-page-background)!important*/
background: #272823 !important;
}
/*
* Some possible accessibility enhancements:
*/
/*
* Make all the default font sizes 20 pt:
*
* * {
* font-size: 20pt !important
* }
*/
/*
* Make menu items in particular 15 pt instead of the default size:
*
* menupopup > * {
* font-size: 15pt !important
* }
*/
/*
* Give the Location (URL) Bar a fixed-width font
*
* #urlbar {
* font-family: monospace !important;
* }
*/
/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/
/*
* This file can be used to apply a style to all web pages you view
* Rules without !important are overruled by author rules if the
* author sets any. Rules with !important overrule author rules.
*/
/* Remove New Tab Flash */
@-moz-document url(about:blank),
url(about:newtab)
{
#newtab-window,
html
{
background: #272823;
}
}
/*
* example: turn off "blink" element blinking
*
* blink { text-decoration: none ! important; }
*
*/
/*
* example: give all tables a 2px border
*
* table { border: 2px solid; }
*/
/*
* example: turn off "marquee" element
*
* marquee { -moz-binding: none; }
*
*/
/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment