Last active
December 21, 2024 19:40
-
-
Save mogproject/2a87a885d262fb03bf885fd042a70f08 to your computer and use it in GitHub Desktop.
Custom horizontal layout CSS running with OBS/Discord Streaming Kit.
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
/* | |
* Custom horizontal layout CSS running with OBS/Discord Streaming Kit. | |
* | |
* Recommended browser size: w2600 x h400 | |
* URL: https://streamkit.discord.com/overlay/voice/{SERVER_ID}/{CHANNEL_ID}?icon=true&online=true&logo=white&text_color=%23ffffff&text_size=28&text_outline_color=%23000000&text_outline_size=0&text_shadow_color=%23000000&text_shadow_size=0&bg_color=%231e2124&bg_opacity=0.95&bg_shadow_color=%23000000&bg_shadow_size=0&invite_code=&limit_speaking=false&small_avatars=false&hide_names=false&fade_chat=0&streamer_avatar_first=false | |
* (Replace {SERVER_ID} and {CHANNEL_ID} with your IDs.) | |
*/ | |
[class*="Voice_voiceStates__"] { | |
display: flex; | |
flex-wrap: nowrap; | |
margin: 32px 2px 2px 2px; | |
} | |
[class*="Voice_voiceState__"] { | |
height: auto; | |
margin-bottom: 0; | |
display: flex; | |
flex-direction: column; | |
} | |
[class*="Voice_avatar__"] { | |
margin-left: 8px; | |
margin-right: 18px; | |
width: 180px; | |
height: 180px; | |
filter: brightness(35%); | |
} | |
img[class*="Voice_avatarSpeaking"] { | |
filter: brightness(100%); | |
} | |
[class*="Voice_user__"] { | |
margin-left: 16px; | |
} | |
[class*="Voice_name__"] { | |
height: 36px; | |
width: 174px; | |
padding: 10px 6px 4px 4px; | |
box-sizing: border-box; | |
text-overflow: clip; | |
white-space: nowrap; | |
overflow: hidden; | |
display: block; | |
text-align: center; | |
top: -60px; | |
position: relative; | |
} | |
@keyframes speak-border { | |
0% { | |
filter: drop-shadow(2px 2px 0px #FFFFFF) drop-shadow(-2px -2px 0px #FFFFFF) drop-shadow(-2px 2px 0px #FFFFFF) drop-shadow(2px -2px 0px #FFFFFF); | |
} | |
50% { | |
filter: drop-shadow(2px 2px 0px #FFFFFF) drop-shadow(-2px -2px 0px #FFFFFF) drop-shadow(-2px 2px 0px #FFFFFF) drop-shadow(2px -2px 0px #FFFFFF); | |
} | |
100% { | |
filter: drop-shadow(2px 2px 0px #FFFFFF) drop-shadow(-2px -2px 0px #FFFFFF) drop-shadow(-2px 2px 0px #FFFFFF) drop-shadow(2px -2px 0px #FFFFFF); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment