datatrash/static/index.css

72 lines
873 B
CSS
Raw Normal View History

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