reset.css 1.5 KB

1234567891011121314151617181920212223242526272829
  1. /*
  2. html5doctor.com Reset Stylesheet
  3. v1.6.1
  4. Last Updated: 2010-09-17
  5. Author: Richard Clark - http: //richclarkdesign.com
  6. Twitter: @rich_clark
  7. */
  8. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
  9. blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins,
  10. kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
  11. fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
  12. article, aside, canvas, details, figcaption, figure, footer, header, hgroup,
  13. menu, nav, section, summary, time, mark, audio,
  14. video { margin: 0; padding: 0; border: 0; outline: 0;
  15. font-size: 100%; vertical-align: baseline; background: transparent; }
  16. body { line-height: 1; }
  17. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav,
  18. section { display: block; }
  19. nav ul { list-style: none; }
  20. blockquote, q { quotes: none; }
  21. blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
  22. a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
  23. ins { background-color: #ff9; color: #000; text-decoration: none; }
  24. mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
  25. del { text-decoration: line-through; }
  26. abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
  27. table { border-collapse: collapse; border-spacing: 0; }
  28. hr { display: block; height: 1px; border: 0; border-top: 1px solid #cccccc; margin: 1em 0; padding: 0; }
  29. input, select { vertical-align: middle; }