reset.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. /* stylelint-disable */
  2. html,
  3. body {
  4. width: 100%;
  5. height: 100%;
  6. }
  7. input::-ms-clear,
  8. input::-ms-reveal {
  9. display: none;
  10. }
  11. *,
  12. *::before,
  13. *::after {
  14. box-sizing: border-box;
  15. }
  16. html {
  17. font-family: sans-serif;
  18. line-height: 1.15;
  19. -webkit-text-size-adjust: 100%;
  20. -ms-text-size-adjust: 100%;
  21. -ms-overflow-style: scrollbar;
  22. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  23. }
  24. @-ms-viewport {
  25. width: device-width;
  26. }
  27. body {
  28. margin: 0;
  29. }
  30. [tabindex='-1']:focus {
  31. outline: none;
  32. }
  33. hr {
  34. box-sizing: content-box;
  35. height: 0;
  36. overflow: visible;
  37. }
  38. h1,
  39. h2,
  40. h3,
  41. h4,
  42. h5,
  43. h6 {
  44. margin-top: 0;
  45. margin-bottom: 0.5em;
  46. font-weight: 500;
  47. }
  48. p {
  49. margin-top: 0;
  50. margin-bottom: 1em;
  51. }
  52. abbr[title],
  53. abbr[data-original-title] {
  54. -webkit-text-decoration: underline dotted;
  55. text-decoration: underline;
  56. text-decoration: underline dotted;
  57. border-bottom: 0;
  58. cursor: help;
  59. }
  60. address {
  61. margin-bottom: 1em;
  62. font-style: normal;
  63. line-height: inherit;
  64. }
  65. input[type='text'],
  66. input[type='password'],
  67. input[type='number'],
  68. textarea {
  69. -webkit-appearance: none;
  70. }
  71. ol,
  72. ul,
  73. dl {
  74. margin-top: 0;
  75. margin-bottom: 1em;
  76. }
  77. ol ol,
  78. ul ul,
  79. ol ul,
  80. ul ol {
  81. margin-bottom: 0;
  82. }
  83. dt {
  84. font-weight: 500;
  85. }
  86. dd {
  87. margin-bottom: 0.5em;
  88. margin-left: 0;
  89. }
  90. blockquote {
  91. margin: 0 0 1em;
  92. }
  93. dfn {
  94. font-style: italic;
  95. }
  96. b,
  97. strong {
  98. font-weight: bolder;
  99. }
  100. small {
  101. font-size: 80%;
  102. }
  103. sub,
  104. sup {
  105. position: relative;
  106. font-size: 75%;
  107. line-height: 0;
  108. vertical-align: baseline;
  109. }
  110. sub {
  111. bottom: -0.25em;
  112. }
  113. sup {
  114. top: -0.5em;
  115. }
  116. pre,
  117. code,
  118. kbd,
  119. samp {
  120. font-size: 1em;
  121. font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  122. }
  123. pre {
  124. margin-top: 0;
  125. margin-bottom: 1em;
  126. overflow: auto;
  127. }
  128. figure {
  129. margin: 0 0 1em;
  130. }
  131. img {
  132. vertical-align: middle;
  133. border-style: none;
  134. }
  135. a,
  136. area,
  137. button,
  138. [role='button'],
  139. input:not([type='range']),
  140. label,
  141. select,
  142. summary,
  143. textarea {
  144. touch-action: manipulation;
  145. }
  146. table {
  147. border-collapse: collapse;
  148. }
  149. caption {
  150. padding-top: 0.75em;
  151. padding-bottom: 0.3em;
  152. text-align: left;
  153. caption-side: bottom;
  154. }
  155. input,
  156. button,
  157. select,
  158. optgroup,
  159. textarea {
  160. margin: 0;
  161. color: inherit;
  162. font-size: inherit;
  163. font-family: inherit;
  164. line-height: inherit;
  165. }
  166. button,
  167. input {
  168. overflow: visible;
  169. }
  170. button,
  171. select {
  172. text-transform: none;
  173. }
  174. button,
  175. html [type='button'],
  176. [type='reset'],
  177. [type='submit'] {
  178. -webkit-appearance: button;
  179. }
  180. button::-moz-focus-inner,
  181. [type='button']::-moz-focus-inner,
  182. [type='reset']::-moz-focus-inner,
  183. [type='submit']::-moz-focus-inner {
  184. padding: 0;
  185. border-style: none;
  186. }
  187. input[type='radio'],
  188. input[type='checkbox'] {
  189. box-sizing: border-box;
  190. padding: 0;
  191. }
  192. input[type='date'],
  193. input[type='time'],
  194. input[type='datetime-local'],
  195. input[type='month'] {
  196. -webkit-appearance: listbox;
  197. }
  198. textarea {
  199. overflow: auto;
  200. resize: vertical;
  201. }
  202. fieldset {
  203. min-width: 0;
  204. margin: 0;
  205. padding: 0;
  206. border: 0;
  207. }
  208. legend {
  209. display: block;
  210. width: 100%;
  211. max-width: 100%;
  212. margin-bottom: 0.5em;
  213. padding: 0;
  214. color: inherit;
  215. font-size: 1.5em;
  216. line-height: inherit;
  217. white-space: normal;
  218. }
  219. progress {
  220. vertical-align: baseline;
  221. }
  222. [type='number']::-webkit-inner-spin-button,
  223. [type='number']::-webkit-outer-spin-button {
  224. height: auto;
  225. }
  226. [type='search'] {
  227. outline-offset: -2px;
  228. -webkit-appearance: none;
  229. }
  230. [type='search']::-webkit-search-cancel-button,
  231. [type='search']::-webkit-search-decoration {
  232. -webkit-appearance: none;
  233. }
  234. ::-webkit-file-upload-button {
  235. font: inherit;
  236. -webkit-appearance: button;
  237. }
  238. output {
  239. display: inline-block;
  240. }
  241. summary {
  242. display: list-item;
  243. }
  244. template {
  245. display: none;
  246. }
  247. [hidden] {
  248. display: none !important;
  249. }
  250. mark {
  251. padding: 0.2em;
  252. background-color: #feffe6;
  253. }