Skip to content

Instantly share code, notes, and snippets.

@shhac
Last active March 5, 2018 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shhac/0ca21e9365593554d18bbd187554415c to your computer and use it in GitHub Desktop.
Save shhac/0ca21e9365593554d18bbd187554415c to your computer and use it in GitHub Desktop.
Google Docs Night
@-moz-document url-prefix("https://docs.google.com/document/d/") {
#docs-chrome {
filter: invert(0.85) hue-rotate(180deg);
position: relative;
z-index: 1;
}
#docs-chrome img, #docs-chrome svg {
filter: invert(1) hue-rotate(180deg);
}
}
@-moz-document url-prefix("https://docs.google.com/document/d/") {
#docs-menu-shield, .goog-menu {
filter: invert(0.85) hue-rotate(180deg);
}
.goog-menu img, .goog-menu svg {
filter: invert(1) hue-rotate(180deg);
}
}
@-moz-document url-prefix("https://docs.google.com/document/d/") {
#docs-editor {
filter: invert(0.85) hue-rotate(180deg);
}
#docs-editor img, #docs-editor svg {
filter: invert(1) hue-rotate(180deg) contrast(1.3) saturate(1.4);
}
#docs-editor .docs-explore-widget svg {
filter: invert(0);
}
}
@-moz-document url-prefix("https://docs.google.com/document/d/") {
.modal-dialog {
filter: invert(0.85) hue-rotate(180deg);
}
.modal-dialog img, .modal-dialog svg {
filter: invert(1) hue-rotate(180deg);
}
.modal-dialog-bg {
filter: invert(0.85) hue-rotate(180deg);
}
}
@-moz-document url-prefix("https://docs.google.com/document/d/") {
html {
background: rgba(50, 50, 50, 1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment