Advertisement
firoze

comments form style css

Jun 19th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. .comment-section-title{
  2. padding:10px 20px;
  3. margin-top:20px}
  4. .comment-list{
  5. color:#000;
  6. margin-top:20px;
  7. list-style:none}
  8. .comment-list .children{
  9. margin:0;
  10. list-style:none}
  11. .comment-list .depth-1{
  12. padding:15px;
  13. margin-bottom:20px;
  14. border:1px solid #bfdeec}
  15. .comment-list h1,.comment-list h2,.comment-list h3,.comment-list h4,.comment-list h5,.comment-list h6{
  16. margin-bottom:20px;
  17. margin-bottom:1.25rem}
  18. .comment-meta{
  19. line-height:2.5;
  20. margin-bottom:20px;
  21. margin-bottom:1.25rem;
  22. background:#fff}
  23. .comment-meta,.comment-meta a{
  24. color:#2a2a2a}
  25. .comment-meta-date{
  26. font-size:10px;
  27. font-size:.625rem;
  28. text-transform:uppercase}
  29. .comment-meta-links{
  30. font-weight:700;
  31. text-align:right;
  32. text-transform:uppercase}
  33. .comment-meta-links .comment-edit-link{
  34. margin-left:10px}
  35. .bypostauthor .fn:after{
  36. font-family:'FontAwesome';
  37. font-weight:400;
  38. color:#1e8cbe;
  39. content:'\f006';
  40. margin-left:5px}
  41. .comment-author .fn{
  42. font-size:16px;
  43. font-size:1rem;
  44. font-weight:700;
  45. margin-right:5px}
  46. .comment-gravatar{
  47. display:inline-block}
  48. .comment-gravatar .avatar{
  49. width:40px;
  50. height:40px;
  51. padding:2px;
  52. margin:0 15px 0 0;
  53. border:1px solid #f5f5f5;
  54. background:#fff;
  55. vertical-align:middle}
  56. .comment-content p,.comment-content blockquote{
  57. margin-bottom:20px;
  58. margin-bottom:1.25rem}
  59. .comment-content blockquote p:last-child{
  60. margin:0}
  61. .comment-info{
  62. color:#1e8cbe;
  63. margin:20px 0}
  64. .comments-pagination{
  65. margin-bottom:20px}
  66. .ping-list{
  67. padding:0 15px;
  68. margin-top:20px;
  69. border:1px solid #bfdeec}
  70. .ping-list .ping-item{
  71. padding:15px 0;
  72. border-top:1px dotted #bfdeec}
  73. .ping-list .ping-item:first-child{
  74. border-top:none}
  75. .ping-list .ping-item .fa{
  76. margin-right:15px}
  77. .no-comments{
  78. margin-top:20px}
  79. #respond{
  80. color:#000;
  81. padding:20px;
  82. margin-top:20px;
  83. border:1px solid #bfdeec}
  84. #respond a{
  85. color:#000}
  86. #respond a:hover{
  87. color:#1e8cbe}
  88. #respond .comment-reply-title{
  89. margin-bottom:20px;
  90. margin-bottom:1.25rem}
  91. #respond #cancel-comment-reply-link{
  92. font-size:12px;
  93. font-size:.75rem;
  94. color:#fff;
  95. padding:5px 10px;
  96. background:#1e8cbe}
  97. #respond #cancel-comment-reply-link:hover{
  98. background:#2a2a2a}
  99. #commentform textarea{
  100. font-size:14px;
  101. font-size:.875rem}
  102. #commentform p{
  103. margin-bottom:10px;
  104. margin-bottom:.625rem}
  105. #commentform .form-submit{
  106. margin:20px 0 0;
  107. margin:1.25rem 0 0}
  108. .required{
  109. color:#1e8cbe}
  110. input{
  111. font-size:14px;
  112. font-size:.875rem;
  113. color:#666;
  114. padding:5px;
  115. border:1px solid #bfdeec;
  116. background:#e8f3f8;
  117. -webkit-transition:all 0.25s ease-in-out;
  118. -moz-transition:all 0.25s ease-in-out;
  119. transition:all 0.25s ease-in-out}
  120. input[type=text],input[type=email],input[type=tel],input[type=url]{
  121. width:60%}
  122. input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,textarea:focus{
  123. color:#1e8cbe}
  124. input[type=text]:hover,input[type=email]:hover,input[type=tel]:hover,input[type=url]:hover,textarea:hover{
  125. border:1px solid #1e8cbe}
  126. input[type=submit]{
  127. display:inline-block;
  128. min-width:100px;
  129. font-size:12px;
  130. font-weight:700;
  131. color:#fff;
  132. padding:10px 15px;
  133. background:#1e8cbe;
  134. cursor:pointer;
  135. text-transform:uppercase;
  136. border:0;
  137. -webkit-appearance:none}
  138. input[type=submit]:hover{
  139. background:#555}
  140. textarea{
  141. width:96%;
  142. line-height:1.5;
  143. padding:5px;
  144. border:1px solid #bfdeec;
  145. background:#e8f3f8}
  146.  
  147. @media screen and (max-width:620px){
  148. input[type=text],input[type=email],input[type=tel],input[type=url]{
  149. width:88%}
  150. .comment-list ul,.entry-content ol,.comment-list ol{
  151. margin:0 0 20px 20px;
  152. margin:0 0 1.25rem 1.25rem}
  153. .comment-list ul ul,.entry-content ol ol,.comment-list ol ol{
  154. margin:0 0 0 20px;
  155. margin:0 0 0 1.25rem}
  156. .comment-gravatar .avatar{
  157. width:60px;
  158. height:60px;
  159. margin:0 auto 10px}
  160. .comment-meta{
  161. line-height:1.3;
  162. text-align:center}
  163. .comment-author .fn{
  164. display:block;
  165. clear:both}
  166. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement