minireset.sass 754 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*! minireset.css v0.0.4 | MIT License | github.com/jgthms/minireset.css */
  2. // Blocks
  3. html,
  4. body,
  5. p,
  6. ol,
  7. ul,
  8. li,
  9. dl,
  10. dt,
  11. dd,
  12. blockquote,
  13. figure,
  14. fieldset,
  15. legend,
  16. textarea,
  17. pre,
  18. iframe,
  19. hr,
  20. h1,
  21. h2,
  22. h3,
  23. h4,
  24. h5,
  25. h6
  26. margin: 0
  27. padding: 0
  28. // Headings
  29. h1,
  30. h2,
  31. h3,
  32. h4,
  33. h5,
  34. h6
  35. font-size: 100%
  36. font-weight: normal
  37. // List
  38. ul
  39. list-style: none
  40. // Form
  41. button,
  42. input,
  43. select,
  44. textarea
  45. margin: 0
  46. // Box sizing
  47. html
  48. box-sizing: border-box
  49. *
  50. &,
  51. &::before,
  52. &::after
  53. box-sizing: inherit
  54. // Media
  55. img,
  56. embed,
  57. iframe,
  58. object,
  59. video
  60. height: auto
  61. max-width: 100%
  62. audio
  63. max-width: 100%
  64. // Iframe
  65. iframe
  66. border: 0
  67. // Table
  68. table
  69. border-collapse: collapse
  70. border-spacing: 0
  71. td,
  72. th
  73. padding: 0
  74. &:not([align])
  75. text-align: left