plakken/static/style.css

112 lines
No EOL
1.8 KiB
CSS

:root {
--accent: #be0560;
--background: #141414;
--border: #333;
--text: #e9e9e9;
}
body {
background-color: var(--background);
color: var(--text);
font: 400 15px/2 "system-ui", monospace;
margin: 0;
}
form {
display: flex;
flex-flow: row wrap;
}
button, textarea {
background-color: inherit;
border: none;
outline: none;
resize: none;
}
#lines {
color: #999;
font: 400 14px/1.6 "JetBrains Mono", monospace;
height: calc(100vh - 3rem);
overflow-y: hidden;
padding: 10px 0;
text-align: center;
user-select: none;
width: 26px;
}
#content {
color: var(--text);
font: 400 14px/1.6 "JetBrains Mono", monospace;
height: calc(100vh - 3rem);
padding: 10px 10px 10px 6px;
width: calc(100vw - 42px);
}
pre {
margin: 15px;
}
nav {
align-items: end;
bottom: 1rem;
display: flex;
flex-flow: row wrap;
position: absolute;
right: 1rem;
}
ul {
display: flex;
flex-flow: row wrap;
gap: 36px;
list-style: none;
margin: 0;
padding: 0 1.9rem;
}
label {
display: block;
}
input, select {
background-color: var(--background);
border: 2px solid var(--border);
border-radius: 2px;
color: var(--text);
font-size: 15px;
outline: none;
padding: 6px 8px;
transition: border .15s ease;
}
input:hover, select:hover {
border-color: var(--text);
}
svg {
fill: none;
height: 26px;
stroke: var(--text);
stroke-width: 2;
stroke-linecap: round;
transition: .15s ease;
width: 26px;
}
svg:hover {
stroke: #fff;
}
input:focus-visible, select:focus-visible {
border: 2px solid var(--text);
}
button:focus-visible {
outline: none;
}
::selection {
background-color: var(--accent);
color: #fff;
}