summaryrefslogtreecommitdiff
path: root/mac/.qutebrowser/greasemonkey/stackexchange.css.js
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-09-11 17:28:34 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-09-11 17:28:34 +0900
commitfc3af8a3b3af5e3cd35c9c6b075e71e9ce43eb69 (patch)
tree140aa5e044dc46cbcf4c9b1ea5978dd1899e5608 /mac/.qutebrowser/greasemonkey/stackexchange.css.js
parent53f239bf8067e4dda550d947e2a6b93de0c7dd65 (diff)
updates
Diffstat (limited to 'mac/.qutebrowser/greasemonkey/stackexchange.css.js')
-rw-r--r--mac/.qutebrowser/greasemonkey/stackexchange.css.js44
1 files changed, 44 insertions, 0 deletions
diff --git a/mac/.qutebrowser/greasemonkey/stackexchange.css.js b/mac/.qutebrowser/greasemonkey/stackexchange.css.js
new file mode 100644
index 0000000..845b0a6
--- /dev/null
+++ b/mac/.qutebrowser/greasemonkey/stackexchange.css.js
@@ -0,0 +1,44 @@
+// ==UserScript==
+// @name Stack Exchange
+// @include *://stackexchange.com*
+// @include *://*.stackexchange.com*
+// @include *://stackoverflow.com*
+// @include *://mathoverflow.net*
+// @include *://superuser.com*
+// @include *://askubuntu.com*
+// @include *://serverfault.com*
+// ==/UserScript==
+
+/* ~/.config/qutebrowser/greasemonkey/stackexchange.css.js :: */
+
+GM_addStyle(`
+ html, body, .s-sidebarwidget {
+ background: var(--color-bg) !important;
+ }
+ #content, header {
+ background: var(--color-bg1) !important;
+ border: 2px solid var(--color-bar) !important;
+ }
+ .s-sidebarwidget--header {
+ background: var(--color-bg1) !important;
+ }
+ .s-btn {
+ background: none !important;
+ }
+
+ a {
+ color: var(--color-heading) !important;
+ text-decoration: none !important;
+ transition: none !important;
+ }
+ a:visited {
+ color: var(--color-link) !important;
+ }
+ a:hover {
+ color: var(--color-active) !important;
+ }
+
+ .js-overflowai-cta {
+ display: none !important;
+ }
+`);