132 lines
No EOL
2.1 KiB
CSS
132 lines
No EOL
2.1 KiB
CSS
:root {
|
|
--body-bg-color: #2e2e2e;
|
|
--accent-bg-color: #d4d3d3;
|
|
--accent-color: #949494;
|
|
--grayed-text-color: #949494;
|
|
--button-accent-color: #3d3d3d;
|
|
--selected-bg-color: #2e2e2e;
|
|
--hover-bg-color: #4d4d4d;
|
|
--card-border-radius: 1rem;
|
|
--button-border-radius: 0.5rem;
|
|
}
|
|
|
|
html, body {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-weight: 500;
|
|
font-family: "Noto Sans", "Liberation Sans", sans-serif;
|
|
|
|
background-color: var(--body-bg-color);
|
|
color: var(--accent-bg-color);
|
|
margin: 0;
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
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;
|
|
-webkit-padding: 0.4em 0;
|
|
padding: 0.4em;
|
|
margin: 0 0 0.5em 0;
|
|
box-sizing: border-box;
|
|
border: 1px solid #ccc;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
input:disabled {
|
|
color: #ccc;
|
|
}
|
|
|
|
button {
|
|
color: #333;
|
|
background-color: #f4f4f4;
|
|
outline: none;
|
|
}
|
|
|
|
button:disabled {
|
|
color: #999;
|
|
}
|
|
|
|
button:not(:disabled):active {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
button:focus {
|
|
border-color: #666;
|
|
}
|
|
|
|
|
|
/* basic ui */
|
|
|
|
.card {
|
|
padding: 8px;
|
|
color: #030303;
|
|
border-radius: var(--card-border-radius);
|
|
background: var(--accent-bg-color);
|
|
}
|
|
|
|
.full-card {
|
|
box-sizing: border-box;
|
|
padding: 18px;
|
|
width: 100%;
|
|
box-shadow: 0 0 28px 3px rgba(0, 0, 0, 0.40);
|
|
}
|
|
|
|
.separated-card {
|
|
margin: 28px auto;
|
|
}
|
|
|
|
.button {
|
|
display: block;
|
|
padding: 12px;
|
|
margin: 4px;
|
|
text-decoration: none;
|
|
outline: none;
|
|
background-color: var(--accent-bg-color);
|
|
border-radius: var(--button-border-radius);
|
|
font-size: 18px;
|
|
color: var(--button-accent-color);
|
|
cursor: pointer;
|
|
outline: none;
|
|
}
|
|
|
|
.button:hover:not(.button-selected) {
|
|
color: var(--accent-bg-color);
|
|
background-color: var(--hover-bg-color);
|
|
}
|
|
|
|
.button-selected {
|
|
color: var(--accent-bg-color);
|
|
background-color: var(--selected-bg-color);
|
|
}
|
|
|
|
.input {
|
|
display: block;
|
|
box-sizing: border-box;
|
|
border: none;
|
|
outline: none;
|
|
border-radius: var(--button-border-radius);
|
|
padding: 12px;
|
|
} |