This commit is contained in:
2019-03-08 19:55:07 -08:00
parent 4b6ace88b1
commit 182d14fcaf
3 changed files with 52 additions and 13 deletions

View File

@@ -1,7 +1,24 @@
.light {
--background: #fff;
--foreground: #333;
}
.dark {
--background: #2e3440;
--foreground: #d8dee9;
}
.darker {
--background: #000;
--foreground: #d8dee9;
}
html,
body {
background-color: #2e3440;
color: #d8dee9;
background-color: var(--background);
color: var(--foreground);
font-family: serif;
margin: 0;
padding: 0;
}
@@ -9,6 +26,7 @@ body {
h1 {
font-size: 28px;
font-weight: 800;
hyphens: auto;
text-align: center;
}
@@ -19,6 +37,11 @@ h1 {
padding: 32px;
}
.theme {
align-items: center;
display: flex;
}
.text {
font-size: 16px;
line-height: 22px;
@@ -48,10 +71,10 @@ form {
}
input {
border: 1px solid #d8dee9;
border: 1px solid var(--foreground);
border-radius: 22px;
background-color: #2e3440;
color: #d8dee9;
background-color: var(--background);
color: var(--foreground);
height: 44px;
box-sizing: border-box;
}
@@ -70,6 +93,11 @@ input:focus {
outline: none;
}
select {
margin-left: auto;
margin-right: auto;
}
@media(min-width: 500px) {
form {
align-items: baseline;