2021-05-02 01:08:30 +00:00
|
|
|
@import '@fontsource/fira-mono';
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root {
|
|
|
|
font-family: 'Fira Mono', monospace;
|
|
|
|
|
2021-05-05 08:42:37 +00:00
|
|
|
--ui-bg-0: #111;
|
|
|
|
--ui-bg-0-85: #111111d9;
|
|
|
|
--ui-bg-1: #333;
|
|
|
|
--ui-bg-2: #444;
|
|
|
|
--ui-text-0: #fefefe;
|
|
|
|
--ui-text-1: #eee;
|
2021-05-02 01:08:30 +00:00
|
|
|
--ui-clr-primary: hsl(186, 65%, 55%);
|
2022-07-20 08:41:37 +00:00
|
|
|
--ui-clr-primary-alt: hsl(186, 85%, 35%);
|
2021-05-02 01:08:30 +00:00
|
|
|
--ui-clr-error: hsl(357, 77%, 51%);
|
2022-07-20 08:41:37 +00:00
|
|
|
--ui-clr-error-alt: hsl(357, 87%, 41%);
|
2021-05-02 01:08:30 +00:00
|
|
|
|
|
|
|
--ui-anim: all 150ms ease;
|
|
|
|
}
|
|
|
|
|
2021-05-05 08:42:37 +00:00
|
|
|
@media (prefers-color-scheme: light) {
|
2021-05-02 13:44:46 +00:00
|
|
|
:root {
|
2021-05-05 08:42:37 +00:00
|
|
|
--ui-bg-0: #fefefe;
|
|
|
|
--ui-bg-0-85: #fefefed9;
|
|
|
|
--ui-bg-1: #eee;
|
|
|
|
--ui-bg-2: #e2e2e2;
|
|
|
|
--ui-text-0: #111;
|
|
|
|
--ui-text-1: #333;
|
2021-05-02 13:44:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-05 08:42:37 +00:00
|
|
|
:root[theme='dark'] {
|
|
|
|
--ui-bg-0: #111 !important;
|
|
|
|
--ui-bg-0-85: #111111d9 !important;
|
|
|
|
--ui-bg-1: #333 !important;
|
|
|
|
--ui-bg-2: #444 !important;
|
|
|
|
--ui-text-0: #fefefe !important;
|
|
|
|
--ui-text-1: #eee !important;
|
|
|
|
}
|
|
|
|
:root[theme='light'] {
|
|
|
|
--ui-bg-0: #fefefe !important;
|
|
|
|
--ui-bg-0-85: #fefefed9 !important;
|
|
|
|
--ui-bg-1: #eee !important;
|
|
|
|
--ui-bg-2: #e2e2e2 !important;
|
|
|
|
--ui-text-0: #111 !important;
|
|
|
|
--ui-text-1: #333 !important;
|
|
|
|
}
|
|
|
|
|
2021-05-02 01:08:30 +00:00
|
|
|
.error-text {
|
|
|
|
color: var(--ui-clr-error);
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
min-height: 100vh;
|
|
|
|
margin: 0;
|
|
|
|
background-color: var(--ui-bg-0);
|
|
|
|
color: var(--ui-text-0);
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: inherit;
|
|
|
|
box-sizing: content-box;
|
|
|
|
border-bottom: 2px solid var(--ui-bg-2);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:active {
|
|
|
|
border-color: var(--ui-clr-primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
border-color: var(--ui-text-0);
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
textarea,
|
|
|
|
button {
|
|
|
|
appearance: none;
|
2021-05-05 08:42:37 +00:00
|
|
|
-webkit-appearance: none;
|
|
|
|
border-radius: 0;
|
2021-05-02 01:08:30 +00:00
|
|
|
transition: var(--ui-anim);
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
2021-05-02 13:44:46 +00:00
|
|
|
background: inherit;
|
|
|
|
color: inherit;
|
2022-11-12 13:40:17 +00:00
|
|
|
border: none;
|
|
|
|
padding-inline: initial;
|
2021-05-02 13:44:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
*:disabled,
|
2023-05-23 07:39:19 +00:00
|
|
|
.disabled {
|
2021-05-02 13:44:46 +00:00
|
|
|
opacity: 0.5;
|
2021-05-02 01:08:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
2021-12-20 23:15:04 +00:00
|
|
|
|
|
|
|
.box {
|
|
|
|
width: 100%;
|
2021-12-22 12:10:08 +00:00
|
|
|
min-height: min(calc(100vh - 30rem), 20rem);
|
2021-12-20 23:15:04 +00:00
|
|
|
margin: 0;
|
|
|
|
border: 2px solid var(--ui-bg-1);
|
|
|
|
resize: vertical;
|
|
|
|
outline: none;
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 30rem) {
|
|
|
|
.box {
|
|
|
|
min-height: calc(100vh - 25rem);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.box:hover,
|
|
|
|
.box:focus {
|
|
|
|
border-color: var(--ui-clr-primary);
|
|
|
|
}
|
2021-12-22 12:10:08 +00:00
|
|
|
|
|
|
|
.tr {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2023-05-23 07:39:19 +00:00
|
|
|
|
|
|
|
hr {
|
|
|
|
border: none;
|
|
|
|
border-bottom: 2px solid var(--ui-bg-1);
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|