Created
March 13, 2023 13:56
-
-
Save yuarasino/de0d772536eebe2128ee92f4e03f408b to your computer and use it in GitHub Desktop.
コラボ用 Discord CSS (VPLカラー)
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
:root { | |
--main-grad: linear-gradient(180deg, #ffe05a, #ff5fbb, #eb269e); | |
--sub-grad: linear-gradient(165deg, #6bff00, #009aff,#b300ff); | |
--main-color: rgba(255,95,187,.85); | |
--sub-color: rgba(0,154,255,.9); | |
} | |
*,*::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: 4px solid transparent; | |
background: border-box var(--main-grad); | |
border-radius: 10px; | |
/* ピカピカ光らせたいときは↓をコメントアウト */ | |
/* filter: brightness(70%); */ | |
} | |
img[class*="avatarSpeaking"] { | |
position: relative; | |
background: border-box var(--sub-grad); | |
animation: speak-now 3s forwards infinite; | |
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: var(--main-color); | |
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; | |
color: #fff !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment