normalize-mod.css.clean 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. *{
  2. padding: 0;
  3. margin: 0;
  4. border: 0;
  5. }
  6. *,*:before,*:after{
  7. -moz-box-sizing: border-box;
  8. -webkit-box-sizing: border-box;
  9. box-sizing: border-box;
  10. }
  11. :focus,:active{outline: none;}
  12. a:focus,a:active{outline: none;}
  13. nav,footer,header,aside{display: block;}
  14. html,body{
  15. height: 100%;
  16. width: 100%;
  17. font-size: 100%;
  18. line-height: 1;
  19. font-size: 14px;
  20. -ms-text-size-adjust: 100%;
  21. -moz-text-size-adjust: 100%;
  22. -webkit-text-size-adjust: 100%;
  23. }
  24. input,button,textarea{font-family:inherit;}
  25. input::-ms-clear{display: none;}
  26. button{cursor: pointer;}
  27. button::-moz-focus-inner {padding:0;border:0;}
  28. a, a:visited{text-decoration: none;background-color: transparent;}
  29. a:hover{text-decoration: none;}
  30. ul li{list-style: none;}
  31. img{vertical-align: top;}
  32. h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: 400;}
  33. html {
  34. line-height: 1.15; /* 1 */
  35. -webkit-text-size-adjust: 100%; /* 2 */
  36. }
  37. main {
  38. display: block;
  39. }
  40. hr {
  41. box-sizing: content-box; /* 1 */
  42. height: 0; /* 1 */
  43. overflow: visible; /* 2 */
  44. }
  45. pre {
  46. font-family: monospace, monospace; /* 1 */
  47. font-size: 1em; /* 2 */
  48. }
  49. abbr[title] {
  50. border-bottom: none; /* 1 */
  51. text-decoration: underline; /* 2 */
  52. text-decoration: underline dotted; /* 2 */
  53. }
  54. b,
  55. strong {
  56. font-weight: bolder;
  57. }
  58. code,
  59. kbd,
  60. samp {
  61. font-family: monospace, monospace; /* 1 */
  62. font-size: 1em; /* 2 */
  63. }
  64. small {
  65. font-size: 80%;
  66. }
  67. sub,
  68. sup {
  69. font-size: 75%;
  70. line-height: 0;
  71. position: relative;
  72. vertical-align: baseline;
  73. }
  74. sub {
  75. bottom: -0.25em;
  76. }
  77. sup {
  78. top: -0.5em;
  79. }
  80. img {
  81. border-style: none;
  82. }
  83. button,
  84. input,
  85. optgroup,
  86. select,
  87. textarea {
  88. font-family: inherit; /* 1 */
  89. font-size: 100%; /* 1 */
  90. line-height: 1.15; /* 1 */
  91. margin: 0; /* 2 */
  92. }
  93. button,
  94. input { /* 1 */
  95. overflow: visible;
  96. }
  97. button,
  98. select { /* 1 */
  99. text-transform: none;
  100. }
  101. button,
  102. [type="button"],
  103. [type="reset"],
  104. [type="submit"] {
  105. -webkit-appearance: button;
  106. }
  107. button::-moz-focus-inner,
  108. [type="button"]::-moz-focus-inner,
  109. [type="reset"]::-moz-focus-inner,
  110. [type="submit"]::-moz-focus-inner {
  111. border-style: none;
  112. padding: 0;
  113. }
  114. button:-moz-focusring,
  115. [type="button"]:-moz-focusring,
  116. [type="reset"]:-moz-focusring,
  117. [type="submit"]:-moz-focusring {
  118. outline: 1px dotted ButtonText;
  119. }
  120. fieldset {
  121. padding: 0.35em 0.75em 0.625em;
  122. }
  123. legend {
  124. box-sizing: border-box; /* 1 */
  125. color: inherit; /* 2 */
  126. display: table; /* 1 */
  127. max-width: 100%; /* 1 */
  128. padding: 0; /* 3 */
  129. white-space: normal; /* 1 */
  130. }
  131. progress {
  132. vertical-align: baseline;
  133. }
  134. textarea {
  135. overflow: auto;
  136. }
  137. [type="checkbox"],
  138. [type="radio"] {
  139. box-sizing: border-box; /* 1 */
  140. padding: 0; /* 2 */
  141. }
  142. [type="number"]::-webkit-inner-spin-button,
  143. [type="number"]::-webkit-outer-spin-button {
  144. height: auto;
  145. }
  146. [type="search"] {
  147. -webkit-appearance: textfield; /* 1 */
  148. outline-offset: -2px; /* 2 */
  149. }
  150. [type="search"]::-webkit-search-decoration {
  151. -webkit-appearance: none;
  152. }
  153. ::-webkit-file-upload-button {
  154. -webkit-appearance: button; /* 1 */
  155. font: inherit; /* 2 */
  156. }
  157. details {
  158. display: block;
  159. }
  160. summary {
  161. display: list-item;
  162. }
  163. template {
  164. display: none;
  165. }
  166. [hidden] {
  167. display: none;
  168. }