Advertisement
Guest User

Reset CSS

a guest
Mar 6th, 2013
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.46 KB | None | 0 0
  1. *
  2. {
  3.     -webkit-box-sizing: border-box;
  4.     -moz-box-sizing: border-box;
  5.     box-sizing: border-box;
  6.     *behavior: url( '/theme/js/boxsizing.htc' );
  7.     -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  8. }
  9.  
  10.  
  11. html, body,
  12. h1, h2, h3, h4, h5, h6,
  13. p, blockquote, pre, a, abbr, acronym, address, big, cite, code,
  14. del, dfn, em, font, img, ins, kbd, q, s,
  15. samp, small, strike, strong, sup, sub, tt, var, b, u, i, center,
  16. ul, ol, li, dl, dt, dd,
  17. table, tr, th, td, thead, tbody, tfoot, caption,
  18. form, fieldset, legend, input, textarea, select, label,
  19. applet, object, iframe, audio, video, canvas,
  20. article, aside, canvas, details, figcaption, figure,
  21. footer, header, hgroup, menu, nav, section, summary
  22. {
  23.     font-size: 100%;
  24.     font-family: inherit;
  25.     font-weight: inherit;
  26.     font-style: inherit;
  27.     line-height: inherit;
  28.     vertical-align: baseline;
  29.     border: 0;
  30.     outline: 0;
  31.     padding: 0;
  32.     margin: 0;
  33. }
  34.  
  35. html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
  36. body { font-family: Helvetica, Arial, sans-serif; line-height: 1; color: #000; background-color: #fff; }
  37.  
  38. article, aside, canvas,
  39. details, figcaption,
  40. figure, footer, header,
  41. hgroup, menu, nav,
  42. section, summary        { display: block; }
  43.  
  44. audio, canvas, video    { display: inline-block; *display: inline; *zoom: 1; }
  45. audio:not([controls])   { display: none; }
  46.  
  47. [hidden]                { display: none; }
  48. [disabled]              { opacity: .5; }
  49.  
  50. a                       { text-decoration: underline; color: #000; }
  51. a:hover                 { text-decoration: none; }
  52.  
  53. small                   { font-size: 85%; }
  54. big                     { font-size: 120%; }
  55. em                      { font-style: italic; }
  56. strong                  { font-weight: bold; }
  57. ins                     { text-decoration: none; }
  58. del                     { text-decoration: line-through; }
  59. sup, sub                { font-size: 75%; line-height: 0; }
  60. sup                     { vertical-align: super; }
  61. sub                     { vertical-align: sub; }
  62. pre                     { display: block; overflow: auto; }
  63. code                    { font-family: 'Courier New', Courier, monospace; }
  64.  
  65. ul, ol                  { list-style: none; }
  66.  
  67. table                   { table-layout: auto; border-collapse: separate; border-spacing: 0; empty-cells: hide; }
  68.  
  69. img                     { vertical-align: middle; -ms-interpolation-mode: bicubic; }
  70. svg:not(:root)          { overflow: hidden; }
  71.  
  72. blockquote, q           { quotes: none; }
  73. blockquote:before,
  74. blockquote:after,
  75. q:before,
  76. q:after                 { content: ''; content: none;}
  77.  
  78. input, textarea                                                         { -webkit-appearance: none; }
  79. button, input, select, textarea                                         { vertical-align: baseline; *vertical-align: middle; -webkit-border-radius: 0; }
  80. button, input                                                           { line-height: normal; *overflow: visible; }
  81. table button, table input                                               { *overflow: auto; }
  82. button, input[type='button'], input[type='reset'], input[type='submit'] { cursor: pointer; -webkit-appearance: button; }
  83. textarea                                                                { overflow: auto; vertical-align: top; }
  84. input[type='search']::-webkit-search-decoration,
  85. input[type='search']::-webkit-search-cancel-button,
  86. input[type='search']::-webkit-search-results-button,
  87. input[type='search']::-webkit-search-results-decoration                 { display: none; }
  88. input[type='search']                                                    { -webkit-appearance: textfield; }
  89. input[type='radio']                                                     { -webkit-appearance: radio; }
  90. input[type='checkbox']                                                  { -webkit-appearance: checkbox; }
  91.  
  92. .clearfix:after                 { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
  93. * html .clearfix                { zoom: 1; }
  94. *:first-child+html .clearfix    { zoom: 1; }
  95. .cleaner                        { height: 0; line-height: 0; clear: both; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement