Skip to content

Instantly share code, notes, and snippets.

@cheesits456
Last active September 3, 2020 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cheesits456/4ba0e318aedf31a205ad22c141234e88 to your computer and use it in GitHub Desktop.
Save cheesits456/4ba0e318aedf31a205ad22c141234e88 to your computer and use it in GitHub Desktop.
Custom CSS for Discord to remove the recently-added message hover effects
/* ==========
RemoveButtons.theme.css by cheesits456 (https://cheesits456.dev)
For CSS compatible with browser extensions, see
https://gist.github.com/cheesits456/0d5bede837f022e443e9a5fc4aa386cb#file-discordbrowserstyles-css-L20
========== */
/* Disable timestamp when hovering a message */
.da-message > .da-contents > .da-timestamp {
display: none;
}
/* Disable background darken when hovering a message */
.da-message:not(.da-mentioned):hover {
background-color: var(--background-primary) !important;
}
/* Disable background brighten when hovering a message with a mention */
.da-mentioned:hover {
background-color: var(--background-mentioned) !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment