summaryrefslogtreecommitdiff
path: root/ar/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-16 11:39:32 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-16 11:39:32 +0900
commitb15e249d2d9cd503c39b3adede854f08f6fcf5fd (patch)
treef13507bbe02e7ab8ef1ccdc30cf4c5a88050fb51 /ar/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js
parentcd4ab86d34904aa4b1b39f97da71f21f9e9a0102 (diff)
updates
Diffstat (limited to 'ar/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js')
-rw-r--r--ar/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js43
1 files changed, 43 insertions, 0 deletions
diff --git a/ar/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js b/ar/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js
new file mode 100644
index 0000000..92a491d
--- /dev/null
+++ b/ar/.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;
+ }
+`);