diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-09-11 17:28:34 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-09-11 17:28:34 +0900 |
| commit | fc3af8a3b3af5e3cd35c9c6b075e71e9ce43eb69 (patch) | |
| tree | 140aa5e044dc46cbcf4c9b1ea5978dd1899e5608 /mac/.qutebrowser/greasemonkey/csmonitor-text.css.js | |
| parent | 53f239bf8067e4dda550d947e2a6b93de0c7dd65 (diff) | |
updates
Diffstat (limited to 'mac/.qutebrowser/greasemonkey/csmonitor-text.css.js')
| -rw-r--r-- | mac/.qutebrowser/greasemonkey/csmonitor-text.css.js | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/mac/.qutebrowser/greasemonkey/csmonitor-text.css.js b/mac/.qutebrowser/greasemonkey/csmonitor-text.css.js new file mode 100644 index 0000000..92a491d --- /dev/null +++ b/mac/.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; + } +`); |
