_comments.scss 2.4 KB

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