normalize.css 2.3 KB

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