summaryrefslogtreecommitdiff
path: root/mac/.qutebrowser/greasemonkey/csmonitor-text.css.js
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.qutebrowser/greasemonkey/csmonitor-text.css.js')
-rw-r--r--mac/.qutebrowser/greasemonkey/csmonitor-text.css.js43
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;
+ }
+`);