_comments.scss 963 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #comments {
  2. margin-top: 3em;
  3. overflow-wrap: break-word;
  4. text-align: initial;
  5. }
  6. .comment-counter {
  7. margin-left: .5em;
  8. }
  9. .comment-form {
  10. margin: 1em 0;
  11. border: 3px double var(--c-txt-alt);
  12. padding: .5em;
  13. > label {
  14. font-size: .9em;
  15. }
  16. > button[type=submit] {
  17. margin-top: 1em;
  18. margin-bottom: .2em;
  19. width: 100%;
  20. }
  21. }
  22. .comment-group {
  23. margin-top: 1em;
  24. article {
  25. display: flex;
  26. margin: 1em 0;
  27. padding: 1em 0;
  28. border-top: 1px solid var(--c-bg-alt);
  29. }
  30. }
  31. .comment-avatar {
  32. margin-right: 1em;
  33. > img {
  34. width: 50px;
  35. height: auto;
  36. border-radius: 50%;
  37. }
  38. }
  39. .comment-wrapper {
  40. position: relative;
  41. width: 100%;
  42. > header {
  43. font-size: .9em;
  44. .comment-date {
  45. color: var(--c-txt-alt);
  46. }
  47. }
  48. > main {
  49. margin: 1em 0;
  50. overflow-wrap: anywhere;
  51. }
  52. }
  53. .reply-btn {
  54. position: absolute;
  55. top: 0;
  56. right: 0;
  57. font-size: .8em;
  58. }
  59. .replies {
  60. margin-left: calc(7% + 1em);
  61. }