app.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. @import "assets/styles/weui.wxss";
  2. @import "assets/styles/font-awesome.wxss";
  3. @import "assets/libs/zanui/index.wxss";
  4. page {
  5. background-color: #f8f8f8;
  6. font-size: 14px;
  7. font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
  8. }
  9. .page__hd {
  10. padding: 40px;
  11. }
  12. .page__bd {
  13. padding-bottom: 40px;
  14. }
  15. .page__bd_spacing {
  16. padding-left: 15px;
  17. padding-right: 15px;
  18. }
  19. .page__ft {
  20. padding-bottom: 10px;
  21. text-align: center;
  22. }
  23. .page__title {
  24. text-align: left;
  25. font-size: 20px;
  26. font-weight: 400;
  27. }
  28. .page__desc {
  29. margin-top: 5px;
  30. color: #888;
  31. text-align: left;
  32. font-size: 14px;
  33. }
  34. .page__title {
  35. display: block;
  36. text-align: center;
  37. font-size: 20px;
  38. font-weight: 400;
  39. }
  40. .page__desc {
  41. display: block;
  42. margin-top: 5px;
  43. color: #888;
  44. text-align: center;
  45. font-size: 14px;
  46. }
  47. .p10 {
  48. padding: 10px;
  49. }
  50. .p15 {
  51. padding: 15px;
  52. }
  53. .m10 {
  54. margin: 10px;
  55. }
  56. .m15 {
  57. margin: 15px;
  58. }
  59. .share {
  60. position: absolute;
  61. top: 20px;
  62. right: 20px;
  63. width: 24px;
  64. height: 24px;
  65. border: none;
  66. background: #fff;
  67. z-index: 99;
  68. padding: 0;
  69. border-radius: 50%;
  70. line-height: 24px;
  71. font-size: 14px;
  72. opacity: 0.6;
  73. color: #444;
  74. }
  75. .archives-list .zan-card {
  76. border-bottom: 1px solid #eee;
  77. padding: 15px 15px;
  78. }
  79. .archives-list .zan-card__thumb {
  80. width: 100px;
  81. height: 70px;
  82. }
  83. .archives-list .zan-card__thumb .image {
  84. border-radius: 3px;
  85. display: block;
  86. height: 100%;
  87. width: 100%;
  88. background-repeat: no-repeat;
  89. background-size: cover;
  90. background-position: center center;
  91. }
  92. .archives-list .zan-card__detail {
  93. margin-left: 115px;
  94. }
  95. .archives-list .zan-card__left-col {
  96. margin-right: 0px;
  97. }
  98. .archives-list .author {
  99. font-size: 13px;
  100. }
  101. .archives-list .gallery-list .zan-card__title {
  102. margin-bottom: 10px;
  103. }
  104. .archives-list .gallery-list .zan-card__detail {
  105. margin-left: 0;
  106. margin-top: 10px;
  107. }
  108. .archives-list .gallery-list .zan-card__thumb {
  109. width: 100%;
  110. }
  111. .archives-list .gallery-list .zan-row {
  112. margin: 0 -7.5px;
  113. }
  114. .archives-list .gallery-list .zan-col {
  115. padding: 0 7.5px;
  116. }
  117. .tab {
  118. background: #de3639;
  119. position: fixed;
  120. top: 0;
  121. z-index: 99;
  122. }
  123. .tab+view {
  124. padding-top: 45px;
  125. }
  126. .tab .zan-tab__bd {
  127. background: #de3639;
  128. }
  129. .tab .zan-tab__title {
  130. color: #fff;
  131. }
  132. .tab .zan-tab__item--selected .zan-tab__title {
  133. color: #fff;
  134. border-bottom: 2px solid #fff;
  135. }
  136. .tab .zan-tab__bd--scroll .zan-tab__item {
  137. min-width: 70px;
  138. }
  139. .tab .zan-tab__bd--scroll .zan-tab__item {
  140. min-width: 50px;
  141. }
  142. .u-line-2 {
  143. -webkit-line-clamp: 2;
  144. }
  145. .u-line-3 {
  146. -webkit-line-clamp: 3;
  147. }
  148. .u-line-2, .u-line-3, .u-line-4, .u-line-5 {
  149. overflow: hidden;
  150. word-break: break-all;
  151. text-overflow: ellipsis;
  152. display: -webkit-box;
  153. -webkit-box-orient: vertical;
  154. }