Skip to content

Instantly share code, notes, and snippets.

@paulvonlecter
Created April 7, 2022 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulvonlecter/e414529d69405526ff4d7329d53f375e to your computer and use it in GitHub Desktop.
Save paulvonlecter/e414529d69405526ff4d7329d53f375e to your computer and use it in GitHub Desktop.
Простое оформление чата RuTube для встраивания в трансляцию
/* Made by Paul von Lecter */
/* https://paulvonlecter.name/ */
body {
background:transparent!important;
text-shadow:0 0 1em #000;
overflow-y: hidden;
}
div {
background-color: transparent!important;
}
div[class*="bull-chat-module__messages"] {
padding: 0;
display: flex;
flex-direction:column-reverse;
justify-content:flex-end;
}
div[class*="bull-chat-module__messages"] > div {
background:rgba(0,0,0,0.3)!important;
padding:.5em;
margin: 0 0 1em;
}
div[class*="bull-chat-module__messages"] > div:last-child {
display:none;
}
div[class*="bull-chat-module__controls"] {
display:none!important;
}
div[class*="bull-message-module"] {
font-size:1em;
line-height: 1.5em;
font-weight:bold;
color:white!important;
}
img[class*="bull-message-module__image"] {
box-shadow: 0 0 1em #000;
}
span[class*="bull-message-module__authorName"] {
display:block;
color: #ddd!important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment