Guest User

Untitled

a guest
Dec 19th, 2018
11,076
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 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: fadeInBottom 0.4s ease forwards, fadeOut 0.5s ease {message_hide_delay} forwards;
  24. -webkit-animation: fadeInBottom 0.4s ease forwards, fadeOut 0.5s ease {message_hide_delay} forwards;
  25. }
  26.  
  27. @keyframes fadeInBottom {
  28. 0% {
  29. opacity: 0;
  30. transform: translateY(55px);
  31. }
  32. 100% {
  33. opacity: 1;
  34. transform: translateY(0);
  35. }
  36. }
  37.  
  38. .colon {
  39. display: none;
  40. }
  41.  
  42. #log {
  43. display: table;
  44. position: absolute;
  45. bottom: 0;
  46. left: 0;
  47. padding: 0 10px 10px;
  48. table-layout: fixed;
  49. width: 100%;
  50. }
  51.  
  52. #log>div {
  53. display: block;
  54. background-color: rgba(0, 0, 0, 0.3);
  55. border-radius: 20px;
  56. padding: 3px;
  57. padding-left: 15px;
  58. padding-right: 15px;
  59. margin-top: 5px;
  60. width: fit-content;
  61. }
  62.  
  63. #log>div.deleted {
  64. visibility: hidden;
  65. }
  66.  
  67. #log .emote {
  68. background-repeat: no-repeat;
  69. background-position: center;
  70. background-size: contain;
  71. padding: 0.4em 0.2em;
  72. position: relative;
  73. }
  74.  
  75. #log .emote img {
  76. display: inline-block;
  77. height: 1em;
  78. opacity: 0;
  79. }
  80.  
  81. #log .message,#log .meta {
  82. vertical-align: top;
  83. display: table-cell;
  84. padding-bottom: 0.1em;
  85. }
  86.  
  87. #log .meta {
  88. text-align: right;
  89. padding-right: 0.5em;
  90. white-space: nowrap;
  91. text-overflow: ellipsis;
  92. overflow: hidden;
  93. }
  94.  
  95. #log .message {
  96. word-wrap: break-word;
  97. }
  98.  
  99. .badge {
  100. display: inline-block;
  101. margin-right: 0.2em;
  102. position: relative;
  103. height: 1em;
  104. vertical-align: middle;
  105. top: -0.1em;
  106. opacity: 1;
  107. }
  108.  
  109. .name {
  110. margin-left: 0.2em;
  111. }
Add Comment
Please, Sign In to add comment