Posted By

silentpro on 03/25/11


Tagged

css textmate style reset begin starter


Versions (?)

CSS Starter 2011


 / Published in: Other
 

  1. /* 03-2011 */
  2.  
  3. /* RESET */
  4. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
  5. body {line-height:1.5;}
  6. table {border-collapse:separate;border-spacing:0;}
  7. caption, th, td {text-align:left;font-weight:normal;}
  8. table, td, th {vertical-align:middle;}
  9. blockquote:before, blockquote:after, q:before, q:after {content:"";}
  10. blockquote, q {quotes:"" "";}
  11. a img {border:none;}
  12.  
  13. /* TYPOGRAPHY */
  14. html {font-size:100.01%;}
  15. body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
  16. h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
  17. h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
  18. h2 {font-size:2em;margin-bottom:0.75em;}
  19. h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
  20. h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
  21. h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
  22. h6 {font-size:1em;font-weight:bold;}
  23. h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
  24. p {margin:0 0 1.5em;}
  25. p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
  26. p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
  27. a:focus, a:hover {color:#000;}
  28. a {color:#009;text-decoration:underline;}
  29.  
  30. /* HEADER */
  31.  

Report this snippet  

You need to login to post a comment.