_reset.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // sass-lint:disable single-line-per-selector
  2. html, body, div, span, applet, object, iframe,
  3. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  4. a, abbr, acronym, address, big, cite, code,
  5. del, dfn, em, img, ins, kbd, q, s, samp,
  6. small, strike, strong, sub, sup, tt, var,
  7. b, u, i, center,
  8. dl, dt, dd, ol, ul, li,
  9. fieldset, form, label, legend,
  10. table, caption, tbody, tfoot, thead, tr, th, td,
  11. article, aside, canvas, details, embed,
  12. figure, figcaption, footer, header, hgroup,
  13. menu, nav, output, ruby, section, summary,
  14. time, mark, audio, video {
  15. margin: 0;
  16. border: 0;
  17. padding: 0;
  18. vertical-align: baseline;
  19. font: inherit;
  20. }
  21. // HTML5 display-role reset for older browsers
  22. article, aside, details, figcaption, figure,
  23. footer, header, hgroup, menu, nav, section {
  24. display: block;
  25. }
  26. // sass-lint:enable single-line-per-selector
  27. blockquote,
  28. q {
  29. content: none;
  30. quotes: none;
  31. &::before,
  32. &::after {
  33. content: none;
  34. }
  35. }
  36. table {
  37. border-collapse: collapse;
  38. border-spacing: 0;
  39. }
  40. html,
  41. body {
  42. height: 100%;
  43. line-height: 1;
  44. }
  45. body {
  46. z-index: 0;
  47. }