PrajonShrestha

Youtube live chat for obs

Jan 4th, 2021
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.18 KB | None | 0 0
  1. /* Background colors*/
  2. body {
  3. overflow: hidden;
  4. background-color: rgba(0,0,0,0);
  5. }
  6. /* Transparent background. */
  7. yt-live-chat-renderer {
  8. background-color: transparent !important;
  9. }
  10. yt-live-chat-text-message-renderer,
  11. yt-live-chat-text-message-renderer[is-highlighted] {
  12. background-color: transparent !important;
  13. }
  14.  
  15. yt-live-chat-text-message-renderer[author-type="owner"],
  16. yt-live-chat-text-message-renderer[author-type="owner"][is-highlighted] {
  17. background-color: transparent !important;
  18. }
  19.  
  20. yt-live-chat-text-message-renderer[author-type="moderator"],
  21. yt-live-chat-text-message-renderer[author-type="moderator"][is-highlighted] {
  22. background-color: transparent !important;
  23. }
  24.  
  25. yt-live-chat-text-message-renderer[author-type="member"],
  26. yt-live-chat-text-message-renderer[author-type="member"][is-highlighted] {
  27. background-color: transparent !important;
  28. }
  29.  
  30.  
  31. yt-live-chat-author-chip #author-name {
  32. background-color: transparent !important;
  33. }
  34. /* Outlines */
  35. yt-live-chat-renderer * {
  36. text-shadow: -2px -2px #000000,-2px -1px #000000,-2px 0px #000000,-2px 1px #000000,-2px 2px #000000,-1px -2px #000000,-1px -1px #000000,-1px 0px #000000,-1px 1px #000000,-1px 2px #000000,0px -2px #000000,0px -1px #000000,0px 0px #000000,0px 1px #000000,0px 2px #000000,1px -2px #000000,1px -1px #000000,1px 0px #000000,1px 1px #000000,1px 2px #000000,2px -2px #000000,2px -1px #000000,2px 0px #000000,2px 1px #000000,2px 2px #000000;
  37. font-family: "Comfortaa";
  38. font-size: 18px !important;
  39. line-height: 18px !important;
  40. }
  41.  
  42. yt-live-chat-text-message-renderer #content,
  43. yt-live-chat-legacy-paid-message-renderer #content {
  44. overflow: initial; !important
  45. }
  46.  
  47. /* Hide scrollbar. */
  48. yt-live-chat-item-list-renderer #items{
  49. overflow: hidden !important;
  50. }
  51.  
  52. yt-live-chat-item-list-renderer #item-scroller{
  53. overflow: hidden !important;
  54. }
  55.  
  56. /* Hide header and input. */
  57. yt-live-chat-header-renderer,
  58. yt-live-chat-message-input-renderer {
  59. display: none !important;
  60. }
  61.  
  62. /* Reduce side padding. */
  63. yt-live-chat-text-message-renderer,
  64. yt-live-chat-legacy-paid-message-renderer {
  65. padding-left: 4px !important;
  66. padding-right: 4px !important;
  67. }
  68.  
  69. yt-live-chat-paid-message-renderer #header {
  70. padding-left: 4px !important;
  71. padding-right: 4px !important;
  72. }
  73.  
  74. /* Avatars. */
  75. yt-live-chat-text-message-renderer #author-photo,
  76. yt-live-chat-paid-message-renderer #author-photo,
  77. yt-live-chat-legacy-paid-message-renderer #author-photo {
  78.  
  79. width: 25px !important;
  80. height: 25px !important;
  81. border-radius: 25px !important;
  82. margin-right: 6.25px !important;
  83. }
  84.  
  85. /* Hide badges. */
  86. yt-live-chat-text-message-renderer #author-badges {
  87. display: none !important;
  88. vertical-align: text-top !important;
  89. }
  90.  
  91. /* Timestamps. */
  92. yt-live-chat-text-message-renderer #timestamp {
  93.  
  94. color: #999999 !important;
  95. font-family: "Comfortaa";
  96. font-size: 16px !important;
  97. line-height: 16px !important;
  98. }
  99.  
  100. /* Badges. */
  101. yt-live-chat-text-message-renderer #author-name[type="owner"],
  102. yt-live-chat-text-message-renderer #author-name.owner,
  103. yt-live-chat-text-message-renderer yt-live-chat-author-badge-renderer[type="owner"] {
  104. color: #ff0000 !important;
  105. }
  106.  
  107. yt-live-chat-text-message-renderer #author-name[type="moderator"],
  108. yt-live-chat-text-message-renderer #author-name.moderator,
  109. yt-live-chat-text-message-renderer yt-live-chat-author-badge-renderer[type="moderator"] {
  110. color: #ff8000 !important;
  111. }
  112.  
  113. yt-live-chat-text-message-renderer #author-name[type="member"],
  114. yt-live-chat-text-message-renderer #author-name.member,
  115. yt-live-chat-text-message-renderer yt-live-chat-author-badge-renderer[type="member"] {
  116. color: #ffff00 !important;
  117. }
  118.  
  119. /* Channel names. */
  120. yt-live-chat-text-message-renderer #author-name {
  121. color: #cccccc !important;
  122. font-family: "Comfortaa";
  123. font-size: 20px !important;
  124. line-height: 20px !important;
  125. }
  126.  
  127. yt-live-chat-text-message-renderer #author-name::after {
  128. content: ":";
  129. margin-left: 2px;
  130. }
  131.  
  132. /* Messages. */
  133. yt-live-chat-text-message-renderer #message,
  134. yt-live-chat-text-message-renderer #message * {
  135. color: #ffffff !important;
  136. font-family: "Comfortaa";
  137. font-size: 18px !important;
  138. line-height: 18px !important;
  139. }
  140.  
  141.  
  142. /* SuperChat/Fan Funding Messages. */
  143. yt-live-chat-paid-message-renderer #author-name,
  144. yt-live-chat-paid-message-renderer #author-name *,
  145. yt-live-chat-legacy-paid-message-renderer #event-text,
  146. yt-live-chat-legacy-paid-message-renderer #event-text * {
  147. color: #ffffff !important;
  148. font-family: "Comfortaa";
  149. font-size: 20px !important;
  150. line-height: 20px !important;
  151. }
  152.  
  153. yt-live-chat-paid-message-renderer #purchase-amount,
  154. yt-live-chat-paid-message-renderer #purchase-amount *,
  155. yt-live-chat-legacy-paid-message-renderer #detail-text,
  156. yt-live-chat-legacy-paid-message-renderer #detail-text * {
  157. color: #ffffff !important;
  158. font-family: "Comfortaa";
  159. font-size: 18px !important;
  160. line-height: 18px !important;
  161. }
  162.  
  163. yt-live-chat-paid-message-renderer #content,
  164. yt-live-chat-paid-message-renderer #content * {
  165. color: #ffffff !important;
  166. font-family: "Comfortaa";
  167. font-size: 18px !important;
  168. line-height: 18px !important;
  169. }
  170.  
  171. yt-live-chat-paid-message-renderer {
  172. margin: 4px 0 !important;
  173. }
  174.  
  175. yt-live-chat-legacy-paid-message-renderer {
  176. background-color: #ffff00 !important;
  177. margin: 4px 0 !important;
  178. }
  179.  
  180. yt-live-chat-text-message-renderer a,
  181. yt-live-chat-legacy-paid-message-renderer a {
  182. text-decoration: none !important;
  183. }
  184.  
  185. yt-live-chat-text-message-renderer[is-deleted],
  186. yt-live-chat-legacy-paid-message-renderer[is-deleted] {
  187. display: none !important;
  188. }
  189.  
  190. yt-live-chat-ticker-renderer {
  191. background-color: transparent !important;
  192. box-shadow: none !important;
  193. }
  194. yt-live-chat-ticker-renderer {
  195. display: none !important;
  196. }
  197.  
  198.  
  199. yt-live-chat-ticker-paid-message-item-renderer,
  200. yt-live-chat-ticker-paid-message-item-renderer *,
  201. yt-live-chat-ticker-sponsor-item-renderer,
  202. yt-live-chat-ticker-sponsor-item-renderer * {
  203. color: #ffffff !important;
  204. font-family: "Comfortaa";
  205. }
  206.  
  207. yt-live-chat-mode-change-message-renderer,
  208. yt-live-chat-viewer-engagement-message-renderer,
  209. yt-live-chat-restricted-participation-renderer {
  210. display: none !important;
  211. }
  212.  
  213.  
Advertisement
Add Comment
Please, Sign In to add comment