« get me outta code hell

userstuff: initial commit - dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/userstuff/discord
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-01-20 10:39:07 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-01-20 10:43:43 -0400
commitf168193e64793621652a86a3b2f238fe153f5b65 (patch)
tree70e2fd53eb269a1a8caab6a875d0271d74a4cf12 /userstuff/discord
parent07f1dd42bcecd27b2bd6c7a6cfaa01f4fb40293b (diff)
userstuff: initial commit HEAD main
Userscripts and userstyles. Extension/platform-agnostic.
At the moment we're using the macOS 'Userscripts' app
(from the app store), which we've configured to point to
a folder in iCloud Documents, 'Userscripts Folder'.

'Userscripts Folder' is flat and each file is hardlinked
with the appropriate placement in userstuff, though we
haven't checked if the Userscripts app breaks hardlinks
or not.
Diffstat (limited to 'userstuff/discord')
-rw-r--r--userstuff/discord/Highlight hovered message.user.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/userstuff/discord/Highlight hovered message.user.css b/userstuff/discord/Highlight hovered message.user.css
new file mode 100644
index 0000000..fe9d89b
--- /dev/null
+++ b/userstuff/discord/Highlight hovered message.user.css
@@ -0,0 +1,10 @@
+/* ==UserStyle==
+@name        Highlight hovered message
+@description Adds a background and underline to the Discord message under the mouse cursor
+@match       https://discord.com/*
+==/UserStyle== */
+
+div[class*=cozyMessage]:hover {
+    background-color: #ccc1;
+    box-shadow: 0 1px 0px #eee5;
+}