summaryrefslogtreecommitdiff
path: root/global/.local/share/qutebrowser/greasemonkey/reddit.css.js
diff options
context:
space:
mode:
Diffstat (limited to 'global/.local/share/qutebrowser/greasemonkey/reddit.css.js')
-rw-r--r--global/.local/share/qutebrowser/greasemonkey/reddit.css.js41
1 files changed, 41 insertions, 0 deletions
diff --git a/global/.local/share/qutebrowser/greasemonkey/reddit.css.js b/global/.local/share/qutebrowser/greasemonkey/reddit.css.js
new file mode 100644
index 0000000..9677090
--- /dev/null
+++ b/global/.local/share/qutebrowser/greasemonkey/reddit.css.js
@@ -0,0 +1,41 @@
+// ==UserScript==
+// @name Reddit
+// @include *://*.reddit.com/*
+// ==/UserScript==
+
+/* ~/.config/qutebrowser/greasemonkey/reddit.css.js :: */
+
+GM_addStyle(`
+ body, body:before, textarea, #header, #siteTable, .comment, .commentarea,
+ .option, .side, .sitetable, .titlebox, .usertext-body {
+ background: var(--color-bg) !important;
+ background-image: none !important;
+ color: var(--color-fg) !important;
+ }
+
+ #sr-header-area {
+ background: var(--color-bg1) !important;
+ }
+ #sr-header-area a {
+ color: var(--color-heading) !important ;
+ }
+ #sr-header-area a:hover {
+ color: var(--color-active) !important;
+ }
+
+ a {
+ color: var(--color-heading) !important ;
+ text-decoration: none !important;
+ }
+ a:visited {
+ color: var(--color-link) !important ;
+ }
+ a:hover {
+ color: var(--color-active) !important;
+ }
+
+ .account-activity-box, .premium-banner, .premium-banner-outer, .promoted,
+ .promotedlink, .redesign-beta-optin, .sidebox.create {
+ display: none !important;
+ }
+`);