isso.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. #isso-thread * {
  2. -webkit-box-sizing: border-box;
  3. -moz-box-sizing: border-box;
  4. box-sizing: border-box;
  5. }
  6. #isso-thread .isso-comment-header a {
  7. text-decoration: none;
  8. }
  9. #isso-thread {
  10. padding: 0;
  11. margin: 0;
  12. }
  13. #isso-thread > h4 {
  14. color: #555;
  15. font-weight: bold;
  16. }
  17. #isso-thread > .isso-feedlink {
  18. float: right;
  19. padding-left: 1em;
  20. }
  21. #isso-thread > .isso-feedlink > a {
  22. font-size: 0.8em;
  23. vertical-align: bottom;
  24. }
  25. #isso-thread .isso-textarea {
  26. min-height: 58px;
  27. outline: 0;
  28. }
  29. #isso-thread .isso-textarea.isso-placeholder {
  30. color: #757575;
  31. }
  32. #isso-root .isso-comment {
  33. max-width: 68em;
  34. }
  35. #isso-root .isso-preview .isso-comment {
  36. padding-top: 0;
  37. margin: 0;
  38. }
  39. #isso-root .isso-comment:not(:first-of-type),
  40. .isso-follow-up .isso-comment {
  41. border-top: 1px solid rgba(0, 0, 0, 0.1);
  42. margin-bottom: 0.5em;
  43. }
  44. .isso-comment > .isso-avatar {
  45. display: block;
  46. float: left;
  47. margin: 0.95em 0.95em 0;
  48. }
  49. .isso-comment > .isso-avatar > svg {
  50. max-width: 48px;
  51. max-height: 48px;
  52. border: 1px solid rgba(0, 0, 0, 0.2);
  53. border-radius: 3px;
  54. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  55. }
  56. .isso-comment > .isso-text-wrapper {
  57. display: block;
  58. padding: 0.95em;
  59. }
  60. .isso-comment .isso-follow-up {
  61. padding-left: calc(7% + 20px);
  62. }
  63. .isso-comment > .isso-text-wrapper > .isso-comment-header, .isso-comment > .isso-text-wrapper > .isso-comment-footer {
  64. font-size: 0.95em;
  65. }
  66. .isso-comment > .isso-text-wrapper > .isso-comment-header {
  67. font-size: 0.85em;
  68. }
  69. .isso-comment > .isso-text-wrapper > .isso-comment-header .isso-spacer {
  70. padding: 0 6px;
  71. }
  72. .isso-comment > .isso-text-wrapper > .isso-comment-header .isso-spacer,
  73. .isso-comment > .isso-text-wrapper > .isso-comment-header a.isso-permalink,
  74. .isso-comment > .isso-text-wrapper > .isso-comment-header .isso-note,
  75. .isso-comment > .isso-text-wrapper > .isso-comment-header a.isso-parent {
  76. color: gray !important;
  77. font-weight: normal;
  78. text-shadow: none !important;
  79. }
  80. .isso-comment > .isso-text-wrapper > .isso-comment-header .isso-spacer:hover,
  81. .isso-comment > .isso-text-wrapper > .isso-comment-header a.isso-permalink:hover,
  82. .isso-comment > .isso-text-wrapper > .isso-comment-header .isso-note:hover,
  83. .isso-comment > .isso-text-wrapper > .isso-comment-header a.isso-parent:hover {
  84. color: #606060 !important;
  85. }
  86. .isso-comment > .isso-text-wrapper > .isso-comment-header .isso-note {
  87. float: right;
  88. }
  89. .isso-comment > .isso-text-wrapper > .isso-comment-header .isso-author {
  90. font-weight: bold;
  91. color: #555;
  92. }
  93. .isso-comment > .isso-text-wrapper > .isso-comment-header .isso-page-author-suffix {
  94. font-weight: bold;
  95. color: #2c2c2c;
  96. }
  97. .isso-comment > .isso-text-wrapper > .isso-textarea-wrapper .isso-textarea,
  98. .isso-comment > .isso-text-wrapper > .isso-textarea-wrapper .isso-preview {
  99. margin-top: 0.2em;
  100. }
  101. .isso-comment > .isso-text-wrapper > .isso-text p {
  102. margin-top: 0.2em;
  103. }
  104. .isso-comment > .isso-text-wrapper > .isso-text p:last-child {
  105. margin-bottom: 0.2em;
  106. }
  107. .isso-comment > .isso-text-wrapper > .isso-text h1,
  108. .isso-comment > .isso-text-wrapper > .isso-text h2,
  109. .isso-comment > .isso-text-wrapper > .isso-text h3,
  110. .isso-comment > .isso-text-wrapper > .isso-text h4,
  111. .isso-comment > .isso-text-wrapper > .isso-text h5,
  112. .isso-comment > .isso-text-wrapper > .isso-text h6 {
  113. font-size: 130%;
  114. font-weight: bold;
  115. }
  116. .isso-comment > .isso-text-wrapper > .isso-textarea-wrapper .isso-textarea,
  117. .isso-comment > .isso-text-wrapper > .isso-textarea-wrapper .isso-preview {
  118. width: 100%;
  119. border: 1px solid #f0f0f0;
  120. border-radius: 2px;
  121. box-shadow: 0 0 2px #888;
  122. }
  123. .isso-comment > .isso-text-wrapper > .isso-comment-footer {
  124. font-size: 0.80em;
  125. color: gray !important;
  126. clear: left;
  127. }
  128. .isso-feedlink,
  129. .isso-comment > .isso-text-wrapper > .isso-comment-footer a {
  130. font-weight: bold;
  131. text-decoration: none;
  132. }
  133. .isso-feedlink:hover,
  134. .isso-comment > .isso-text-wrapper > .isso-comment-footer a:hover {
  135. color: #111111 !important;
  136. text-shadow: #aaaaaa 0 0 1px !important;
  137. }
  138. .isso-comment > .isso-text-wrapper > .isso-comment-footer > a {
  139. position: relative;
  140. top: .2em;
  141. }
  142. .isso-comment > .isso-text-wrapper > .isso-comment-footer > a + a {
  143. padding-left: 1em;
  144. }
  145. .isso-comment > .isso-text-wrapper > .isso-comment-footer .isso-votes {
  146. color: gray;
  147. }
  148. .isso-comment > .isso-text-wrapper > .isso-comment-footer .isso-upvote svg,
  149. .isso-comment > .isso-text-wrapper > .isso-comment-footer .isso-downvote svg {
  150. position: relative;
  151. top: .2em;
  152. }
  153. .isso-comment .isso-postbox {
  154. margin-top: 0.8em;
  155. }
  156. .isso-comment.isso-no-votes > * > .isso-comment-footer span.isso-votes {
  157. display: none;
  158. }
  159. .isso-postbox {
  160. max-width: 68em;
  161. margin: 0 auto 2em;
  162. clear: right;
  163. }
  164. .isso-postbox > .isso-form-wrapper {
  165. display: block;
  166. padding: 0;
  167. }
  168. .isso-postbox > .isso-form-wrapper > .isso-auth-section,
  169. .isso-postbox > .isso-form-wrapper > .isso-auth-section .isso-post-action {
  170. display: block;
  171. }
  172. .isso-postbox > .isso-form-wrapper .isso-textarea,
  173. .isso-postbox > .isso-form-wrapper .isso-preview {
  174. margin: 0 0 .3em;
  175. padding: .4em .8em;
  176. border-radius: 3px;
  177. background-color: #fff;
  178. border: 1px solid rgba(0, 0, 0, 0.2);
  179. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  180. }
  181. .isso-postbox > .isso-form-wrapper input[type=checkbox] {
  182. vertical-align: middle;
  183. position: relative;
  184. bottom: 1px;
  185. margin-left: 0;
  186. }
  187. .isso-postbox > .isso-form-wrapper .isso-notification-section {
  188. font-size: 0.90em;
  189. padding-top: .3em;
  190. }
  191. #isso-thread .isso-textarea:focus,
  192. #isso-thread input:focus {
  193. border-color: rgba(0, 0, 0, 0.8);
  194. }
  195. .isso-postbox > .isso-form-wrapper > .isso-auth-section .isso-input-wrapper {
  196. display: inline-block;
  197. position: relative;
  198. max-width: 25%;
  199. margin: 0;
  200. }
  201. .isso-postbox > .isso-form-wrapper > .isso-auth-section .isso-input-wrapper input {
  202. padding: .3em 10px;
  203. max-width: 100%;
  204. border-radius: 3px;
  205. background-color: #fff;
  206. line-height: 1.4em;
  207. border: 1px solid rgba(0, 0, 0, 0.2);
  208. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  209. }
  210. .isso-postbox > .isso-form-wrapper > .isso-auth-section .isso-input-wrapper label {
  211. display: inline-block;
  212. line-height: 1.4em;
  213. height: 1.4em;
  214. }
  215. .isso-postbox > .isso-form-wrapper > .isso-auth-section .isso-post-action {
  216. display: block;
  217. float: right;
  218. margin: 1.4em 0 0 5px;
  219. }
  220. .isso-postbox > .isso-form-wrapper > .isso-auth-section .isso-post-action > input {
  221. padding: calc(.3em - 1px);
  222. border-radius: 2px;
  223. border: 1px solid #CCC;
  224. background-color: #DDD;
  225. cursor: pointer;
  226. outline: 0;
  227. line-height: 1.4em;
  228. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  229. }
  230. .isso-postbox > .isso-form-wrapper > .isso-auth-section .isso-post-action > input:hover {
  231. background-color: #CCC;
  232. }
  233. .isso-postbox > .isso-form-wrapper > .isso-auth-section .isso-post-action > input:active {
  234. background-color: #BBB;
  235. }
  236. .isso-postbox > .isso-form-wrapper .isso-preview,
  237. .isso-postbox > .isso-form-wrapper input[name="edit"],
  238. .isso-postbox.isso-preview-mode > .isso-form-wrapper input[name="preview"],
  239. .isso-postbox.isso-preview-mode > .isso-form-wrapper .isso-textarea {
  240. display: none;
  241. }
  242. .isso-postbox.isso-preview-mode > .isso-form-wrapper .isso-preview {
  243. display: block;
  244. }
  245. .isso-postbox.isso-preview-mode > .isso-form-wrapper input[name="edit"] {
  246. display: inline;
  247. }
  248. .isso-postbox > .isso-form-wrapper .isso-preview {
  249. background-color: #f8f8f8;
  250. background: repeating-linear-gradient(
  251. -45deg,
  252. #f8f8f8,
  253. #f8f8f8 10px,
  254. #fff 10px,
  255. #fff 20px
  256. );
  257. }
  258. .isso-postbox > .isso-form-wrapper > .isso-notification-section {
  259. display: none;
  260. padding-bottom: 10px;
  261. }
  262. @media screen and (max-width:600px) {
  263. .isso-postbox > .isso-form-wrapper > .isso-auth-section .isso-input-wrapper {
  264. display: block;
  265. max-width: 100%;
  266. margin: 0 0 .3em;
  267. }
  268. .isso-postbox > .isso-form-wrapper > .isso-auth-section .isso-input-wrapper input {
  269. width: 100%;
  270. }
  271. .isso-postbox > .isso-form-wrapper > .isso-auth-section .isso-post-action {
  272. margin-top: 0;
  273. }
  274. }