Hopeisnotlost

Clean Twitch Chat Custom Left Alignment CSS StreamLabs

Apr 10th, 2019 (edited)
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. @import url(https://fonts.googleapis.com/css?family=Roboto:700);
  2.  
  3. * {
  4. box-sizing: border-box;
  5. }
  6.  
  7. html, body {
  8. height: 100%;
  9. overflow: hidden;
  10. }
  11.  
  12. body {
  13. text-shadow: 0 0 1px #000, 0 0 2px #000;
  14. background: {background_color};
  15. font-family: 'Roboto';
  16. font-weight: 700;
  17. font-size: {font_size};
  18. line-height: 1.5em;
  19. color: {text_color};
  20. }
  21.  
  22. #log>div {
  23. animation: fadeOut 0.5s ease {message_hide_delay} forwards;
  24. -webkit-animation: fadeOut 0.5s ease {message_hide_delay} forwards;
  25. }
  26.  
  27. .colon {
  28. display: none;
  29. }
  30.  
  31. #log {
  32. display: table;
  33. position: absolute;
  34. bottom: 0;
  35. left: 0;
  36. padding: 0 10px 10px;
  37. width: 100%;
  38. table-layout: fixed;
  39. }
  40.  
  41. #log>div.deleted {
  42. visibility: hidden;
  43. }
  44.  
  45. #log .emote {
  46. background-repeat: no-repeat;
  47. background-position: center;
  48. background-size: contain;
  49. padding: 0.4em 0.2em;
  50. position: relative;
  51. }
  52.  
  53. #log .emote img {
  54. display: inline-block;
  55. height: 1em;
  56. opacity: 0;
  57. }
  58.  
  59. #log .message,#log .meta {
  60. vertical-align: top;
  61. padding-bottom: 0.1em;
  62. }
  63.  
  64. #log .meta {
  65. width: 35%;
  66. padding-right: 0.05em;
  67. white-space: nowrap;
  68. text-overflow: ellipsis;
  69. overflow: hidden;
  70. }
  71.  
  72. #log .message {
  73. word-wrap: break-word;
  74. width: 65%;
  75. }
  76.  
  77. .badge {
  78. display: inline-block;
  79. margin-right: 0.1em;
  80. position: relative;
  81. height: 1em;
  82. vertical-align: middle;
  83. top: -0.1em;
  84. }
  85.  
  86. .name {
  87. margin-left: 0.2em;
  88. }
Add Comment
Please, Sign In to add comment