reset.css 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /* Margin and padding resets
  2. ------------------- */
  3. html {font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
  4. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;outline:none}
  5. /* HTML5 display definitions
  6. ------------------- */
  7. article,aside,details,figcaption,figure,footer,header,main,nav,section,summary {display:block}
  8. audio,canvas,progress,video {display:inline-block;vertical-align:baseline}
  9. audio:not([controls]) {display:none;height:0}
  10. [hidden],template {display:none}
  11. /* Links
  12. ------------------- */
  13. a {background:transparent;text-decoration:underline}
  14. a:active,a:hover {outline:0;text-decoration:none}
  15. /* Lists
  16. ------------------- */
  17. ol, ul {list-style:none}
  18. /* Text-level semantics
  19. ------------------- */
  20. abbr[title] {border-bottom:1px dotted}
  21. b,strong {font-weight:bold}
  22. dfn {font-style:italic}
  23. mark {background:#ff0;color:#000}
  24. small {font-size:80%}
  25. sub,sup {font-size:75%;line-height:0;position:relative;vertical-align:baseline}
  26. sup {top:-0.5em}
  27. sub {bottom:-0.25em}
  28. /* Embedded content
  29. ------------------- */
  30. img {border:0;max-width:100%}
  31. svg:not(:root) {overflow:hidden}
  32. figure {margin:1em 40px}
  33. hr {-moz-box-sizing:content-box;box-sizing:content-box;height:0}
  34. pre {overflow:auto}
  35. code,kbd,pre,samp {font-family:monospace, monospace;font-size:100%}
  36. /* Forms
  37. ------------------- */
  38. button,input,optgroup,select,textarea {color:inherit;font:inherit;margin:0}
  39. button {overflow:visible}
  40. button,select {text-transform:none}
  41. button,html input[type="button"],input[type="reset"],input[type="submit"] {-webkit-appearance:button;cursor:pointer}
  42. button[disabled],html input[disabled] {cursor:default}
  43. button::-moz-focus-inner,input::-moz-focus-inner {border:0;padding:0}
  44. input {line-height:normal;outline:none}
  45. input[type="checkbox"],input[type="radio"] {box-sizing:border-box;padding:0}
  46. input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button {height:auto}
  47. input[type="search"] {-webkit-appearance: textfield;-moz-box-sizing: content-box;-webkit-box-sizing: content-box;box-sizing:content-box}
  48. input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {-webkit-appearance:none}
  49. fieldset {border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}
  50. legend {border:0;padding:0}
  51. textarea {overflow:auto}
  52. optgroup {font-weight:bold}
  53. blockquote, q {quotes:none}
  54. blockquote:before, blockquote:after, q:before, q:after {content:'';content:none}
  55. /* Tables
  56. ------------------- */
  57. table {border-collapse:collapse;border-spacing:0}
  58. td,th {padding:0}