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.

pico.css 953B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. .video-container {
  52. float: left;
  53. }
  54. video {
  55. width: 120px;
  56. background-color: black;
  57. }
  58. video.mirrored {
  59. transform: scaleX(-1);
  60. }