/** * Custom Reset * ============ * A combination of Reset, Normalize and Custom Resets */ 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; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } /* == Custom normalize == */ html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: subpixel-antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; } * { outline: none; box-sizing: border-box; word-wrap: break-word; } hr { box-sizing: content-box; height: 0; overflow: visible; } pre { font-family: monospace, monospace; } a { background-color: transparent; text-decoration: none; } abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; } b, strong { font-weight: bolder; } i { font-style: italic; } code, kbd, samp { font-family: monospace, monospace; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } img { border-style: none; } legend { color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; } progress { vertical-align: baseline; } details { display: block; } summary { display: list-item; } template { display: none; } [hidden] { display: none; } img { max-width: 100%; height: auto; } pre { white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; } dt { font-weight: bold; } dd { margin: 0; padding: 0 0 0.5em 0; } /* == Form Elements == */ input:focus { outline:0; } input, textarea { -webkit-box-sizing:content-box; -moz-box-sizing:content-box; box-sizing:content-box; } button, input[type=reset], input[type=button], input[type=submit], input[type=checkbox], input[type=radio], select { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; } input[type=search] { -webkit-appearance:textfield; -webkit-box-sizing:content-box; } ::-webkit-search-decoration { display:none; } button, input[type="reset"], input[type="button"], input[type="submit"] { overflow:visible; width:auto; } ::-webkit-file-upload-button { padding:0; border:0; background:none; } textarea { vertical-align: top; overflow: auto; } select[multiple] { vertical-align:top; } button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }