reset.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. html {
  2. font: 62.5% PingFang SC, Helvetica Neue, Helvetica, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  3. -ms-text-size-adjust: 100%;
  4. -webkit-text-size-adjust: 100%;
  5. height: 100%;
  6. }
  7. body {
  8. height: 100%;
  9. }
  10. body,
  11. div,
  12. dl,
  13. dt,
  14. dd,
  15. ul,
  16. ol,
  17. li,
  18. h1,
  19. h2,
  20. h3,
  21. h4,
  22. h5,
  23. h6,
  24. input,
  25. button,
  26. textarea,
  27. p,
  28. blockquote,
  29. th,
  30. td,
  31. form,
  32. pre {
  33. margin: 0;
  34. padding: 0;
  35. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  36. }
  37. img {
  38. display: inline-block;
  39. border: none;
  40. vertical-align: middle;
  41. }
  42. a,
  43. button,
  44. input {
  45. -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
  46. }
  47. a {
  48. text-decoration: none;
  49. background: transparent;
  50. }
  51. a:active,
  52. a:hover {
  53. outline: 0;
  54. }
  55. table {
  56. border-collapse: collapse;
  57. border-spacing: 0;
  58. }
  59. li {
  60. list-style: none;
  61. }
  62. b,
  63. strong {
  64. font-weight: 700;
  65. }
  66. button,
  67. input,
  68. select,
  69. textarea {
  70. font-size: 100%;
  71. }
  72. input,
  73. button,
  74. textarea,
  75. select,
  76. optgroup,
  77. option {
  78. font-family: inherit;
  79. font-size: inherit;
  80. font-style: inherit;
  81. font-weight: inherit;
  82. outline: 0;
  83. }
  84. body {
  85. background-color: #edeef2;
  86. }
  87. h1,
  88. h2,
  89. h3,
  90. h4,
  91. h5,
  92. h6 {
  93. font-weight: 500;
  94. }
  95. address,
  96. cite,
  97. dfn,
  98. em,
  99. var {
  100. font-style: normal;
  101. }
  102. dfn {
  103. font-style: italic;
  104. }
  105. sub,
  106. sup {
  107. font-size: 75%;
  108. line-height: 0;
  109. position: relative;
  110. vertical-align: baseline;
  111. }
  112. button,
  113. input,
  114. optgroup,
  115. select,
  116. textarea {
  117. color: inherit;
  118. margin: 0;
  119. outline: 0;
  120. border: 0;
  121. }
  122. button,
  123. select {
  124. text-transform: none;
  125. }
  126. input {
  127. line-height: normal;
  128. }
  129. input[type=checkbox],
  130. input[type=radio] {
  131. box-sizing: border-box;
  132. padding: 0;
  133. }
  134. input[type=number]::-webkit-inner-spin-button,
  135. input[type=number]::-webkit-outer-spin-button {
  136. height: auto;
  137. }
  138. input[type=search] {
  139. -webkit-appearance: textfield;
  140. -moz-box-sizing: content-box;
  141. -webkit-box-sizing: content-box;
  142. box-sizing: content-box;
  143. }
  144. input[type=search]::-webkit-search-cancel-button,
  145. input[type=search]::-webkit-search-decoration {
  146. -webkit-appearance: none;
  147. }
  148. label,
  149. input {
  150. vertical-align: middle;
  151. }
  152. .cl:after {
  153. content: "";
  154. display: block;
  155. clear: both;
  156. }
  157. .cl:before {
  158. content: "";
  159. display: table;
  160. }
  161. i,
  162. em {
  163. font-style: normal;
  164. }
  165. .mb-10 {
  166. margin-bottom: 10px;
  167. }
  168. .mb_15 {
  169. margin-bottom: 15px;
  170. }
  171. .mr_15 {
  172. margin-right: 15px;
  173. }
  174. .mt_15 {
  175. margin-top: 15px;
  176. }
  177. .layui-btn-sm i {
  178. font-size: 12px !important;
  179. }
  180. a {
  181. color: #666;
  182. }
  183. a:hover {
  184. color: #0ec2f4;
  185. }