_comments.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. .comment-content a {
  2. word-wrap: break-word;
  3. }
  4. .bypostauthor {
  5. display: block;
  6. }
  7. .comments-area {
  8. background-color: $color__background-pre;
  9. padding: 1.6em;
  10. margin: 0 0 1.6em;
  11. }
  12. .comments-title,
  13. .comment-reply-title {
  14. line-height: 1.2;
  15. margin: 0 0 .4em;
  16. @include font-size(1.25);
  17. }
  18. .comment-content a {
  19. word-wrap: break-word;
  20. }
  21. .bypostauthor {
  22. display: block;
  23. }
  24. .comment-list {
  25. list-style: none;
  26. margin: 0 0 3.2em;
  27. padding: 0;
  28. .children {
  29. list-style: none;
  30. }
  31. .edit-link {
  32. display: inline;
  33. text-align: left;
  34. width: auto;
  35. }
  36. }
  37. .comment-body {
  38. @include clearfix;
  39. margin-top: 1.6em;
  40. padding-top: 1.6em;
  41. width: 100%;
  42. }
  43. .comment-author {
  44. .fn {
  45. display: inline-block;
  46. margin-bottom: .4em;
  47. font-weight: bold;
  48. text-transform: none;
  49. letter-spacing: 0;
  50. @include font-size(1);
  51. a,
  52. a:visited {
  53. }
  54. }
  55. .avatar {
  56. float: left;
  57. margin-right: 1.6em;
  58. }
  59. }
  60. .comment-meta a {
  61. text-decoration: none;
  62. }
  63. .comment-metadata {
  64. color: $color__text-input;
  65. @include font-size(.825);
  66. margin-bottom: 1.6em;
  67. text-transform: lowercase;
  68. a,
  69. a:visited {
  70. color: $color__text-input;
  71. display: inline-block;
  72. font-weight: normal;
  73. text-decoration: none;
  74. &:hover,
  75. &:focus {
  76. text-decoration: underline;
  77. }
  78. }
  79. .edit-link {
  80. float: none;
  81. }
  82. .edit-link:before {
  83. content: "|";
  84. margin-left: .4em;
  85. margin-right: .8em;
  86. }
  87. a:first-of-type {
  88. display: inline-block;
  89. margin-bottom: .8em;
  90. }
  91. }
  92. .pingback,
  93. .trackback {
  94. .edit-link {
  95. float: right;
  96. }
  97. }
  98. .no-comments {
  99. font-style: italic;
  100. display: block;
  101. text-align: center;
  102. width: 100%;
  103. }
  104. .says {
  105. display: none;
  106. }
  107. .comment-content {
  108. clear: both;
  109. }
  110. .comment-form label {
  111. display: inline-block;
  112. width: 109px;
  113. }
  114. .comment-form-author,
  115. .comment-form-email,
  116. .comment-form-url,
  117. .comment-form-comment {
  118. margin: 0 0 1.6em;
  119. position: relative;
  120. label {
  121. @include font-size(.875);
  122. font-weight: bold;
  123. padding: .65em .8em;
  124. position: absolute;
  125. left: 0;
  126. top: 2px;
  127. text-transform: uppercase;
  128. }
  129. input,
  130. textarea {
  131. clear: both;
  132. padding-left: 6.4em;
  133. width: 100%;
  134. }
  135. textarea {
  136. padding: 2em .8em .375em;
  137. }
  138. }