/web/css/reset.css

https://code.google.com/p/goconvert/ · CSS · 103 lines · 82 code · 15 blank · 6 comment · 0 complexity · 6e973a4bc1d9a2041cb7cc05e5f20975 MD5 · raw file

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