summaryrefslogtreecommitdiff
path: root/ar/.config/qutebrowser/greasemonkey/reddit.css.js
blob: 9677090f60483b573066b692a9e318015add008d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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;
    }
`);