_mastodon.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .mastodon-wrapper {
  2. display: flex;
  3. gap: 3rem;
  4. flex-direction: row;
  5. }
  6. .comment-level {
  7. max-width: 3rem;
  8. min-width: 3rem;
  9. }
  10. .reply-original {
  11. display: none;
  12. }
  13. .mastodon-comment {
  14. background-color: var(--body-background);
  15. border-radius: var(--card-border-radius);
  16. padding: var(--card-padding);
  17. margin-bottom: 1rem;
  18. display: flex;
  19. gap: 1rem;
  20. flex-direction: column;
  21. flex-grow: 2;
  22. .comment {
  23. display: flex;
  24. flex-direction: row;
  25. gap: 1rem;
  26. flex-wrap: true;
  27. }
  28. .comment-avatar img {
  29. width: 6rem;
  30. }
  31. .content {
  32. flex-grow: 2;
  33. }
  34. .comment-author {
  35. display: flex;
  36. flex-direction: column;
  37. &-name {
  38. font-weight: bold;
  39. a {
  40. display: flex;
  41. align-items: center;
  42. }
  43. }
  44. &-date {
  45. margin-left: auto;
  46. }
  47. }
  48. .disabled {
  49. color: var(--accent-color)
  50. }
  51. }
  52. .mastodon-comment-content p:first-child {
  53. margin-top: 0;
  54. }
  55. .mastodon {
  56. --dlg-bg: #282c37;
  57. --dlg-w: 600px;
  58. --dlg-color: #9baec8;
  59. --dlg-button-p: 0.75em 2em;
  60. --dlg-outline-c: #00D9F5;
  61. }