_comments.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. .comment-content a {
  2. word-wrap: break-word;
  3. }
  4. .bypostauthor {
  5. display: block;
  6. }
  7. .comment-list {
  8. list-style: none;
  9. margin: 0 0 3.2em;
  10. padding: 0;
  11. .children {
  12. list-style: none;
  13. }
  14. }
  15. .comment-body {
  16. @include clearfix;
  17. border-top: 1px solid $color__border-button;
  18. margin-top: 1.6em;
  19. padding-top: 1.6em;
  20. width: 100%;
  21. }
  22. .comments-title,
  23. .comment-reply-title {
  24. @include font-size(1.625);
  25. a,
  26. a:visited {
  27. float: right;
  28. }
  29. }
  30. .comment-author {
  31. .fn {
  32. color: $color__text-screen;
  33. display: inline-block;
  34. margin-bottom: .4em;
  35. @include font-size(1);
  36. font-family: $font__main;
  37. font-weight: bold;
  38. font-style: italic;
  39. text-transform: none;
  40. letter-spacing: 0;
  41. a,
  42. a:visited {
  43. color: $color__text-screen;
  44. }
  45. }
  46. .avatar {
  47. float: left;
  48. margin-right: 1.6em;
  49. }
  50. }
  51. .comment-meta a {
  52. text-decoration: none;
  53. }
  54. .comment-metadata {
  55. color: $color__link;
  56. @include font-size(.825);
  57. font-family: $font__headings;
  58. font-weight: bold;
  59. margin-bottom: 2.4em;
  60. text-transform: uppercase;
  61. letter-spacing: 1px;
  62. a,
  63. a:visited {
  64. display: inline-block;
  65. text-decoration: none;
  66. }
  67. .edit-link:before {
  68. content: "\2666";
  69. margin-left: .4em;
  70. margin-right: .8em;
  71. }
  72. a:first-of-type {
  73. display: inline-block;
  74. margin-bottom: .8em;
  75. }
  76. }
  77. .pingback,
  78. .trackback {
  79. .edit-link {
  80. float: right;
  81. }
  82. }
  83. .no-comments {
  84. color: $color__link-hover;
  85. font-style: italic;
  86. display: block;
  87. text-align: center;
  88. width: 100%;
  89. }
  90. .says {
  91. display: none;
  92. }
  93. .comment-content {
  94. clear: both;
  95. }
  96. .comment-respond {
  97. border-top: 1px solid $color__border-button;
  98. margin: 0 0 3.2em;
  99. padding-top: 1.6em;
  100. }
  101. .comment-form label {
  102. display: inline-block;
  103. width: 109px;
  104. }
  105. .comment-form-author,
  106. .comment-form-email,
  107. .comment-form-url,
  108. .comment-form-comment {
  109. margin: 0 0 1.6em;
  110. position: relative;
  111. label {
  112. @include font-size(.875);
  113. font-family: $font__headings;
  114. font-weight: bold;
  115. letter-spacing: 1px;
  116. padding: .65em .8em;
  117. position: absolute;
  118. left: 0;
  119. top: 2px;
  120. text-transform: uppercase;
  121. }
  122. input,
  123. textarea {
  124. clear: both;
  125. padding-left: 6.4em;
  126. width: 100%;
  127. }
  128. textarea {
  129. padding: 2em .8em .375em;
  130. }
  131. }
  132. /*--------------------------------------------------------------
  133. 17.10 Guestbook Template
  134. --------------------------------------------------------------*/
  135. .page-template-guestbook {
  136. .hentry {
  137. margin-bottom: 1.6em;
  138. }
  139. .comments-area {
  140. border: 0;
  141. padding: 0;
  142. }
  143. .comment-list {
  144. list-style: none;
  145. margin: 0;
  146. padding: 0;
  147. .children {
  148. padding: 0;
  149. margin: 0;
  150. }
  151. }
  152. .comments-title {
  153. display: none;
  154. }
  155. .reply {
  156. display: none;
  157. }
  158. .comments-area .comment {
  159. float: left;
  160. padding-bottom: 1.6em;
  161. width: 100%;
  162. }
  163. .comments-area .comment:nth-of-type(2n) {
  164. margin-right: 0;
  165. }
  166. .content-area {
  167. float: none;
  168. width: 100%;
  169. }
  170. .content-area .hentry,
  171. .comment-respond {
  172. margin-left: auto;
  173. margin-right: auto;
  174. }
  175. .comment-author .avatar {
  176. float: left;
  177. margin-right: .8em;
  178. }
  179. .comment-edit-link:before {
  180. color: $color__border-button;
  181. content: "\2666";
  182. margin-left: .4em;
  183. margin-right: .8em;
  184. display: inline-block;
  185. }
  186. }