reset.css 1.8 KB

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