reset.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain)
  2. Removed code from first reset list since it conflics with highlight.js.
  3. */
  4. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  5. a, abbr, acronym, address, big, cite, 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,
  6. 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 {
  7. margin: 0;
  8. padding: 0;
  9. border: 0;
  10. font-size: 100%;
  11. font: inherit;
  12. vertical-align: baseline;
  13. }
  14. /* HTML5 display-role reset for older browsers */
  15. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  16. display: block;
  17. }
  18. body {
  19. line-height: 1;
  20. }
  21. ol, ul {
  22. list-style: none;
  23. }
  24. blockquote, q {
  25. quotes: none;
  26. }
  27. blockquote:before, blockquote:after, q:before, q:after {
  28. content: '';
  29. content: none;
  30. }
  31. table {
  32. border-collapse: collapse;
  33. border-spacing: 0;
  34. }
  35. /* Clear Fix Styles */
  36. .clearfix:after {
  37. visibility: hidden;
  38. display: block;
  39. font-size: 0;
  40. content: " ";
  41. clear: both;
  42. height: 0;
  43. }
  44. .clearfix {
  45. display: inline-block;
  46. }
  47. /* start commented backslash hack \*/
  48. * html .clearfix {
  49. height: 1%;
  50. }
  51. .clearfix {
  52. display: block;
  53. }
  54. /* close commented backslash hack */
  55. {
  56. height: 1%
  57. ;
  58. }
  59. .clearfix {
  60. display: block;
  61. }