reboot.css 4.3 KB

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