Advertisement
kyroskoh

Discord Avatar Overlay CSS (Speaking & NotSpeaking)

Nov 3rd, 2021
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. li.voice-state:not([data-reactid*="pasteIDHere"]) { display:none; }
  2. .avatar {
  3. content:url(notSpeakingURL);
  4. height:auto !important;
  5. width:auto !important;
  6. border-radius:0% !important;
  7. filter: brightness(50%);
  8. /*Change brightness to 100%, if you don’t want the image to dim*/
  9. }
  10.  
  11. .speaking {
  12. border-color:rgba(0,0,0,0) !important;
  13. position:relative;
  14. animation-name: speak-now;
  15. animation-duration: 1s;
  16. animation-fill-mode:forwards;
  17. filter: brightness(100%);
  18. content:url(SpeakingURL);
  19. }
  20.  
  21. @keyframes speak-now {
  22. 0% { bottom:0px; }
  23. 15% { bottom:10px; }
  24. 30% { bottom:0px; }
  25. }
  26.  
  27. li.voice-state{ position: static; }
  28. div.user{ position: absolute; left:40%; bottom:5%; }
  29.  
  30. body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement