content.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. /* components/diy-content/content.wxss */
  2. .one_index .one_info {
  3. margin: 20rpx auto;
  4. box-shadow: rgba(126, 126, 126, 0.5) 0px 0px 12rpx 4rpx;
  5. }
  6. .one_index .one_info .one_image {
  7. width: 100%;
  8. }
  9. .one_index .one_info .one_name {
  10. margin: 15rpx;
  11. font-weight: 700;
  12. overflow: hidden;
  13. display: -webkit-box;
  14. -webkit-line-clamp: 2;
  15. -webkit-box-orient: vertical;
  16. }
  17. .one_index .one_info .tags {
  18. display: flex;
  19. font-size: 28rpx;
  20. margin: 15rpx;
  21. }
  22. .one_index .one_info .tags .tag {
  23. margin-right: 10rpx;
  24. }
  25. .one_index .one_info .one_down {
  26. display: flex;
  27. justify-content: space-between;
  28. font-size: 24rpx;
  29. color: #999999;
  30. margin: 0 20rpx;
  31. padding-bottom: 10rpx;
  32. }
  33. .one_index .one_info .one_down .reading {
  34. display: flex;
  35. }
  36. .one_index .one_info .one_down .reading .autor {
  37. margin-left: 10rpx;
  38. }
  39. .two_index {
  40. display: flex;
  41. flex-wrap: wrap;
  42. justify-content: space-between;
  43. }
  44. .two_index .two_info {
  45. box-shadow: rgba(126, 126, 126, 0.5) 0px 0px 12rpx 4rpx;
  46. }
  47. .two_index .two_info .two_image {
  48. width: 100%;
  49. background-size: 100%;
  50. }
  51. .two_index .two_info .two_name {
  52. margin: 10rpx;
  53. font-weight: 700;
  54. overflow: hidden;
  55. display: -webkit-box;
  56. -webkit-line-clamp: 2;
  57. -webkit-box-orient: vertical;
  58. }
  59. .two_index .two_info .tags {
  60. display: flex;
  61. font-size: 22rpx;
  62. margin: 15rpx;
  63. }
  64. .two_index .two_info .tags .tag {
  65. margin-right: 10rpx;
  66. }
  67. .two_index .two_info .two_down {
  68. display: flex;
  69. justify-content: space-between;
  70. font-size: 24rpx;
  71. color: #999999;
  72. margin: 0 15rpx;
  73. padding-bottom: 15rpx;
  74. }
  75. .two_index .two_info .two_down .reading {
  76. display: flex;
  77. }
  78. .two_index .two_info .two_down .reading .autor {
  79. margin-left: 10rpx;
  80. }
  81. .three_index {
  82. display: flex;
  83. }
  84. .three_index .three_info {
  85. box-shadow: rgba(126, 126, 126, 0.5) 0px 0px 12rpx 4rpx;
  86. flex: none;
  87. }
  88. .three_index .three_info .three_image {
  89. width: 100%;
  90. background-size: 100%;
  91. }
  92. .three_index .three_info .three_name {
  93. margin: 10rpx;
  94. font-weight: 700;
  95. display: -webkit-box;
  96. -webkit-box-orient: vertical;
  97. -webkit-line-clamp: 2;
  98. overflow: hidden;
  99. }
  100. .three_index .three_info .tags {
  101. display: flex;
  102. font-size: 22rpx;
  103. margin: 15rpx;
  104. }
  105. .three_index .three_info .tags .tag {
  106. margin-right: 10rpx;
  107. }
  108. .three_index .three_info .three_down {
  109. display: flex;
  110. justify-content: space-between;
  111. font-size: 24rpx;
  112. color: #999999;
  113. margin: 0 15rpx;
  114. padding-bottom: 10rpx;
  115. }
  116. .three_index .three_info .three_down .reading {
  117. display: flex;
  118. }
  119. .three_index .three_info .three_down .reading .autor {
  120. margin-left: 10rpx;
  121. }
  122. .five_index .five_info {
  123. display: flex;
  124. justify-content: space-between;
  125. box-shadow: rgba(126, 126, 126, 0.5) 0px 0px 12rpx 4rpx;
  126. height: 230rpx;
  127. }
  128. .five_index .five_info .left_info {
  129. width: 60%;
  130. }
  131. .five_index .five_info .left_info .name {
  132. min-height: 96rpx;
  133. font-weight: 700;
  134. overflow: hidden;
  135. display: -webkit-box;
  136. -webkit-line-clamp: 2;
  137. -webkit-box-orient: vertical;
  138. margin: 20rpx 15rpx;
  139. }
  140. .five_index .five_info .left_info .tags {
  141. display: flex;
  142. font-size: 22rpx;
  143. margin: 15rpx;
  144. }
  145. .five_index .five_info .left_info .tags .tag {
  146. margin-right: 10rpx;
  147. }
  148. .five_index .five_info .left_info .five_down {
  149. display: flex;
  150. justify-content: space-between;
  151. font-size: 24rpx;
  152. color: #999999;
  153. margin: 0 15rpx;
  154. }
  155. .five_index .five_info .left_info .five_down .reading {
  156. display: flex;
  157. align-items: center;
  158. }
  159. .five_index .five_info .left_info .five_down .reading .autor {
  160. margin-left: 20rpx;
  161. }
  162. .five_index .five_info .five_image {
  163. width: 39%;
  164. height: 100%;
  165. }