Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions dist/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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,
Expand Down
57 changes: 56 additions & 1 deletion dist/reset.min.css
Original file line number Diff line number Diff line change
@@ -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;
}
}
3 changes: 2 additions & 1 deletion src/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down