boilerplate.css 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /**
  2. * HTML5 ✰ Boilerplate
  3. *
  4. * style.css contains a reset, font normalization and some base styles.
  5. *
  6. * Credit is left where credit is due.
  7. * Much inspiration was taken from these projects:
  8. * - yui.yahooapis.com/2.8.1/build/base/base.css
  9. * - camendesign.com/design/
  10. * - praegnanz.de/weblog/htmlcssjs-kickstart
  11. */
  12. /**
  13. * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  14. * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
  15. * html5doctor.com/html-5-reset-stylesheet/
  16. */
  17. html, body, div, span, object, iframe,
  18. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  19. abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
  20. small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
  21. fieldset, form, label, legend,
  22. table, caption, tbody, tfoot, thead, tr, th, td,
  23. article, aside, canvas, details, figcaption, figure,
  24. footer, header, hgroup, menu, nav, section, summary,
  25. time, mark, audio, video {
  26. margin: 0;
  27. padding: 0;
  28. border: 0;
  29. font-size: 100%;
  30. font: inherit;
  31. vertical-align: baseline;
  32. }
  33. sup { vertical-align: super; }
  34. sub { vertical-align: sub; }
  35. article, aside, details, figcaption, figure,
  36. footer, header, hgroup, menu, nav, section {
  37. display: block;
  38. }
  39. blockquote, q { quotes: none; }
  40. blockquote:before, blockquote:after,
  41. q:before, q:after { content: ""; content: none; }
  42. ins { background-color: #ff9; color: #000; text-decoration: none; }
  43. mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
  44. del { text-decoration: line-through; }
  45. abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
  46. table { border-collapse: collapse; border-spacing: 0; }
  47. hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
  48. input, select { vertical-align: middle; }
  49. /**
  50. * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
  51. */
  52. body { font:13px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */
  53. select, input, textarea, button { font:99% sans-serif; }
  54. /* Normalize monospace sizing:
  55. en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
  56. pre, code, kbd, samp { font-family: monospace, sans-serif; }
  57. em,i { font-style: italic; }
  58. b,strong { font-weight: bold; }