You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 line
1.1KB

  1. .chat {
  2. z-index: 999;
  3. background-color: rgba(255, 255, 255, 0.95);
  4. position: fixed;
  5. height: 140px;
  6. width: 320px;
  7. right: 0;
  8. top: 0;
  9. }
  10. .not-chat {
  11. z-index: 999;
  12. background-color: rgba(0, 0, 0, 0.8);
  13. position: fixed;
  14. height: 100vh;
  15. width: 100vw;
  16. right: 0;
  17. top: 0;
  18. }
  19. .chat .actions {
  20. display: grid;
  21. grid-template-columns: 1fr auto;
  22. }
  23. #textbox {
  24. resize: none;
  25. }
  26. .posts {
  27. overflow-y: scroll;
  28. height: 100%;
  29. }
  30. .post > * {
  31. display: inline;
  32. padding-right: 3px;
  33. }
  34. .post .ts {
  35. font-family: monospace;
  36. color: gray;
  37. }
  38. .post .source {
  39. font-weight: bold;
  40. }
  41. .post .text p {
  42. margin: 0;
  43. }
  44. .post .text p:first-child {
  45. display: inline;
  46. }
  47. .badge {
  48. display: inline-flex;
  49. justify-content: center;
  50. align-items: center;
  51. color: white;
  52. background-color: silver;
  53. border: none;
  54. border-radius: 5px;
  55. font-family: verdana;
  56. font-size: xx-small;
  57. font-weight: bold;
  58. min-width: 15px;
  59. padding: 0 3px;
  60. margin: 3px 3px;
  61. line-height: 1.5;
  62. }
  63. .badge.on {
  64. background-color: crimson;
  65. }