reset.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* Reset Styles
  2. ---------------------------------------------*/
  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, font, 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. margin: 0;
  12. padding: 0;
  13. border: 0;
  14. outline: 0;
  15. font-weight: inherit;
  16. font-style: inherit;
  17. font-size: 100%;
  18. font-family: inherit;
  19. vertical-align: baseline;
  20. }
  21. body {
  22. line-height: 1;
  23. color: black;
  24. background: white;
  25. }
  26. table {
  27. border-collapse: collapse;
  28. border-spacing: 0;
  29. }
  30. caption, th, td {
  31. text-align: left;
  32. font-weight: normal;
  33. }
  34. blockquote:before, blockquote:after,
  35. q:before, q:after {
  36. content: "";
  37. }
  38. blockquote, q {
  39. quotes: "" "";
  40. }
  41. /* HTML5 tags */
  42. header, section, footer,
  43. aside, nav, article, figure {
  44. display: block;
  45. }
  46. /* hand cursor on clickable input elements */
  47. label, input[type=button], input[type=submit], button {
  48. cursor: pointer;
  49. }
  50. /* make buttons play nice in IE: www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
  51. button {
  52. width: auto;
  53. overflow: visible;
  54. }
  55. /* Sharper Thumbnails */
  56. img {
  57. -ms-interpolation-mode: bicubic;
  58. }