From a94b40d99f988cac72e1d7c1d84450e8d06aef55 Mon Sep 17 00:00:00 2001 From: overdodactyl Date: Tue, 26 Dec 2017 22:19:57 -0700 Subject: [PATCH] Add support for https://raw.githubusercontent.com/... pages --- userContent-files/webpages/raw_githubusercontent.css | 6 ++++++ userContent.css | 6 ++++++ userContent_imports.css | 1 + 3 files changed, 13 insertions(+) create mode 100644 userContent-files/webpages/raw_githubusercontent.css diff --git a/userContent-files/webpages/raw_githubusercontent.css b/userContent-files/webpages/raw_githubusercontent.css new file mode 100644 index 0000000..2ae1749 --- /dev/null +++ b/userContent-files/webpages/raw_githubusercontent.css @@ -0,0 +1,6 @@ +@-moz-document url-prefix(https://raw.githubusercontent.com) { + html { + background: var(--primary-dark-color) !important; + color: var(--primary-light-color) !important; + } +} diff --git a/userContent.css b/userContent.css index 59256ad..f7e0d73 100644 --- a/userContent.css +++ b/userContent.css @@ -1598,6 +1598,12 @@ color: var(--primary-light-color) !important; } } +@-moz-document url-prefix(https://raw.githubusercontent.com) { + html { + background: var(--primary-dark-color) !important; + color: var(--primary-light-color) !important; + } +} @-moz-document url-prefix(view-source) { *|*:root { background-color: var(--primary-dark-color) !important; diff --git a/userContent_imports.css b/userContent_imports.css index 43d7e9c..0e25b1f 100644 --- a/userContent_imports.css +++ b/userContent_imports.css @@ -46,3 +46,4 @@ @import 'userContent-files/webpages/amo_store.css'; @import 'userContent-files/webpages/manifest.css'; @import 'userContent-files/webpages/directory_listings.css'; +@import 'userContent-files/webpages/raw_githubusercontent.css';