Skip to content

Instantly share code, notes, and snippets.

@jschneid
Created February 26, 2020 17:30
Show Gist options
  • Save jschneid/feacef2bca62dbb14fe6c42f7e759ffc to your computer and use it in GitHub Desktop.
Save jschneid/feacef2bca62dbb14fe6c42f7e759ffc to your computer and use it in GitHub Desktop.
For Firefox. Hides distracting StackExchange "Hot Network Questions"; changes Google Docs background color from snowblindness white to a more palatable gray
@-moz-document domain(stackexchange.com), domain(stackoverflow.com), domain(serverfault.com) {
#hot-network-questions {
display: none;
}
}
@-moz-document domain(docs.google.com) {
/* Background area behind the document page */
.kix-appview {
background-color: slategray !important;
}
/* Make Google Docs gray background instead of intense snowblindness white */
/* Right nav */ .companion-guest-app-switcher, .companion-collapser-button-container
{
background-color: Gainsboro;
}
/* Blank page area at end of document; excluding selected text */ .kix-paginateddocumentplugin > .docs-ui-unprintable,
/* Left nav */ .navigation-widget,
/* Main document page */ .kix-page, .kix-page-column,
/* Title and top menu */ #docs-chrome, .docs-title-input,
/* Top toolbar */ #docs-toolbar-wrapper,
/* Top-right-corner nav */ .docs-titlebar-buttons
{
background-color: Gainsboro !important;
}
/* Toolbar buttons */
.goog-toolbar-button, .goog-toolbar-menu-button, .goog-toolbar-combo-button
{
background-color: lightgray !important;
}
/* Toolbar button group separator lines */
.goog-toolbar-separator
{
border-left-color: silver !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment