summaryrefslogtreecommitdiff
path: root/debian/.config/qutebrowser/greasemonkey/cnn-lite.css.js
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-12-24 13:54:03 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-12-24 13:54:03 +0900
commit28e8bdf7f8286bd431b7f3b709e79f3827b31469 (patch)
tree85b44eff6da4d8443198fb6e04dfb6ee55244588 /debian/.config/qutebrowser/greasemonkey/cnn-lite.css.js
parent8470ff001befcfd0f626dea69a9e76d43aee0511 (diff)
updates
Diffstat (limited to 'debian/.config/qutebrowser/greasemonkey/cnn-lite.css.js')
-rw-r--r--debian/.config/qutebrowser/greasemonkey/cnn-lite.css.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/.config/qutebrowser/greasemonkey/cnn-lite.css.js b/debian/.config/qutebrowser/greasemonkey/cnn-lite.css.js
new file mode 100644
index 0000000..8c2c507
--- /dev/null
+++ b/debian/.config/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;
+ }
+`);