Add dark theme

This commit is contained in:
2022-02-04 15:28:23 +01:00
parent e7ab609f98
commit 620ec76f3c
6 changed files with 158 additions and 96 deletions

View File

@@ -5,30 +5,12 @@ html, body {
}
body {
color: #333;
margin: 0;
padding: 8px;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
a {
color: rgb(0,100,200);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: rgb(0,80,160);
}
label {
display: block;
}
input, button, select, textarea {
font-family: inherit;
font-size: inherit;
@@ -36,14 +18,11 @@ input, button, select, textarea {
padding: 0.4em;
margin: 0.5em;
box-sizing: border-box;
border: 1px solid #ccc;
border-width: 1px;
border-style: solid;
border-radius: 2px;
}
input:disabled {
color: #ccc;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
@@ -55,21 +34,3 @@ input::-webkit-inner-spin-button {
input[type=number] {
-moz-appearance: textfield;
}
button {
color: #333;
background-color: #f4f4f4;
outline: none;
}
button:disabled {
color: #999;
}
button:not(:disabled):active {
background-color: #ddd;
}
button:focus {
border-color: #666;
}