reset.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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 dotted;
  56. border-bottom: 0;
  57. cursor: help;
  58. }
  59. address {
  60. margin-bottom: 1em;
  61. font-style: normal;
  62. line-height: inherit;
  63. }
  64. input[type='text'],
  65. input[type='password'],
  66. input[type='number'],
  67. textarea {
  68. -webkit-appearance: none;
  69. }
  70. ol,
  71. ul,
  72. dl {
  73. margin-top: 0;
  74. margin-bottom: 1em;
  75. }
  76. ol ol,
  77. ul ul,
  78. ol ul,
  79. ul ol {
  80. margin-bottom: 0;
  81. }
  82. dt {
  83. font-weight: 500;
  84. }
  85. dd {
  86. margin-bottom: 0.5em;
  87. margin-left: 0;
  88. }
  89. blockquote {
  90. margin: 0 0 1em;
  91. }
  92. dfn {
  93. font-style: italic;
  94. }
  95. b,
  96. strong {
  97. font-weight: bolder;
  98. }
  99. small {
  100. font-size: 80%;
  101. }
  102. sub,
  103. sup {
  104. position: relative;
  105. font-size: 75%;
  106. line-height: 0;
  107. vertical-align: baseline;
  108. }
  109. sub {
  110. bottom: -0.25em;
  111. }
  112. sup {
  113. top: -0.5em;
  114. }
  115. pre,
  116. code,
  117. kbd,
  118. samp {
  119. font-size: 1em;
  120. font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  121. }
  122. pre {
  123. margin-top: 0;
  124. margin-bottom: 1em;
  125. overflow: auto;
  126. }
  127. figure {
  128. margin: 0 0 1em;
  129. }
  130. img {
  131. vertical-align: middle;
  132. border-style: none;
  133. }
  134. a,
  135. area,
  136. button,
  137. [role='button'],
  138. input:not([type='range']),
  139. label,
  140. select,
  141. summary,
  142. textarea {
  143. touch-action: manipulation;
  144. }
  145. table {
  146. border-collapse: collapse;
  147. }
  148. caption {
  149. padding-top: 0.75em;
  150. padding-bottom: 0.3em;
  151. text-align: left;
  152. caption-side: bottom;
  153. }
  154. input,
  155. button,
  156. select,
  157. optgroup,
  158. textarea {
  159. margin: 0;
  160. color: inherit;
  161. font-size: inherit;
  162. font-family: inherit;
  163. line-height: inherit;
  164. }
  165. button,
  166. input {
  167. overflow: visible;
  168. }
  169. button,
  170. select {
  171. text-transform: none;
  172. }
  173. button,
  174. html [type='button'],
  175. [type='reset'],
  176. [type='submit'] {
  177. -webkit-appearance: button;
  178. }
  179. button::-moz-focus-inner,
  180. [type='button']::-moz-focus-inner,
  181. [type='reset']::-moz-focus-inner,
  182. [type='submit']::-moz-focus-inner {
  183. padding: 0;
  184. border-style: none;
  185. }
  186. input[type='radio'],
  187. input[type='checkbox'] {
  188. box-sizing: border-box;
  189. padding: 0;
  190. }
  191. input[type='date'],
  192. input[type='time'],
  193. input[type='datetime-local'],
  194. input[type='month'] {
  195. -webkit-appearance: listbox;
  196. }
  197. textarea {
  198. overflow: auto;
  199. resize: vertical;
  200. }
  201. fieldset {
  202. min-width: 0;
  203. margin: 0;
  204. padding: 0;
  205. border: 0;
  206. }
  207. legend {
  208. display: block;
  209. width: 100%;
  210. max-width: 100%;
  211. margin-bottom: 0.5em;
  212. padding: 0;
  213. color: inherit;
  214. font-size: 1.5em;
  215. line-height: inherit;
  216. white-space: normal;
  217. }
  218. progress {
  219. vertical-align: baseline;
  220. }
  221. [type='number']::-webkit-inner-spin-button,
  222. [type='number']::-webkit-outer-spin-button {
  223. height: auto;
  224. }
  225. [type='search'] {
  226. outline-offset: -2px;
  227. -webkit-appearance: none;
  228. }
  229. [type='search']::-webkit-search-cancel-button,
  230. [type='search']::-webkit-search-decoration {
  231. -webkit-appearance: none;
  232. }
  233. ::-webkit-file-upload-button {
  234. font: inherit;
  235. -webkit-appearance: button;
  236. }
  237. output {
  238. display: inline-block;
  239. }
  240. summary {
  241. display: list-item;
  242. }
  243. template {
  244. display: none;
  245. }
  246. [hidden] {
  247. display: none !important;
  248. }
  249. mark {
  250. padding: 0.2em;
  251. background-color: #feffe6;
  252. }