diff --git a/dist/reset.css b/dist/reset.css index b1fb347..ad2f0b2 100644 --- a/dist/reset.css +++ b/dist/reset.css @@ -58,6 +58,14 @@ article > * + * { margin-top: 1em; } +/* Inherit fonts for inputs and buttons */ +input, +button, +textarea, +select { + font: inherit; +} + /* Remove _all_ animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { * { diff --git a/dist/reset.min.css b/dist/reset.min.css index ea812d3..e00f594 100644 --- a/dist/reset.min.css +++ b/dist/reset.min.css @@ -1 +1 @@ -*,*::before,*::after{box-sizing:border-box}ul,ol{padding:0}body,h1,h2,h3,h4,p,ul,ol,li,figure,figcaption,dl,dd{margin:0}body{min-height:100vh;scroll-behavior:smooth;text-rendering:optimizeSpeed;line-height:1.5}ul[class],ol[class]{list-style:none}a:not([class]){text-decoration-skip-ink:auto}img{max-width:100%;display:block}article>*+*{margin-top:1em}@media(prefers-reduced-motion:reduce){*{animation-play-state:paused !important;transition:none !important;scroll-behavior:auto !important}} +*,*::before,*::after{box-sizing:border-box}ul,ol{padding:0}body,h1,h2,h3,h4,p,ul,ol,li,figure,figcaption,dl,dd{margin:0}body{min-height:100vh;scroll-behavior:smooth;text-rendering:optimizeSpeed;line-height:1.5}ul[class],ol[class]{list-style:none}a:not([class]){text-decoration-skip-ink:auto}img{max-width:100%;display:block}article>*+*{margin-top:1em}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){*{animation-play-state:paused !important;transition:none !important;scroll-behavior:auto !important}} diff --git a/src/reset.css b/src/reset.css index b1fb347..ad2f0b2 100644 --- a/src/reset.css +++ b/src/reset.css @@ -58,6 +58,14 @@ article > * + * { margin-top: 1em; } +/* Inherit fonts for inputs and buttons */ +input, +button, +textarea, +select { + font: inherit; +} + /* Remove _all_ animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { * {