reset.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. /*
  2. Copyright (c) 2009, Yahoo! Inc. All rights reserved.
  3. Code licensed under the BSD License:
  4. http://developer.yahoo.net/yui/license.txt
  5. version: 2.7.0
  6. */
  7. /**
  8. * YUI Reset
  9. * @module reset
  10. * @namespace
  11. * @requires
  12. */
  13. html {
  14. color: #000;
  15. background: #FFF;
  16. }
  17. body,
  18. div,
  19. dl,
  20. dt,
  21. dd,
  22. ul,
  23. ol,
  24. li,
  25. h1,
  26. h2,
  27. h3,
  28. h4,
  29. h5,
  30. h6,
  31. pre,
  32. code,
  33. form,
  34. fieldset,
  35. legend,
  36. input,
  37. button,
  38. textarea,
  39. p,
  40. blockquote,
  41. th,
  42. td {
  43. margin: 0;
  44. padding: 0;
  45. }
  46. table {
  47. border-collapse: collapse;
  48. border-spacing: 0;
  49. }
  50. fieldset,
  51. img {
  52. border: 0;
  53. }
  54. address,
  55. caption,
  56. cite,
  57. code,
  58. dfn,
  59. em,
  60. strong,
  61. th,
  62. var,
  63. optgroup {
  64. font-style: inherit;
  65. font-weight: inherit;
  66. }
  67. del,
  68. ins {
  69. text-decoration: none;
  70. }
  71. li {
  72. list-style: none;
  73. }
  74. caption,
  75. th {
  76. text-align: left;
  77. }
  78. h1,
  79. h2,
  80. h3,
  81. h4,
  82. h5,
  83. h6 {
  84. font-size: 100%;
  85. font-weight: normal;
  86. }
  87. q:before,
  88. q:after {
  89. content: '';
  90. }
  91. abbr,
  92. acronym {
  93. border: 0;
  94. font-variant: normal;
  95. }
  96. sup {
  97. vertical-align: baseline;
  98. }
  99. sub {
  100. vertical-align: baseline;
  101. }
  102. /*because legend doesn't inherit in IE */
  103. legend {
  104. color: #000;
  105. }
  106. input,
  107. button,
  108. textarea,
  109. select,
  110. optgroup,
  111. option {
  112. font-family: inherit;
  113. font-size: inherit;
  114. font-style: inherit;
  115. font-weight: inherit;
  116. }
  117. /*@purpose To enable resizing for IE */
  118. /*@branch For IE6-Win, IE7-Win */
  119. input,
  120. button,
  121. textarea,
  122. select {
  123. *font-size: 100%;
  124. }