Skip to content

Instantly share code, notes, and snippets.

@itspacrat
Forked from Bluscream/obs_twitch_chat.css
Last active April 28, 2021 01:13
Show Gist options
  • Save itspacrat/851f6c1a2c90ac557d72c825dbe7c0df to your computer and use it in GitHub Desktop.
Save itspacrat/851f6c1a2c90ac557d72c825dbe7c0df to your computer and use it in GitHub Desktop.
Twitch chat transparent popout for OBS (ParkCity)
/*
Twitch chat browsersource CSS for OBS
Just set the URL as https://www.twitch.tv/%%TWITCHCHANNEL%%/chat?popout=true
And paste this entire file into the CSS box
Original by twitch.tv/starvingpoet, github.com/Bluscream, modified once
more by twitch.tv/parkcity_gaming (github.com/parkcitymedia)
todo: right align the stuff
General Settings
*/
body {
color: #FFFFFF!important;
margin: 0 auto!important;
overflow: hidden!important;
text-shadow:
-1px -1px 1px #000000,
-1px 1px 1px #000000,
1px -1px 1px #000000,
1px 1px 1px #000000!important;
}
html, body,
.room-selector, .room-selector__header,
.twilight-minimal-root, .tw-root--theme-light,
.popout-chat-page, .chat-room, .tw-c-background-alt,
.chat-container, .ember-chat-container {
background: rgba(0,0,0,0)!important;
background-color: rgba(0,0,0,0)!important;
}
/*
Badge Removal
To remove additional badge types - moderator, bits, etc - just make a copy of the one of the following badge selectors and replace the word inbetween the quotes with the hover text
img.badge[alt="Broadcaster"],
img.badge[alt="Moderator"],
img.badge[alt="Subscriber"],*/
img.badge[alt="Twitch Prime"],
img.badge[alt="Turbo"],
img.badge[alt="Verified"]
{
display: none!important;
}
/**
* Remove the header section
*/
.ember-chat .chat-room {
top: 0!important;
}
.ember-chat .chat-header, .room-selector__header {
display: none!important;
}
.ember-chat .chat-messages .chat-line.admin {
display: none!important;
}
/**
* Remove the footer section
*/
.ember-chat .chat-room, .chat-input {
display: none!important;
bottom: -112px!important;
}
/**
* Font Size & Color
*/
.ember-chat .chat-messages .chat-line {
font-size: 18px!important;
line-height: 20px!important;
}
.chat-container, .ember-chat-container {
color: #FFFFFF!important;
}
.chat-line__message {
font-size:19px;
color: #FFFFFF;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment