reset.css 1.6 KB

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