summaryrefslogtreecommitdiff
path: root/mac/.config/qutebrowser/greasemonkey/dienet.css.js
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
commit07d294425a98ee5d1e22d03e2b24ae2c76e487c0 (patch)
treea6818f0d64438c5fdb88b00a35d944f80c056213 /mac/.config/qutebrowser/greasemonkey/dienet.css.js
parent6fc28cdb3529ca8ee864cb5c41674cb0a4af72a1 (diff)
updates
Diffstat (limited to 'mac/.config/qutebrowser/greasemonkey/dienet.css.js')
-rw-r--r--mac/.config/qutebrowser/greasemonkey/dienet.css.js67
1 files changed, 67 insertions, 0 deletions
diff --git a/mac/.config/qutebrowser/greasemonkey/dienet.css.js b/mac/.config/qutebrowser/greasemonkey/dienet.css.js
new file mode 100644
index 0000000..7031d05
--- /dev/null
+++ b/mac/.config/qutebrowser/greasemonkey/dienet.css.js
@@ -0,0 +1,67 @@
+// ==UserScript==
+// @name die.net
+// @include *://linux.die.net*
+// @include *://die.net*
+// @include *://www.die.net*
+// ==/UserScript==
+
+/* ~/.config/qutebrowser/greasemonkey/dienet.css.js :: */
+
+GM_addStyle(`
+ body {
+ background: var(--color-bg) !important;
+ color: var(--color-fg) !important;
+ }
+ #logo, #menu {
+ background: var(--color-bg1) !important;
+ color: var(--color-fg) !important;
+ border: none !important;
+ }
+
+ #bg {
+ max-width: unset !important;
+ }
+
+ #content {
+ font-family: var(--font-family) !important;
+ font-size: var(--font-size) !important;
+ }
+
+ h1 {
+ border: none !important;
+ }
+
+ h1, h2, h3, h4, h5, h6 {
+ font-size: var(--font-size) !important;
+ color: var(--color-heading) !important;
+ padding: 0 !important;
+ margin-top: 2ch !important;
+ margin-bottom: 0 !important;
+ }
+
+ b {
+ color: var(--color-heading) !important;
+ }
+
+ input {
+ background: var(--color-bg) !important;
+ color: var(--color-code) !important;
+ border-color: 2px solid var(--color-bar) !important;
+ }
+
+ a {
+ color: var(--color-link) !important ;
+ text-decoration: none !important;
+ }
+ a:hover {
+ color: var(--color-active) !important;
+ text-decoration: none !important;
+ }
+ #logo a, #menu a {
+ background: none !important;
+ }
+
+ img[alt='Back'], #adright, #cse-search-box {
+ display: none !important;
+ }
+`);