148 lines
1.9 KiB
CSS
148 lines
1.9 KiB
CSS
:root {
|
|
--accent: #1769c1;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--accent: #1769c1;
|
|
}
|
|
}
|
|
|
|
.user-score {
|
|
display: inline-block;
|
|
margin-right: 1em;
|
|
width: 100px;
|
|
}
|
|
|
|
.block-title {
|
|
margin: 0px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.block {
|
|
padding: 1em;
|
|
border: 1px solid var(--border);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.collapse {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.collapse.closed {
|
|
max-height: 0em;
|
|
}
|
|
|
|
details {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
details[open] summary {
|
|
margin-bottom: -0.7rem;
|
|
}
|
|
|
|
details[open] > summary {
|
|
margin-bottom: .5rem;
|
|
}
|
|
|
|
textarea,
|
|
select,
|
|
input,
|
|
progress {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
}
|
|
|
|
textarea:focus, input:focus{
|
|
outline: none;
|
|
}
|
|
|
|
.description {
|
|
font-size: 0.9rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
body {
|
|
grid-template-columns: 1fr min(100rem, 90%) 1fr;
|
|
}
|
|
|
|
.messages {
|
|
position: fixed;
|
|
z-index: 10;
|
|
top: 0.5em;
|
|
left: 0.5em;
|
|
}
|
|
|
|
.message {
|
|
margin: 0.5em;
|
|
background-color: var(--accent);
|
|
padding: 0.5em;
|
|
border-radius: 5px;
|
|
min-width: 30em;
|
|
max-width: 30em;
|
|
}
|
|
|
|
.message-title {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.message-text {
|
|
margin-bottom: 0;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.events-cols {
|
|
display: grid;
|
|
grid-template-columns: 50% 50%;
|
|
}
|
|
|
|
.events-cols > * {
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
.events-cols:nth-child(1) {
|
|
grid-column: 1;
|
|
}
|
|
|
|
.events-cols:nth-child(2) {
|
|
grid-column: 2;
|
|
}
|
|
|
|
.event-action {
|
|
margin: 0.5em;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.modal {
|
|
z-index: 5;
|
|
left: 15vw;
|
|
top: 10vh;
|
|
position: fixed;
|
|
width: 70vw;
|
|
height: 80vh;
|
|
padding: 1em;
|
|
background-color: var(--accent-bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.modal > h4 {
|
|
margin-top: 0.2em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
right: 1em;
|
|
top: 1em;
|
|
}
|
|
|
|
.modal-close > * {
|
|
margin: 0;
|
|
}
|