Reorganize styles a bit

This commit is contained in:
Eryn Wells 2021-10-15 16:39:21 -07:00
parent 9e5b8cfddd
commit be432a8999
7 changed files with 90 additions and 78 deletions

69
static/styles/reset.css Normal file
View file

@ -0,0 +1,69 @@
/* reset.css
* Eryn Wells <eryn@erynwells.me>
*/
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
font-size: inherit;
font-weight: 700;
line-height: 1.2;
}
p {
margin: 0;
}
strong,
b {
font-weight: 500;
}
ul,
ol {
padding: 0;
margin: 0;
}
a {
color: inherit;
text-decoration: none;
}
table {
width: 100%;
border-spacing: 0;
border-collapse: collapse;
}
button,
input,
textarea {
padding: 0;
font: inherit;
background: transparent;
border: 0;
outline: 0;
-webkit-appearance: none;
}
button,
input[type='button'],
input[type='submit'] {
cursor: pointer;
}
input,
textarea {
padding: 0;
border: 0;
}
input:-webkit-autofill,
textarea:-webkit-autofill {
box-shadow: 0 0 0 6rem var(--white) inset;
}