reset.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /*
  2. Software License Agreement (BSD License)
  3. Copyright (c) 2006, Yahoo! Inc.
  4. All rights reserved.
  5. Redistribution and use of this software in source and
  6. binary forms, with or without modification, arepermitted
  7. provided that the following conditions are met:
  8. * Redistributions of source code must retain the above
  9. copyright notice, this list of conditions and the
  10. following disclaimer.
  11. * Redistributions in binary form must reproduce the above
  12. copyright notice, this list of conditions and the
  13. following disclaimer in the documentation and/or other
  14. materials provided with the distribution.
  15. * Neither the name of Yahoo! Inc. nor the names of its
  16. contributors may be used to endorse or promote products
  17. derived from this software without specific prior
  18. written permission of Yahoo! Inc.
  19. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  20. CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  21. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  22. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  23. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  24. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  25. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  26. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  27. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  28. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
  29. IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  30. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  31. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  32. SUCH DAMAGE.
  33. */
  34. html {
  35. color: #000;
  36. background: #FFF;
  37. }
  38. body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4,
  39. h5, h6, pre, code, form, fieldset, legend, input,
  40. button, textarea, p, blockquote, th, td {
  41. margin: 0;
  42. padding: 0;
  43. }
  44. table {
  45. border-collapse: collapse;
  46. border-spacing: 0;
  47. }
  48. fieldset, img {
  49. border: 0;
  50. }
  51. address, caption, cite, code, dfn, em, strong,
  52. th, var, optgroup {
  53. font-style: inherit;
  54. font-weight: inherit;
  55. }
  56. del, ins {
  57. text-decoration: none;
  58. }
  59. li {
  60. list-style:none;
  61. }
  62. caption, th {
  63. text-align: left;
  64. }
  65. h1, h2, h3, h4, h5, h6 {
  66. font-size: 100%;
  67. font-weight: normal;
  68. }
  69. q:before, q:after {
  70. content:'';
  71. }
  72. abbr, acronym {
  73. border: 0;
  74. font-variant: normal;
  75. }
  76. sup {
  77. vertical-align: baseline;
  78. }
  79. sub {
  80. vertical-align: baseline;
  81. }
  82. legend {
  83. color: #000;
  84. }
  85. input, button, textarea, select, optgroup, option {
  86. font-family: inherit;
  87. font-size: inherit;
  88. font-style: inherit;
  89. font-weight: inherit;
  90. }
  91. input, button, textarea, select {
  92. *font-size: 100%;
  93. }