base.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. html,
  2. body,
  3. div,
  4. span,
  5. applet,
  6. object,
  7. iframe,
  8. h1,
  9. h2,
  10. h3,
  11. h4,
  12. h5,
  13. h6,
  14. p,
  15. blockquote,
  16. pre,
  17. a,
  18. abbr,
  19. acronym,
  20. address,
  21. big,
  22. cite,
  23. code,
  24. del,
  25. dfn,
  26. em,
  27. img,
  28. ins,
  29. kbd,
  30. q,
  31. s,
  32. samp,
  33. small,
  34. strike,
  35. strong,
  36. sub,
  37. sup,
  38. tt,
  39. var,
  40. b,
  41. u,
  42. i,
  43. center,
  44. dl,
  45. dt,
  46. dd,
  47. ol,
  48. ul,
  49. li,
  50. fieldset,
  51. form,
  52. label,
  53. legend,
  54. table,
  55. caption,
  56. tbody,
  57. tfoot,
  58. thead,
  59. tr,
  60. th,
  61. td,
  62. article,
  63. aside,
  64. canvas,
  65. details,
  66. embed,
  67. figure,
  68. figcaption,
  69. footer,
  70. header,
  71. hgroup,
  72. menu,
  73. nav,
  74. output,
  75. ruby,
  76. section,
  77. summary,
  78. time,
  79. mark,
  80. audio,
  81. video {
  82. margin: 0;
  83. padding: 0;
  84. border: 0;
  85. font-size: 100%;
  86. vertical-align: baseline;
  87. box-sizing: border-box;
  88. }
  89. /* HTML5 display-role reset for older browsers */
  90. article,
  91. aside,
  92. details,
  93. figcaption,
  94. figure,
  95. footer,
  96. header,
  97. hgroup,
  98. menu,
  99. nav,
  100. section {
  101. display: block;
  102. }
  103. body {
  104. line-height: 1;
  105. font-family: Arial;
  106. }
  107. ol,
  108. ul {
  109. list-style: none;
  110. }
  111. table {
  112. border-collapse: collapse;
  113. border-spacing: 0;
  114. }
  115. a {
  116. color: var(--black-text-color);
  117. text-decoration: none;
  118. }
  119. a:hover {
  120. color: var(--van-primary-color);
  121. text-decoration: none;
  122. }
  123. /* element 输入框样式 */
  124. .el-input {
  125. height: 30px;
  126. }
  127. .el-input__inner {
  128. height: 30px;
  129. border-radius: 15px;
  130. line-height: 30px;
  131. }
  132. .el-input.is-active .el-input__inner,
  133. .el-input__inner:focus {
  134. border-color: #ca000a;
  135. }
  136. /* 轮播图样式 */
  137. .el-carousel--horizontal {
  138. height: 100%;
  139. }
  140. .el-carousel__container {
  141. height: 100%;
  142. }
  143. .el-carousel__arrow {
  144. display: none !important;
  145. }
  146. .el-carousel__button {
  147. height: 4px;
  148. background-color: #918784;
  149. opacity: 1;
  150. }
  151. .el-carousel__indicator.is-active button {
  152. background-color: #c7000b;
  153. }
  154. .el-carousel__indicators--horizontal {
  155. bottom: 80px;
  156. }
  157. .el-select .el-input.is-focus .el-input__inner {
  158. border-color: #c7000b;
  159. }
  160. .el-select .el-input__inner:focus {
  161. border-color: #c7000b;
  162. }
  163. .el-select-dropdown__item.selected {
  164. color: #c7000b;
  165. }
  166. .el-select-dropdown__item.hover,
  167. .el-select-dropdown__item:hover {
  168. background-color: #c7000b;
  169. color: #fff;
  170. }
  171. /* 置灰 */
  172. /* * {
  173. -webkit-filter: grayscale(100%);
  174. -moz-filter: grayscale(100%);
  175. -ms-filter: grayscale(100%);
  176. -o-filter: grayscale(100%);
  177. filter: grayscale(100%);
  178. filter: gray;
  179. } */
  180. .limit-line {
  181. display: -webkit-box;
  182. overflow: hidden;
  183. text-overflow: ellipsis;
  184. -webkit-line-clamp: 1;
  185. -webkit-box-orient: vertical;
  186. word-break: break-all;
  187. word-wrap: break-word;
  188. }
  189. .line-2 {
  190. -webkit-line-clamp: 2;
  191. }
  192. .line-4 {
  193. -webkit-line-clamp: 4;
  194. }
  195. .no-more {
  196. position: absolute;
  197. top: 50%;
  198. left: 50%;
  199. font-size: 18px;
  200. color: var(--gray-text-color);
  201. transform: translate(-50%, -50%);
  202. }
  203. .media-wrap {
  204. text-align: center;
  205. }
  206. .media-wrap > * {
  207. max-width: 100%;
  208. }