reset.styl 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // Based on [Eric Meyer's reset](http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/)
  2. global-reset()
  3. html, body, div, span, applet, object, iframe,
  4. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  5. a, abbr, acronym, address, big, cite, code,
  6. del, dfn, em, img, ins, kbd, q, s, samp,
  7. small, strike, strong, sub, sup, tt, var,
  8. dl, dt, dd, ol, ul, li,
  9. fieldset, form, label, legend,
  10. table, caption, tbody, tfoot, thead, tr, th, td
  11. reset-box-model()
  12. reset-font()
  13. body
  14. reset-body()
  15. ol, ul
  16. list-style: none
  17. table
  18. reset-table()
  19. caption, th, td
  20. reset-table-cell()
  21. a img
  22. border: none
  23. nested-reset()
  24. div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
  25. pre, a, abbr, acronym, address, code, del, dfn, em, img,
  26. dl, dt, dd, ol, ul, li, fieldset, form, label,
  27. legend, caption, tbody, tfoot, thead, tr
  28. reset-box-model()
  29. reset-font()
  30. table
  31. reset-table()
  32. caption, th, td
  33. reset-table-cell()
  34. a img
  35. border: none
  36. reset-box-model()
  37. margin: 0
  38. padding: 0
  39. border: 0
  40. outline: 0
  41. reset-font()
  42. font-weight: inherit
  43. font-style: inherit
  44. font-family: inherit
  45. font-size: 100%
  46. vertical-align: baseline
  47. reset-body()
  48. line-height: 1
  49. color: black
  50. background: white
  51. reset-table()
  52. border-collapse: separate
  53. border-spacing: 0
  54. vertical-align: middle
  55. reset-table-cell()
  56. text-align: left
  57. font-weight: normal
  58. vertical-align: middle
  59. reset-html5()
  60. article, aside, canvas, details, figcaption,
  61. figure, footer, header, hgroup, menu, nav,
  62. section, summary, main
  63. reset-box-model()
  64. display: block
  65. audio, canvas, video
  66. display inline-block
  67. *display inline
  68. *zoom 1
  69. audio:not([controls]),[hidden]
  70. display none