summaryrefslogtreecommitdiff
path: root/ar/.config/qutebrowser/greasemonkey/csmonitor-text.css.js
blob: 92a491d16bc7638286c68e10bfde6330d3c6c8ec (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
// ==UserScript==
// @name        Christian Science Monitor Text Edition
// @include     *://www.csmonitor.com/text_edition*
// ==/UserScript==

/* ~/.config/qutebrowser/greasemonkey/csmonitor-text.css.js :: */

GM_addStyle(`
    body, footer {
        background: var(--color-bg) !important;
        color: var(--color-fg) !important;
    }

    div[data-field='summary'] {
        color: var(--color-fg) !important;
    }

    u {
        text-decoration: none !important
    }

    a, .content-title>* {
        border: none !important;
        transition: none !important;
        -webkit-transition: none !important;
    }

    a, footer a:visited, .top-navigation a:visited, a:visited.navbar-brand {
        color: var(--color-heading) !important;
        text-decoration: none !important;
    }
    a:visited {
        color: var(--color-link) !important;
    }
    a:hover, footer a:hover, .top-navigation a:hover, a:hover.navbar-brand {
        color: var(--color-active) !important;
    }

    span[data-view='kicker'], h2 + small, .underlined,
    .footer-logo, #issn, .footer-social-links {
        display: none !important;
    }
`);