94 lines
1.2 KiB
CSS
94 lines
1.2 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(60rem, 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;
|
|
}
|