diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-17 04:57:37 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-17 04:57:37 +0900 |
| commit | 0423b9850f06a32ef102547c2dabc3015d379ecc (patch) | |
| tree | b9aae5725b58af13a2d65763e389f391ef3b62c8 /global/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js | |
| parent | 618a7d709658ada71730ea3ff33f0ec7fd937c1e (diff) | |
updates
Diffstat (limited to 'global/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js')
| -rw-r--r-- | global/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/global/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js b/global/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js new file mode 100644 index 0000000..92a491d --- /dev/null +++ b/global/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js @@ -0,0 +1,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; + } +`); |
