_comments.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. #isso-thread {
  2. margin-top: 3em;
  3. font-size: 0.95rem;
  4. overflow-wrap: break-word;
  5. > h4 {
  6. color: var(--c-txt);
  7. }
  8. }
  9. #isso-root {
  10. display: flex;
  11. flex-direction: column-reverse;
  12. }
  13. // Comment Post Box
  14. //
  15. .isso-postbox {
  16. padding: .5em;
  17. background-color: var(--c-bg-alt);
  18. label {
  19. font-size: .9em;
  20. }
  21. }
  22. .isso-textarea {
  23. min-height: 6em;
  24. padding: .1em .3em;
  25. background-color: var(--c-bg);
  26. }
  27. .isso-preview {
  28. border: 1px dashed var(--c-txt-alt);
  29. padding: .1em .3em;
  30. .isso-text-wrapper {
  31. margin: 0;
  32. }
  33. }
  34. .isso-auth-section {
  35. margin-top: .2rem;
  36. }
  37. .isso-input-wrapper {
  38. display: inline-block;
  39. position: relative;
  40. max-width: 25%;
  41. margin: 0;
  42. > label {
  43. display: inline-block;
  44. font-size: .85em;
  45. line-height: normal;
  46. }
  47. > input {
  48. width: 100%;
  49. border-color: var(--c-bg-alt);
  50. letter-spacing: normal;
  51. }
  52. }
  53. .isso-post-action {
  54. float: right;
  55. margin: 1.7em 0 0 .2em;
  56. }
  57. .isso-notification-section input[type=checkbox] {
  58. margin-right: .4em;
  59. vertical-align: middle;
  60. }
  61. .isso-preview,
  62. .isso-form-wrapper input[name="edit"],
  63. .isso-preview-mode .isso-post-action > input[name="preview"],
  64. .isso-preview-mode .isso-textarea {
  65. display: none;
  66. }
  67. .isso-preview-mode .isso-preview {
  68. display: block;
  69. }
  70. .isso-preview-mode .isso-post-action > input[name="edit"] {
  71. display: inline-block;
  72. }
  73. // Comments list
  74. //
  75. .isso-comment {
  76. border-top: 1px solid var(--c-bg-alt);
  77. clear: both;
  78. }
  79. .isso-follow-up {
  80. padding-left: calc(7% + 1em);
  81. }
  82. .isso-avatar {
  83. float: left;
  84. margin-top: 1.2em;
  85. > img {
  86. max-width: 2.5em;
  87. height: auto;
  88. border-radius: 50%;
  89. }
  90. }
  91. .isso-text-wrapper {
  92. margin: 1em 0 1em 3.5em;
  93. display: flex;
  94. flex-direction: column;
  95. }
  96. .isso-comment-header {
  97. font-size: .9em;
  98. line-height: normal;
  99. .isso-spacer {
  100. margin: 0 .5em;
  101. color: var(--c-bg-alt);
  102. }
  103. .isso-permalink {
  104. color: var(--c-txt-alt);
  105. font-size: .9em;
  106. border: none;
  107. }
  108. }
  109. .isso-comment-footer {
  110. text-align: right;
  111. font-size: .95em;
  112. > a {
  113. border: none;
  114. }
  115. }
  116. .isso-text {
  117. text-align: initial;
  118. a {
  119. border-color: var(--c-txt-alt);
  120. &:hover {
  121. border-color: $accent;
  122. }
  123. }
  124. p {
  125. margin: .8em 0;
  126. }
  127. }
  128. @media screen and (max-width:650px) {
  129. .isso-input-wrapper {
  130. display: block;
  131. max-width: 100%;
  132. margin-bottom: .3em;
  133. }
  134. .isso-post-action {
  135. margin-top: 1em;
  136. }
  137. }