reset.min.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. @charset "utf-8";
  2. body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, button, input, textarea, th, td {
  3. margin: 0;
  4. padding: 0
  5. }
  6. body {
  7. font-size: 12px;
  8. font-style: normal;
  9. font-family: "\5FAE\8F6F\96C5\9ED1", Helvetica, sans-serif,;
  10. }
  11. html {
  12. // overflow: scroll;
  13. overflow: auto;
  14. min-width: 1000px;
  15. }
  16. small {
  17. font-size: 12px
  18. }
  19. h1 {
  20. font-size: 18px
  21. }
  22. h2 {
  23. font-size: 16px
  24. }
  25. h3 {
  26. font-size: 14px
  27. }
  28. h4, h5, h6 {
  29. font-size: 100%
  30. }
  31. ul, ol {
  32. list-style: none
  33. }
  34. a {
  35. text-decoration: none;
  36. background-color: transparent
  37. }
  38. a:hover, a:active {
  39. outline-width: 0;
  40. text-decoration: none
  41. }
  42. table {
  43. border-collapse: collapse;
  44. border-spacing: 0
  45. }
  46. hr {
  47. border: 0;
  48. height: 1px
  49. }
  50. img {
  51. border-style: none
  52. }
  53. img:not([src]) {
  54. display: none
  55. }
  56. svg:not(:root) {
  57. overflow: hidden
  58. }
  59. html {
  60. -webkit-touch-callout: none;
  61. -webkit-text-size-adjust: 100%
  62. }
  63. input, textarea, button, a {
  64. -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
  65. }
  66. article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
  67. display: block
  68. }
  69. audio, canvas, progress, video {
  70. display: inline-block
  71. }
  72. audio:not([controls]), video:not([controls]) {
  73. display: none;
  74. height: 0
  75. }
  76. progress {
  77. vertical-align: baseline
  78. }
  79. mark {
  80. background-color: #ff0;
  81. color: #000
  82. }
  83. sub, sup {
  84. position: relative;
  85. font-size: 75%;
  86. line-height: 0;
  87. vertical-align: baseline
  88. }
  89. sub {
  90. bottom: -0.25em
  91. }
  92. sup {
  93. top: -0.5em
  94. }
  95. button, input, select, textarea {
  96. font-size: 100%;
  97. outline: 0
  98. }
  99. button, input {
  100. overflow: visible
  101. }
  102. button, select {
  103. text-transform: none
  104. }
  105. textarea {
  106. overflow: auto
  107. }
  108. button, html [type="button"], [type="reset"], [type="submit"] {
  109. -webkit-appearance: button
  110. }
  111. button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
  112. border-style: none;
  113. padding: 0
  114. }
  115. button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
  116. outline: 1px dotted ButtonText
  117. }
  118. [type="checkbox"], [type="radio"] {
  119. box-sizing: border-box;
  120. padding: 0
  121. }
  122. [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
  123. height: auto
  124. }
  125. [type="search"] {
  126. -webkit-appearance: textfield;
  127. outline-offset: -2px
  128. }
  129. [type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration {
  130. -webkit-appearance: none
  131. }
  132. ::-webkit-input-placeholder {
  133. color: inherit;
  134. opacity: .54
  135. }
  136. ::-webkit-file-upload-button {
  137. -webkit-appearance: button;
  138. font: inherit
  139. }
  140. .clear:after {
  141. display: block;
  142. height: 0;
  143. content: "";
  144. clear: both
  145. }