Comments.css 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. .comments { margin-bottom: 60px }
  2. .comment { background-color: white; padding: 25px 0px; margin: 1px; border-top: 1px solid #EEE }
  3. .comment .user_name { font-size: 14px; font-weight: bold }
  4. .comment .added { color: #AAA }
  5. .comment .reply { color: #CCC; opacity: 0; transition: opacity 0.3s; border: none; position: relative; }
  6. .comment:hover .reply { opacity: 1 }
  7. .comment .reply .icon { opacity: 0.3 }
  8. .comment .reply:hover { border-bottom: none; color: #666 }
  9. .comment .reply:hover .icon { opacity: 1 }
  10. .comment .info { font-size: 12px; color: #AAA; margin-bottom: 7px }
  11. .comment .info .score { margin-left: 5px }
  12. .comment .comment-body { line-height: 1.5em; margin-top: 0.5em; margin-bottom: 0.5em; word-wrap: break-word; }
  13. .comment .comment-body p { margin-bottom: 0px; margin-top: 0.5em; }
  14. .comment .comment-body p:first-child { margin: 0px; margin-top: 0px; }
  15. .comment .comment-body.editor { margin-top: 0.5em !important; margin-bottom: 0.5em !important }
  16. .comment .comment-body h1, .comment .body h2, .comment .body h3 { font-size: 110% }
  17. .comment .comment-body blockquote { padding: 1px 15px; border-left: 2px solid #E7E7E7; margin: 0px; margin-top: 30px }
  18. .comment .comment-body blockquote:first-child { margin-top: 0px }
  19. .comment .comment-body blockquote p { margin: 0px; color: #999; font-size: 90% }
  20. .comment .comment-body blockquote a { color: #333; font-weight: normal; border-bottom: 0px }
  21. .comment .comment-body blockquote a:hover { border-bottom: 1px solid #999 }
  22. .comment .editable-edit { margin-top: -5px }
  23. .comment-new { margin-bottom: 5px; border-top: 0px }
  24. .comment-new .button-submit {
  25. margin: 0px; font-weight: normal; padding: 5px 15px; display: inline-block;
  26. background-color: #FFF85F; border-bottom: 2px solid #CDBD1E; font-size: 15px; line-height: 30px
  27. }
  28. .comment-new h2 { margin-bottom: 25px }
  29. /* Input */
  30. .comment-new textarea {
  31. line-height: 1.5em; width: 100%; padding: 10px; font-family: 'Roboto', sans-serif; font-size: 16px;
  32. transition: border 0.3s; border: 2px solid #eee; box-sizing: border-box; overflow-y: auto
  33. }
  34. input.text:focus, textarea:focus { border-color: #5FC0EA; outline: none; background-color: white }
  35. .comment-nocert textarea { opacity: 0.5; pointer-events: none }
  36. .comment-nocert .info { opacity: 0.1; pointer-events: none }
  37. .comment-nocert .button-submit-comment { opacity: 0.1; pointer-events: none }
  38. .comment-nocert .button.button-certselect { display: inherit }
  39. .button.button-certselect {
  40. position: absolute; left: 50%; white-space: nowrap; transform: translateX(-50%); z-index: 99;
  41. margin-top: 13px; background-color: #007AFF; color: white; border-bottom-color: #3543F9; display: none
  42. }
  43. .button.button-certselect:hover { background-color: #3396FF; color: white; border-bottom-color: #5D68FF; }
  44. .button.button-certselect:active { position: absolute; transform: translateX(-50%) translateY(1px); top: auto; }
  45. .user-size { font-size: 11px; margin-top: 6px; box-sizing: border-box; text-transform: uppercase; display: inline-block; color: #AAA }
  46. .user-size-used { position: absolute; color: #B10DC9; overflow: hidden; width: 40px; white-space: nowrap }