summaryrefslogtreecommitdiff
path: root/global/.local/share/qutebrowser/greasemonkey/cnn-lite.css.js
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-17 04:57:37 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-17 04:57:37 +0900
commit0423b9850f06a32ef102547c2dabc3015d379ecc (patch)
treeb9aae5725b58af13a2d65763e389f391ef3b62c8 /global/.local/share/qutebrowser/greasemonkey/cnn-lite.css.js
parent618a7d709658ada71730ea3ff33f0ec7fd937c1e (diff)
updates
Diffstat (limited to 'global/.local/share/qutebrowser/greasemonkey/cnn-lite.css.js')
-rw-r--r--global/.local/share/qutebrowser/greasemonkey/cnn-lite.css.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/global/.local/share/qutebrowser/greasemonkey/cnn-lite.css.js b/global/.local/share/qutebrowser/greasemonkey/cnn-lite.css.js
new file mode 100644
index 0000000..8c2c507
--- /dev/null
+++ b/global/.local/share/qutebrowser/greasemonkey/cnn-lite.css.js
@@ -0,0 +1,31 @@
+// ==UserScript==
+// @name CNN Lite
+// @include *://lite.cnn.com*
+// ==/UserScript==
+
+/* ~/.config/qutebrowser/greasemonkey/cnn-lite.css.js :: */
+
+GM_addStyle(`
+ body {
+ color: var(--color-fg) !important;
+ background: var(--color-bg) !important;
+ }
+
+ a, footer a:visited, header a:visited {
+ color: var(--color-heading) !important;
+ text-decoration: none !important;
+ }
+
+ a:visited {
+ color: var(--color-link) !important;
+ }
+
+ a:hover, footer a:hover, header a:hover {
+ color: var(--color-active) !important;
+ }
+
+ ul {
+ list-style-type: none !important;
+ padding-inline-start: unset !important;
+ }
+`);