Last active
January 9, 2023 09:13
-
-
Save yuarasino/874de5f1a55ebc4f813394d1e14b9461 to your computer and use it in GitHub Desktop.
コラボ用 Discord CSS
This file contains 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
*,*::before,*::after { | |
box-sizing: border-box; | |
} | |
body { | |
background-color: rgba(0, 0, 0, 0); | |
margin: 0; | |
padding: 0; | |
overflow: hidden; | |
} | |
li[class*="voiceState"] { | |
display: inline-block; | |
position: static; | |
margin-left: 4px; | |
width: 128px; | |
height: 160px; | |
} | |
img[class*="avatar"] { | |
display: inline-block; | |
margin: 0; | |
width: 100%; | |
height: auto; | |
border: 2px solid transparent; | |
border-radius: 10px; | |
filter: brightness(70%); | |
} | |
img[class*="avatarSpeaking"] { | |
position: relative; | |
border-color: rgba(0,255,0,0.7); | |
animation-name: speak-now; | |
animation-duration: 3s; | |
animation-fill-mode: forwards; | |
filter: brightness(100%); | |
} | |
@keyframes speak-now { | |
0% { bottom: 0px; } | |
10% { bottom: 10px; } | |
20% { bottom: 0px; } | |
30% { bottom: 10px; } | |
40% { bottom: 0px; } | |
50% { bottom: 10px; } | |
60% { bottom: 0px; } | |
70% { bottom: 10px; } | |
80% { bottom: 0px; } | |
90% { bottom: 10px; } | |
100% { bottom: 0px; } | |
} | |
div[class*="user"] { | |
display: inline-block; | |
margin-top: 4px !important; | |
padding: 0 6px; | |
width: 100%; | |
height: 28px; | |
background-color: rgba(0,0,0,.9); | |
border: 2px solid transparent; | |
border-radius: 4px; | |
} | |
span[class*="name"] { | |
display: inline-block; | |
position: relative; | |
padding: 0; | |
width: 100%; | |
height: 28px; | |
line-height: 28px; | |
background-color: transparent !important; | |
font-size: 16px !important; | |
white-space: nowrap; | |
text-overflow: ellipsis; | |
text-align: center; | |
overflow: hidden; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment