Clean up the reset styles a bit

This commit is contained in:
Eryn Wells 2022-10-15 10:18:43 -07:00
parent cb6f06a70a
commit 948600cef1

View file

@ -72,18 +72,11 @@
@layer reset { @layer reset {
* { box-sizing: border-box; } * { box-sizing: border-box; }
button, h1, h2, h3, h4, h5, h6, input, ol, ul, p, textarea { body, button, h1, h2, h3, h4, h5, h6, input, ol, ul, p, pre, textarea {
padding: 0; padding: 0; margin: 0;
margin: 0;
}
h1:first-child, h2:first-child, h3:first-child,
h4:first-child, h5:first-child, h6:first-child {
margin-block-start: 0;
} }
table { table {
width: 100%;
border-spacing: 0; border-spacing: 0;
border-collapse: collapse; border-collapse: collapse;
} }
@ -108,8 +101,6 @@
textarea:-webkit-autofill { textarea:-webkit-autofill {
box-shadow: 0 0 0 6rem var(--white) inset; box-shadow: 0 0 0 6rem var(--white) inset;
} }
pre { margin: 0; }
} }
a { a {