summaryrefslogtreecommitdiff
path: root/ar/.config/qutebrowser/greasemonkey/stackexchange.css.js
blob: 845b0a67a8bc7c4eb923002801694e6e5ab78da7 (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
42
43
44
// ==UserScript==
// @name        Stack Exchange
// @include     *://stackexchange.com*
// @include     *://*.stackexchange.com*
// @include     *://stackoverflow.com*
// @include     *://mathoverflow.net*
// @include     *://superuser.com*
// @include     *://askubuntu.com*
// @include     *://serverfault.com*
// ==/UserScript==

/* ~/.config/qutebrowser/greasemonkey/stackexchange.css.js :: */

GM_addStyle(`
    html,  body, .s-sidebarwidget {
        background: var(--color-bg) !important;
    }
    #content, header {
        background: var(--color-bg1) !important;
        border: 2px solid var(--color-bar) !important;
    }
    .s-sidebarwidget--header {
        background: var(--color-bg1) !important;
    }
    .s-btn {
        background: none !important;
    }

    a {
        color: var(--color-heading) !important;
        text-decoration: none !important;
        transition: none !important;
    }
    a:visited {
        color: var(--color-link) !important;
    }
    a:hover {
        color: var(--color-active) !important;
    }

    .js-overflowai-cta {
        display: none !important;
    }
`);