plakken/static/style.css

92 lines
1.5 KiB
CSS
Raw Normal View History

:root {
2023-10-08 14:06:05 +02:00
--accent: #be0560;
--background: #141414;
--border: #333;
--text: #e2e2e2;
}
body {
background-color: var(--background);
color: var(--text);
font: 400 15px/2 "system-ui", monospace;
margin: 0;
}
2023-10-08 14:06:05 +02:00
button, textarea {
background-color: inherit;
border: none;
}
textarea {
color: var(--text);
font: 14px/1.6 "JetBrains Mono", monospace;
2023-10-08 14:06:05 +02:00
height: calc(100vh - 3rem);
outline: none;
padding: 1rem;
resize: none;
width: calc(100vw - 2rem);
}
nav {
align-items: end;
bottom: 1rem;
display: flex;
flex-flow: row wrap;
position: absolute;
right: 1rem;
}
ul {
display: flex;
flex-flow: row wrap;
gap: 2.6rem;
2023-10-08 14:06:05 +02:00
list-style: none;
margin: 0;
2023-10-08 14:06:05 +02:00
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;
2023-10-08 14:06:05 +02:00
outline: none;
padding: 5px 6px;
transition: border .15s ease;
}
2023-10-08 14:06:05 +02:00
input:hover, select:hover {
border-color: var(--text);
}
svg {
fill: none;
2023-10-08 14:06:05 +02:00
height: 26px;
stroke: var(--text);
stroke-width: 2;
stroke-linecap: round;
transition: .15s ease;
2023-10-08 14:06:05 +02:00
width: 26px;
}
2023-10-08 14:06:05 +02:00
svg:hover {
stroke: #fff;
}
2023-10-08 14:06:05 +02:00
input:focus-visible, select:focus-visible {
border: 2px solid var(--text);
}
button:focus-visible{
outline: none;
}
::selection {
2023-10-08 14:06:05 +02:00
background-color: var(--accent);
color: #fff;
}