| 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, | |
| font, | |
| ins, | |
| kbd, | |
| q, | |
| s, | |
| samp, | |
| small, | |
| strike, | |
| strong, | |
| sub, | |
| sup, | |
| tt, | |
| var, | |
| dl, | |
| dt, | |
| dd, | |
| ol, | |
| ul, | |
| li, | |
| legend, | |
| table, | |
| caption, | |
| tbody, | |
| tfoot, | |
| thead, | |
| tr, | |
| th, | |
| td { | |
| border: 0; | |
| font-family: inherit; | |
| font-size: 100%; | |
| font-style: inherit; | |
| font-weight: inherit; | |
| margin: 0; | |
| outline: 0; | |
| padding: 0; | |
| vertical-align: baseline; | |
| } | |
| html { | |
| -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */ | |
| -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ | |
| } | |
| body { | |
| background: #fff; | |
| } | |
| article, | |
| aside, | |
| details, | |
| figcaption, | |
| figure, | |
| footer, | |
| header, | |
| hgroup, | |
| main, | |
| nav, | |
| section { | |
| display: block; | |
| } | |
| ol, | |
| ul { | |
| list-style: none; | |
| } | |
| table { | |
| /* tables still need 'cellspacing="0"' in the markup */ | |
| border-collapse: separate; | |
| border-spacing: 0; | |
| } | |
| caption, | |
| th, | |
| td { | |
| font-weight: normal; | |
| text-align: left; | |
| } | |
| blockquote::before, | |
| blockquote::after, | |
| q::before, | |
| q::after { | |
| content: ""; | |
| } | |
| blockquote, | |
| q { | |
| quotes: "" ""; | |
| } | |
| a:focus { | |
| outline: thin dotted; | |
| } | |
| a:hover, | |
| a:active { | |
| /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */ | |
| outline: 0; | |
| } | |
| a img { | |
| border: 0; | |
| } | |
| button { | |
| appearance: none; | |
| background: transparent; | |
| border: none; | |
| font-size: inherit; | |
| outline: 0; | |
| padding: 0; | |
| vertical-align: baseline; | |
| } | |
| // Reset the default styling on form inputs in Webkit/iOS | |
| input, | |
| textarea { | |
| border-radius: 0; | |
| appearance: none; | |
| } | |
| // Remove Firefox inner focus ring around button text (only FF on Windows shows that) | |
| button::-moz-focus-inner, | |
| input[type="reset"]::-moz-focus-inner, | |
| input[type="button"]::-moz-focus-inner, | |
| input[type="submit"]::-moz-focus-inner { | |
| border: 0; | |
| padding: 0; | |
| } | |