_comments.scss 2.4 KB

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