From 2b129490edb2ab6e0438194282bdfe346fe229d5 Mon Sep 17 00:00:00 2001 From: Andy Bell Date: Fri, 6 Nov 2020 19:36:02 +0000 Subject: [PATCH] Build and bump --- dist/reset.css | 14 +++----------- dist/reset.min.css | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/dist/reset.css b/dist/reset.css index 6a3b776..9dde13c 100644 --- a/dist/reset.css +++ b/dist/reset.css @@ -49,11 +49,6 @@ picture { display: block; } -/* Natural flow and rhythm in articles by default */ -article > * + * { - margin-top: 1em; -} - /* Inherit fonts for inputs and buttons */ input, button, @@ -62,14 +57,11 @@ select { font: inherit; } -/* Blur images when they have no alt attribute */ -img:not([alt]) { - filter: blur(10px); -} - /* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { - * { + *, + *::before, + *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; diff --git a/dist/reset.min.css b/dist/reset.min.css index 3ff3bd5..d65626c 100644 --- a/dist/reset.min.css +++ b/dist/reset.min.css @@ -1 +1 @@ -*,*::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{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}article>*+*{margin-top:1em}input,button,textarea,select{font:inherit}img:not([alt]){filter:blur(10px)}@media(prefers-reduced-motion:reduce){*{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{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){*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}} diff --git a/package.json b/package.json index ce03b02..1eb7629 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "modern-css-reset", - "version": "1.2.1", + "version": "1.3.0", "description": "A bare-bones CSS reset for modern web development", "main": "./dist/reset.min.css", "scripts": {