datatrash/static/index.css

74 lines
895 B
CSS

:root {
--bg: #222222;
--fg: #e9e9e9;
}
body {
background-color: var(--bg);
margin: 0;
}
main {
color: var(--fg);
font-family: sans;
max-width: 1200px;
margin: 0 auto;
padding: 1rem;
}
h1 > a,
h1 > a:visited {
color: var(--fg);
}
a {
color: cornflowerblue;
}
a:visited {
color: mediumorchid;
}
label {
display: inline-block;
margin-right: 0.25em;
margin-bottom: 0.5em;
}
input,
select,
textarea,
.button {
background-color: var(--bg);
color: var(--fg);
padding: 0.5rem;
border: 2px solid var(--fg);
border-radius: 5px;
margin-bottom: 1rem;
max-width: calc(100vw - 3rem - 4px);
}
.button {
cursor: pointer;
}
a.button {
text-decoration: none;
}
a.button:visited {
color: var(--fg);
}
.button:hover {
background-color: #444444;
}
.button.main {
background-color: #007600;
}
.button.main:hover {
background-color: forestgreen;
}