From 58cda9cc7fb79ca9df6746de7f9662bc08dc156a Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Fri, 13 Oct 2017 12:29:40 +0200 Subject: initial commit --- src/styles/reset.scss | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 src/styles/reset.scss (limited to 'src/styles/reset.scss') diff --git a/src/styles/reset.scss b/src/styles/reset.scss new file mode 100644 index 000000000..21763f44f --- /dev/null +++ b/src/styles/reset.scss @@ -0,0 +1,95 @@ +@import './config.scss'; + +/* ============ RESET =========== */ +/* http://meyerweb.com/eric/tools/css/reset */ + +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; +} +/* HTML5 display-role reset for older browsers */ +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; +} + +/* Buttons should not have any special style applied by default */ +button { + background: none; + border: none; + padding: 0; +} + +button:focus { + outline: 0; +} + +html { + /* base for rem / 1rem = 10px */ + font-size: 62.5%; + font-family: 'Open Sans'; +} + +body { + /* default font size = 14px */ + font-size: 1.4rem; + color: $theme-gray-dark; +} + +* { + -webkit-font-smoothing: antialiased; + box-sizing: border-box; + font-size: 1.4rem; + font-family: 'Open Sans'; + -webkit-user-select: none; +} + +html, body, div { + height: 100%; + background: none; + box-sizing: border-box; +} + +*:focus { + outline: none; +} + +img { + pointer-events: none; +} + +a { + cursor: default; +} -- cgit v1.2.3-70-g09d2