diff --git a/dist/reset.css b/dist/reset.css index f3d489c..0468da1 100644 --- a/dist/reset.css +++ b/dist/reset.css @@ -27,12 +27,12 @@ ol[role="list"] { /* Set core root defaults */ html:focus-within { - scroll-behavior: smooth; + scroll-behavior: auto; } /* Set core body defaults */ body { - min-height: 100vh; + min-height: 100%; text-rendering: optimizeSpeed; line-height: 1.5; } @@ -55,12 +55,13 @@ button, textarea, select { font: inherit; + margin: revert; } /* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { html:focus-within { - scroll-behavior: auto; + scroll-behavior: auto; } *, *::before, diff --git a/dist/reset.min.css b/dist/reset.min.css index de3be44..edc7a0a 100644 --- a/dist/reset.min.css +++ b/dist/reset.min.css @@ -1 +1,56 @@ -*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role="list"],ol[role="list"]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}} +*, +*::before, +*::after { + box-sizing: border-box; +} +body, +h1, +h2, +h3, +h4, +p, +figure, +blockquote, +dl, +dd { + margin: 0; +} +ul[role="list"], +ol[role="list"] { + list-style: none; +} +html:focus-within { + scroll-behavior: smooth; +} +body { + min-height: 100%; + text-rendering: optimizeSpeed; +} +a:not([class]) { + text-decoration-skip-ink: auto; +} +img, +picture { + max-width: 100%; + display: block; +} +input, +button, +textarea, +select { + font: inherit; + margin: revert; +} +@media (prefers-reduced-motion: reduce) { + html:focus-within { + scroll-behavior: auto; + } + *, + *::before, + *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + scroll-behavior: auto !important; + } +} diff --git a/src/reset.css b/src/reset.css index f3d489c..274fcbd 100644 --- a/src/reset.css +++ b/src/reset.css @@ -55,12 +55,13 @@ button, textarea, select { font: inherit; + margin: revert; } /* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { html:focus-within { - scroll-behavior: auto; + scroll-behavior: auto; } *, *::before,