tlm/css/base.css
2025-03-27 10:29:33 -04:00

158 lines
2.2 KiB
CSS

:root {
--background: #190b14;
--text: #c5b8ca;
--subtext: #c5a8ca80;
--border: #d8a4c62a;
--input-background: #2e1425;
--button-background: #3c1a30;
--button-hover-background: #5e2a4e;
--accent: #d8a4c6;
--red: #d67677;
--yellow: #d3d381;
color-scheme: dark;
}
::selection {
background-color: var(--accent);
color: var(--background);
}
body {
position: absolute;
top: 0;
left: 0;
background-color: var(--background);
color: var(--text);
min-height: calc(100vh - 16px);
width: calc(100vw - 16px);
overflow-x: hidden;
margin: 8px;
text-align: center;
font-family: sans-serif;
font-size: 18px;
}
h3, h4 {
margin-bottom: 0;
}
input,
select,
button {
background-color: var(--input-background);
color: var(--color);
border: 1px solid var(--border);
padding: 3px 5px;
border-radius: 7.5px;
margin: 2px;
}
input:focus,
select:focus,
button:focus {
outline: 2px solid var(--subtext);
}
input::placeholder,
i,
.gray {
color: var(--subtext);
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a.plain {
color: var(--color);
}
ul {
margin: 0;
padding-left: 25px;
}
details {
margin: 20px 0;
}
details:not([open]) summary {
font-size: 12px;
color: var(--subtext);
}
summary {
cursor: pointer;
}
blockquote {
margin: 10px 0;
padding-left: 10px;
border-left: 4px solid var(--subtext);
}
code {
font-family: monospace;
padding: 1px 3px;
background-color: var(--input-background);
border-radius: 3px;
}
.right {
text-align: right;
}
.err,
.conf {
border-width: 2px;
border-style: dashed;
padding: 20px;
border-radius: 20px;
max-width: 400px;
margin: 0 auto;
margin-bottom: 20px;
}
.err {
color: var(--red);
border-color: var(--red);
}
.conf {
color: var(--text);
border-color: var(--accent);
}
.red {
color: var(--red);
}
.yellow {
color: var(--yellow);
}
#container {
text-align: left;
margin: 0 10vw;
}
#settings-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 3px 30px;
}
#section-config {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
gap: 10px;
margin-bottom: 10px;
}