/* * Manual copy of global styles from React Toolbox 1.x, per the migration guide: * https://github.com/react-toolbox/react-toolbox/wiki/Migrating-from-version-1.3-to-2.0/9f5056c60d9ed7f3765908f68aca20c373e6f3e9 * * Should eventually be removed, but currently required. */ :global { & html { font-size: 62.5%; } & body { width: 100%; height: 100%; padding: 0; margin: 0; font-size: 1.6rem; -webkit-touch-callout: none; * { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); } } & a, & abbr, & address, & article, & aside, & audio, & b, & blockquote, & body, & caption, & cite, & code, & dd, & del, & dfn, & dialog, & div, & dl, & dt, & em, & fieldset, & figure, & footer, & form, & h1, & h2, & h3, & h4, & h5, & h6, & header, & hgroup, & hr, & html, & i, & iframe, & img, & ins, & kbd, & label, & legend, & li, & mark, & menu, & nav, & object, & ol, & p, & pre, & q, & samp, & section, & small, & span, & strong, & sub, & sup, & table, & tbody, & td, & tfoot, & th, & thead, & time, & tr, & ul, & var, & video { padding: 0; margin: 0; border: 0; outline: 0; } & *, & *:before, & *:after { box-sizing: border-box; padding: 0; margin: 0; } & a { text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } & input:not([type="checkbox"]):not([type="radio"]), & button { outline: none; appearance: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); } /* Remove firefox default style for required inputs */ & input[required]:-moz-ui-invalid { box-shadow: none; } & h1, & h2, & h3, & h4, & h5, & h6, & label, & p, & button, & abbr, & a, & span, & small { font-smoothing: antialiased; text-size-adjust: 100%; } & h1 small, & h2 small, & h3 small, & h4 small, & h5 small, & h6 small { font-size: 5.6rem; font-weight: 400; line-height: 1.35; opacity: .54; } & h1 { font-size: 5.6rem; font-weight: 400; line-height: 1.35; } & h2 { font-size: 4.5rem; font-weight: 400; line-height: 4.8rem; } & h3 { font-size: 3.4rem; font-weight: 400; line-height: 4rem; } & h4 { font-size: 2.4rem; font-weight: 400; line-height: 3.2rem; -moz-osx-font-smoothing: grayscale; } & h5 { font-size: 2rem; font-weight: 500; line-height: 1; } & h6 { font-size: 1.6rem; font-weight: 400; line-height: 2.4rem; } & p { font-size: 1.4rem; font-weight: 400; line-height: 2.4rem; } }