view.acss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. .red {
  2. background: red;
  3. }
  4. .stream {
  5. display: flex;
  6. flex-direction: column;
  7. padding: 10rpx;
  8. }
  9. .post + .post {
  10. margin-top: 10rpx;
  11. }
  12. .post {
  13. display: flex;
  14. }
  15. .postUser {
  16. flex: 0 1 auto;
  17. padding-bottom: 20rpx;
  18. }
  19. .postUser__name {
  20. width: 180rpx;
  21. color: #57727C;
  22. font-size: 24rpx;
  23. font-weight: 700;
  24. line-height: 1;
  25. text-align: center;
  26. margin-top: 60rpx;
  27. }
  28. .postBody {
  29. flex: 1 1 0%;
  30. position: relative;
  31. padding: 30rpx;
  32. border: 2rpx solid #CAD0D2;
  33. border-radius: 8rpx;
  34. }
  35. .postBody:after,
  36. .postBody:before {
  37. right: 100%;
  38. top: 70rpx;
  39. border: solid transparent;
  40. content: " ";
  41. height: 0;
  42. width: 0;
  43. position: absolute;
  44. pointer-events: none;
  45. }
  46. .postBody:after {
  47. border-color: transparent;
  48. border-right-color: #ffffff;
  49. border-width: 16rpx;
  50. margin-top: -16rpx;
  51. }
  52. .postBody:before {
  53. border-color: transparent;
  54. border-right-color: #CAD0D2;
  55. border-width: 18rpx;
  56. margin-top: -18rpx;
  57. }
  58. .postBody__content {
  59. color: #57727C;
  60. font-size: 24rpx;
  61. }
  62. .postBody__date {
  63. margin-top: 10rpx;
  64. color: #86969C;
  65. font-size: 20rpx;
  66. text-transform: uppercase;
  67. letter-spacing: 2rpx;
  68. }
  69. .red {
  70. color: red;
  71. }