93 lines
1.3 KiB
CSS
93 lines
1.3 KiB
CSS
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
background-color: #333;
|
|
color: #333;
|
|
}
|
|
|
|
.container {
|
|
max-width: 40em;
|
|
margin: auto;
|
|
padding: 0.5em 2em;
|
|
border-radius: 10px;
|
|
background-color: #faf9fd;
|
|
}
|
|
|
|
.outlink {
|
|
display: block;
|
|
font-weight: bold;
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
a.outlink {
|
|
text-decoration: none;
|
|
color: rgb(52, 52, 246);
|
|
}
|
|
|
|
a.outlink:hover {
|
|
color: rgb(110, 100, 255);
|
|
}
|
|
|
|
.loading,
|
|
.loading * {
|
|
cursor: progress;
|
|
}
|
|
|
|
.disabled,
|
|
.disabled * {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.selector {
|
|
padding: 1em;
|
|
background-color: gray;
|
|
color: #333;
|
|
width: max-content;
|
|
border: 0.2em;
|
|
border-radius: 6px;
|
|
|
|
}
|
|
|
|
label {
|
|
padding: 0.5em 1em;
|
|
margin: 0.5em;
|
|
font-weight: bold;
|
|
transition: all .2s 0s ease;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
}
|
|
|
|
input[type=radio] {
|
|
display: none;
|
|
}
|
|
|
|
input[type=radio]:checked+label {
|
|
background-color: white;
|
|
}
|
|
|
|
input[type=radio]:checked:disabled+label {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
input[type=radio]:disabled+label {
|
|
color: #666;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background-color: #222;
|
|
}
|
|
|
|
.container {
|
|
background-color: #444;
|
|
color: #f0f0f0;
|
|
}
|
|
|
|
a.outlink {
|
|
text-decoration: none;
|
|
color: rgb(94, 94, 252);
|
|
}
|
|
|
|
a.outlink:hover {
|
|
color: rgb(130, 120, 255);
|
|
}
|
|
} |