通用评论

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. .comment-item-box {
  2. margin: 10px 0 0 0;
  3. padding: 15px 5px 0 5px;
  4. border-top: 1px solid #eee;
  5. }
  6. .comment-item-left {
  7. display: inline-block;
  8. vertical-align: top;
  9. width: 40px;
  10. }
  11. .comment-item-right {
  12. display: inline-block;
  13. width: 90%;
  14. margin-left: 10px;
  15. margin-bottom: 20px;
  16. }
  17. .comment-item-content {
  18. margin: 10px 0;
  19. word-break: break-all;
  20. }
  21. .comment-item-bottom {
  22. margin: 20px auto;
  23. }
  24. .comment-item-bottom-left {
  25. float: left;
  26. user-select: none;
  27. }
  28. .comment-item-bottom-right {
  29. float: right;
  30. margin-left: 5px;
  31. cursor: pointer;
  32. }
  33. .comment-favor {
  34. font-size: 20px;
  35. }
  36. .comment-favored {
  37. color: #4a90e2;
  38. }
  39. .comment-item-image {
  40. width: 400px;
  41. max-width: 100%;
  42. }
  43. .comment-item-image .comment-item-image-wrapper {
  44. float: left;
  45. width: 25%;
  46. box-sizing: border-box;
  47. padding: 5px;
  48. }
  49. .comment-item-image .comment-item-image-wrapper .comment-img-thumbnail {
  50. background-position: center;
  51. background-size: cover;
  52. display: inline-block;
  53. width: 100%;
  54. height: 0;
  55. padding-bottom: 100%;
  56. border-radius: 5px;
  57. cursor: url("//links-comment.oss-cn-beijing.aliyuncs.com/comment/20180928/QPI84fxmD.undefined"),
  58. auto;
  59. }
  60. .comment-item-image .comment-item-image-wrapper .comment-img-divider {
  61. display: inline-block;
  62. width: 100%;
  63. height: 0;
  64. padding-bottom: 100%;
  65. border-radius: 5px;
  66. }
  67. .comment-item-image .comment-img {
  68. margin-right: 10px;
  69. }
  70. @media screen and (max-width: 616px) and (min-width: 449px) {
  71. .comment-item-right {
  72. display: inline-block;
  73. width: 85%;
  74. margin-left: 10px;
  75. }
  76. }
  77. @media screen and (max-width: 449px) and (min-width: 365px) {
  78. .comment-item-right {
  79. display: inline-block;
  80. width: 80%;
  81. margin-left: 10px;
  82. }
  83. }
  84. @media screen and (max-width: 365px) {
  85. .comment-item-right {
  86. display: inline-block;
  87. width: 75%;
  88. margin-left: 10px;
  89. }
  90. }