reset.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*
  2. * Reset CSS to suppress cross-browser differences
  3. */
  4. html, body {
  5. margin:0;
  6. padding:0;
  7. border:0;
  8. outline:0;
  9. vertical-align:baseline;
  10. background:transparent;
  11. }
  12. div, span, object, iframe,
  13. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  14. abbr, address, cite, code,
  15. del, dfn, em, img, ins, kbd, q, samp,
  16. small, strong, sub, sup, var,
  17. b, i,
  18. dl, dt, dd, ol, ul, li,
  19. fieldset, form, label, legend,
  20. table, caption, tbody, tfoot, thead, tr, th, td,
  21. article, aside, canvas, details, figcaption, figure,
  22. footer, header, hgroup, menu, nav, section, summary,
  23. time, mark, audio, video {
  24. margin:0;
  25. padding:0;
  26. border:0;
  27. outline:0;
  28. font-size:100%;
  29. vertical-align:baseline;
  30. background:transparent;
  31. }
  32. body {
  33. line-height:1.2;
  34. }
  35. article,aside,details,figcaption,figure,
  36. footer,header,hgroup,menu,nav,section {
  37. display:block;
  38. }
  39. nav ul {
  40. list-style:none;
  41. }
  42. blockquote, q {
  43. quotes:none;
  44. }
  45. blockquote:before, blockquote:after,
  46. q:before, q:after {
  47. content:'';
  48. content:none;
  49. }
  50. a {
  51. margin:0;
  52. padding:0;
  53. font-size:100%;
  54. vertical-align:baseline;
  55. background:transparent;
  56. text-decoration:none;
  57. color: currentColor;
  58. }
  59. a:visited {
  60. color: currentColor;
  61. }
  62. table {
  63. border-collapse:collapse;
  64. border-spacing:0;
  65. }
  66. hr {
  67. display:block;
  68. height:1px;
  69. border:0;
  70. border-top:1px solid currentColor;
  71. margin:1em 0;
  72. padding:0;
  73. }
  74. input, select {
  75. vertical-align:middle;
  76. }
  77. input[type=radio] {
  78. margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0.25em
  79. }
  80. textarea {
  81. font-family: inherit;
  82. }