ChatOverlay.css 680 B

12345678910111213141516171819202122232425
  1. /*
  2. * CSS for displaying your Owncast v.0.1.0+ chat onscreen in OBS
  3. * to be used with [Your_Owncast_URL]/embed/chat/readonly. Modified by DeadTOm.
  4. * Original code by Hatnix.
  5. * https://codeberg.org/hatniX/Owncast-tweaks
  6. * @hatnix@social.tchncs.de
  7. */
  8. /* the actual animation - only the last 15% are the fade out effect */
  9. @keyframes fade {
  10. 0% { opacity: 0; }
  11. 5% { opacity: 1; }
  12. 85% { opacity: 1; }
  13. 100% { opacity: 0; }
  14. }
  15. /* remove background from main chat window */
  16. body, #chat-container {
  17. background-color: transparent !important;
  18. }
  19. /* give each chatmessage a darkish background and assign the animation */
  20. #chat-container {
  21. animation: fade 60s !important;
  22. }