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.

70 line
1.1KB

  1. body {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. .chat {
  6. display: grid;
  7. grid-template-areas:
  8. 'posts online'
  9. 'actions actions'
  10. ;
  11. grid-template-columns: 1fr auto;
  12. grid-template-rows: 140px auto;
  13. position: fixed;
  14. top: 0;
  15. --pad: 3px;
  16. padding: var(--pad);
  17. width: calc(100vw - 2 * var(--pad));
  18. }
  19. .ts {
  20. color: rgba(0, 0, 0, 0.4);
  21. font-family: monospace;
  22. }
  23. .source {
  24. font-weight: bold;
  25. }
  26. .online {
  27. grid-area: online;
  28. }
  29. .posts {
  30. grid-area: posts;
  31. overflow-y: scroll;
  32. }
  33. .post .text p {
  34. margin: 0;
  35. }
  36. .post .text p:first-child {
  37. display: inline;
  38. }
  39. .actions {
  40. grid-area: actions;
  41. display: grid;
  42. grid-template-columns: 1fr auto;
  43. }
  44. #textbox {
  45. resize: vertical;
  46. }
  47. .post > div {
  48. display: inline;
  49. padding-left: var(--pad);
  50. }
  51. .videos {
  52. overflow: hidden;
  53. resize: vertical;
  54. height: 150px;
  55. display: grid;
  56. grid-auto-flow: column;
  57. grid-template-rows: 1fr;
  58. }
  59. video {
  60. background-color: black;
  61. object-fit: cover;
  62. height: 100%;
  63. width: 100%;
  64. }
  65. video.mirrored {
  66. transform: scaleX(-1);
  67. }