summaryrefslogtreecommitdiff
path: root/ar/.local/share/qutebrowser/greasemonkey/stackexchange.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/stackexchange.css.js
parentcd4ab86d34904aa4b1b39f97da71f21f9e9a0102 (diff)
updates
Diffstat (limited to 'ar/.local/share/qutebrowser/greasemonkey/stackexchange.css.js')
-rw-r--r--ar/.local/share/qutebrowser/greasemonkey/stackexchange.css.js44
1 files changed, 44 insertions, 0 deletions
diff --git a/ar/.local/share/qutebrowser/greasemonkey/stackexchange.css.js b/ar/.local/share/qutebrowser/greasemonkey/stackexchange.css.js
new file mode 100644
index 0000000..845b0a6
--- /dev/null
+++ b/ar/.local/share/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;
+ }
+`);