Last active
February 9, 2024 05:18
-
-
Save cheesits456/0d5bede837f022e443e9a5fc4aa386cb to your computer and use it in GitHub Desktop.
Custom CSS for Discord, compatible with browser extensions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ========== | |
RemoveButtons.theme.css by cheesits456 (https://cheesits456.dev) | |
For BetterDiscord version, see https://gist.github.com/cheesits456/41d659f932b5a574b5dfb9b391a4506e | |
========== */ | |
/* Hide Nitro gift button */ | |
button[aria-label="Send a gift"] { | |
display: none; | |
} | |
/* Hide GIF picker button */ | |
button[aria-label="Open GIF picker"] { | |
display: none; | |
} | |
/* Hide sticker picker button */ | |
button[aria-label="Open sticker picker"] { | |
display: none; | |
} | |
/* ========== | |
RevertMessageHoverEffects.theme.css by cheesits456 (https://cheesits456.dev) | |
For BetterDiscord version, see https://gist.github.com/cheesits456/4ba0e318aedf31a205ad22c141234e88 | |
========== */ | |
/* Disable timestamp when hovering a message */ | |
.message-2qnXI6 > .contents-2mQqc9 > .timestamp-3ZCmNB { | |
display: none; | |
} | |
/* Disable background darken when hovering a message */ | |
.message-2qnXI6:not(.mentioned-xhSam7):hover { | |
background-color: var(--background-primary) !important; | |
} | |
/* Disable background brighten when hovering a message with a mention */ | |
.mentioned-xhSam7:hover { | |
background-color: var(--background-mentioned) !important; | |
} | |
/* ========== | |
AutoHideMembers.theme.css by cheesits456 (https://cheesits456.dev) | |
For BetterDiscord version, see https://gist.github.com/cheesits456/eebc5eadbd87f7c1195c7fec9d9bfaf0 | |
========== */ | |
/* Auto-hide the members list, show on hover */ | |
.members-1998pB, .membersWrap-2h-GB4 { | |
border-radius: 20px 0 0 20px !important; | |
width: 60px; | |
min-width: 60px; | |
transition-property: width, min-width, box-shadow; | |
transition-duration: 350ms; | |
} | |
.members-1998pB:hover, .membersWrap-2h-GB4:hover { | |
width: 240px; | |
min-width: 240px; | |
} | |
.membersWrap-2h-GB4 { | |
position: absolute; | |
right: 0; | |
height: 100%; | |
box-shadow: none; | |
} | |
.membersWrap-2h-GB4:hover { | |
box-shadow: -5px 0 20px 0px #202225; | |
} | |
.chatContent-a9vAAp { | |
min-width: calc(100% - 60px); | |
max-width: calc(100% - 60px); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, i have a request! I know this is specifically for browser, discord theming through BD and Vencord has had some issues and i need to find someone that will help me fix Devil Bros Basic Background CSS with some custom function that will remove the darken box around message on hover. This is how the css is integrated into discord:

A good example of this is the Frosted Glass theme, but it lacks the transparencies of the other themes, while removing the darken on hover.

Or alternatively if you can bring transparency into Frosted Glass it would be greatly appreciated!