reset.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*
  2. * CSS Reset based on code from
  3. * http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
  4. *
  5. * Earlier copy stated:
  6. * "If you want to use my reset styles, then feel free! It's all
  7. * explicitly in the public domain (I have to formally say that
  8. * or else people ask me about licensing)."
  9. */
  10. html, body, div, span, applet, object, iframe,
  11. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  12. a, abbr, acronym, address, big, cite, code,
  13. del, dfn, em, font, img, ins, kbd, q, s, samp,
  14. small, strike, strong, sub, sup, tt, var,
  15. dl, dt, dd, ol, ul, li,
  16. fieldset, form, label, legend,
  17. table, caption, tbody, tfoot, thead, tr, th, td {
  18. margin: 0;
  19. padding: 0;
  20. border: 0;
  21. outline: 0;
  22. font-weight: inherit;
  23. font-style: inherit;
  24. font-size: 100%;
  25. font-family: inherit;
  26. vertical-align: baseline;
  27. }
  28. /* remember to define focus styles! */
  29. :focus {
  30. outline: 0;
  31. }
  32. body {
  33. line-height: 1;
  34. color: black;
  35. background: white;
  36. }
  37. ol, ul {
  38. list-style: none;
  39. }
  40. /* tables still need 'cellspacing="0"' in the markup */
  41. table {
  42. border-collapse: separate;
  43. border-spacing: 0;
  44. }
  45. caption, th, td {
  46. text-align: left;
  47. font-weight: normal;
  48. }
  49. blockquote:before, blockquote:after,
  50. q:before, q:after {
  51. content: "";
  52. }
  53. blockquote, q {
  54. quotes: "" "";
  55. }
  56. /*
  57. * Added 2009/02/04 to fix IE7's issue with interpolated
  58. * scaling not turned on by default. Based on an idea from
  59. * http://acidmartin.wordpress.com/2009/01/05/better-image-scaling-and-resampling-in-internet-explorer/
  60. */
  61. img
  62. {
  63. -ms-interpolation-mode: bicubic;
  64. }