-
-
Save DTM9025/fdf1d3ef8a86093dd3132f3f64da969f to your computer and use it in GitHub Desktop.
Styles for YouTube streaming live-chat
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
/* Background colors*/ | |
body { | |
overflow: hidden; | |
background-color: rgba(255,255,255,0); | |
} | |
/* Transparent background. */ | |
yt-live-chat-renderer { | |
background-color: transparent !important; | |
} | |
yt-live-chat-text-message-renderer, | |
yt-live-chat-text-message-renderer[is-highlighted] { | |
background-color: transparent !important; | |
} | |
yt-live-chat-text-message-renderer[author-type="owner"], | |
yt-live-chat-text-message-renderer[author-type="owner"][is-highlighted] { | |
background-color: transparent !important; | |
} | |
yt-live-chat-text-message-renderer[author-type="moderator"], | |
yt-live-chat-text-message-renderer[author-type="moderator"][is-highlighted] { | |
background-color: transparent !important; | |
} | |
yt-live-chat-text-message-renderer[author-type="member"], | |
yt-live-chat-text-message-renderer[author-type="member"][is-highlighted] { | |
background-color: transparent !important; | |
} | |
yt-live-chat-author-chip #author-name { | |
background-color: transparent !important; | |
} | |
/* Outlines */ | |
yt-live-chat-text-message-renderer * { | |
font-size: 20px !important; | |
font-weight: 500 !important; | |
line-height: 20px !important; | |
text-shadow: | |
1px 1px 2px black, | |
-1px -1px 2px black !important; | |
} | |
#author-name.yt-live-chat-author-chip { | |
font-size: 20px !important; | |
font-weight: 500 !important; | |
line-height: 20px !important; | |
text-shadow: | |
1px 1px 2px black, | |
-1px -1px 2px black !important; | |
} | |
yt-live-chat-text-message-renderer #content, | |
yt-live-chat-legacy-paid-message-renderer #content { | |
overflow: initial !important; | |
} | |
/* Hide scrollbar. */ | |
yt-live-chat-item-list-renderer #items{ | |
overflow: hidden !important; | |
} | |
yt-live-chat-item-list-renderer #item-scroller{ | |
overflow: hidden !important; | |
} | |
/* Hide header and input. */ | |
yt-live-chat-header-renderer, | |
yt-live-chat-message-input-renderer { | |
display: none !important; | |
} | |
/* Reduce side padding. */ | |
yt-live-chat-text-message-renderer, | |
yt-live-chat-legacy-paid-message-renderer { | |
padding-left: 4px !important; | |
padding-right: 4px !important; | |
} | |
yt-live-chat-paid-message-renderer #header { | |
padding-left: 4px !important; | |
padding-right: 4px !important; | |
} | |
/* Avatars. */ | |
yt-live-chat-text-message-renderer #author-photo, | |
yt-live-chat-paid-message-renderer #author-photo, | |
yt-live-chat-legacy-paid-message-renderer #author-photo { | |
border-radius: 30px !important; | |
margin-right: 7.5px !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment