From 4bd3d6764bfd48c881d9722825309ddb5956c758 Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Tue, 25 Jul 2023 09:20:43 -0600 Subject: style: reformat all files properly - remove .json from .eslintignore - add type intellisense to .prettierrc.js - install missing @jest/types which is used in jest.config.js - split up typecheck and lint into two separate commands - remove --require-pragma flag from reformat-files which leads to unformatted files - install suggested @types/prop-types and @types/react-loader dependencies - add @ts-expect-error to Loader usages - reformat all scss files automatically with reformat-files command --- src/styles/reset.scss | 139 +++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 116 insertions(+), 23 deletions(-) (limited to 'src/styles/reset.scss') diff --git a/src/styles/reset.scss b/src/styles/reset.scss index d87ce652a..929494514 100644 --- a/src/styles/reset.scss +++ b/src/styles/reset.scss @@ -3,19 +3,87 @@ /* ============ 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 { +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 { border: 0; font: inherit; font-size: 100%; @@ -23,11 +91,24 @@ time, mark, audio, video { padding: 0; } -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { display: block; } +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; +} ol, -ul { list-style: none; } +ul { + list-style: none; +} blockquote, q { @@ -50,11 +131,13 @@ button { border: none; padding: 0; - &:focus { outline: 0; } + &:focus { + outline: 0; + } } html { - font-size: 62.5%; + font-size: 62.5%; font-family: 'Open Sans'; } @@ -63,7 +146,9 @@ body { font-size: 1.4rem; line-height: 1; - &.theme__dark { color: $dark-theme-gray-smoke; } + &.theme__dark { + color: $dark-theme-gray-smoke; + } } * { @@ -74,12 +159,20 @@ body { -webkit-user-select: none; } -html, body, div { +html, +body, +div { height: 100%; background: none; box-sizing: border-box; } -*:focus { outline: none; } -img { pointer-events: none; } -a { cursor: default; } +*:focus { + outline: none; +} +img { + pointer-events: none; +} +a { + cursor: default; +} -- cgit v1.2.3-70-g09d2