reset.css 1.2 KB

1234567891011121314151617181920212223242526272829
  1. /* link underlines tend to make hypertext less readable,
  2. because underlines obscure the shapes of the lower halves of words */
  3. :link,:visited { text-decoration:none }
  4. /* no list-markers by default, since lists are used more often for semantics */
  5. ul,ol { list-style:none }
  6. /* avoid browser default inconsistent heading font-sizes */
  7. /* and pre/code too */
  8. h1,h2,h3,h4,h5,h6,pre,code { font-size:1em; }
  9. /* remove the inconsistent (among browsers) default ul,ol padding or margin */
  10. /* the default spacing on headings does not match nor align with
  11. normal interline spacing at all, so let's get rid of it. */
  12. /* zero out the spacing around pre, form, body, html, p, blockquote as well */
  13. /* form elements are oddly inconsistent, and not quite CSS emulatable. */
  14. /* nonetheless strip their margin and padding as well */
  15. ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,textarea
  16. { margin:0; padding:0; border:none; }
  17. /* whoever thought blue linked image borders were a good idea? */
  18. a img,:link img,:visited img { border:none }
  19. /* de-italicize address */
  20. address { font-style:normal }
  21. /* firefox focus outline */
  22. :focus {outline:none;}
  23. ::-moz-focus-inner {border:0;}