Tweak forms / fonts (#38)

This commit is contained in:
Daniel J. Summers 2022-08-07 19:58:55 -04:00
parent 980346b98d
commit 35db7aaaf5

View File

@ -9,11 +9,12 @@
--lighter-dark: hsl(var(--dark-blue-hue), var(--dark-blue-sat), 25%); --lighter-dark: hsl(var(--dark-blue-hue), var(--dark-blue-sat), 25%);
--inverse-backgroud: hsl(0, 0%, 95%); --inverse-backgroud: hsl(0, 0%, 95%);
--background: hsla(0, 0%, 0%, .01); --background: hsla(0, 0%, 0%, .01);
--native-fonts: system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Liberation Sans",Cantarell,"Helvetica Neue",sans-serif;
} }
body { body {
background-color: var(--background); background-color: var(--background);
margin: 0; margin: 0;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; font-family: var(--native-fonts);
font-size: 1rem; font-size: 1rem;
} }
acronym { acronym {
@ -156,17 +157,18 @@ input[type=password],
input[type=date], input[type=date],
input[type=number], input[type=number],
select { select {
border-radius: .25rem; border-radius: .2rem;
border-color: var(--lighter-dark); border-color: var(--lighter-dark);
font-size: 1rem; font-size: 1rem;
padding: .2rem; padding: .25rem;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; font-family: var(--native-fonts);
border-width: 1px;
} }
input:nth-of-type(2) { input:nth-of-type(2) {
margin-left: 2rem; margin-left: 2rem;
} }
button[type=submit] { button[type=submit] {
border-radius: 10px; border-radius: .6rem;
padding: .2rem 1rem; padding: .2rem 1rem;
margin-top: .5rem; margin-top: .5rem;
background-color: var(--lighter-dark); background-color: var(--lighter-dark);