plakken/static/style.css

187 lines
3.1 KiB
CSS
Raw Normal View History

@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=JetBrains+Mono&display=swap");
section#recent-plaks {
bottom: 1rem;
display: flex;
flex-flow: column wrap;
gap: 9px;
position: absolute;
right: 1rem;
transition: 0.15s ease-in-out;
user-select: none;
}
section#recent-plaks .title {
align-items: center;
gap: 18px;
transition: 0.15s ease-in-out;
}
section#recent-plaks .title:hover {
border-color: #555;
}
section#recent-plaks .recent-plak {
align-items: center;
border: 3px solid #363636;
font-weight: 500;
justify-content: space-between;
outline: none;
padding: 8px 18px;
text-decoration: none;
transition: 0.15s ease-in-out;
width: 12rem;
}
section#recent-plaks .recent-plak:focus-visible {
border: 2px solid #bbb;
}
section#recent-plaks .recent-plak svg {
border-radius: 15px;
cursor: pointer;
height: 22px;
padding: 5px;
2024-02-26 01:24:05 +01:00
stroke: #e5e5e7;
stroke-width: 2.25;
width: 22px;
transition: 0.1s ease-in-out;
}
section#recent-plaks .recent-plak svg:hover {
background-color: #363636;
}
section#recent-plaks a {
color: inherit;
text-decoration: none;
}
h3 {
font-size: 1.5rem;
margin: 0;
transition: 0.15s ease-in-out;
width: fit-content;
}
::selection {
background-color: #d30f45;
2024-02-26 01:24:05 +01:00
color: #e5e5e7;
}
::-webkit-scrollbar {
width: 9px;
}
::-webkit-scrollbar-track {
2024-02-26 01:24:05 +01:00
background-color: #0f0f0f;
}
::-webkit-scrollbar-thumb {
background-color: #444;
border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
2024-02-26 01:24:05 +01:00
background-color: #e5e5e7;
}
body {
2024-02-26 01:24:05 +01:00
background-color: #0f0f0f;
color: #e5e5e7;
font: 400 16px/2 "Inter", "system-ui", sans-serif;
margin: 0;
overflow-x: hidden;
}
.fr {
display: flex;
flex-flow: row wrap;
}
#line-numbers,
#content {
2024-02-26 01:24:05 +01:00
font: 400 14px/1.6 "JetBrains Mono", monospace;
}
#line-numbers {
color: #888;
padding: 16px 1px;
text-align: center;
white-space: pre;
width: 30px;
}
#content {
2024-02-26 01:24:05 +01:00
color: #e5e5e7;
height: 100%;
min-height: 90vh;
padding: 16px 16px 0 16px;
width: calc(100vw - 65px);
}
.menu {
gap: 18px;
position: fixed;
right: 16px;
top: 16px;
}
.menu svg {
cursor: pointer;
height: 24px;
fill: none;
margin-bottom: -6px;
2024-02-26 01:24:05 +01:00
stroke: #e5e5e7;
stroke-width: 2;
width: 24px;
}
button,
input,
select {
2024-02-26 01:24:05 +01:00
background-color: #0f0f0f;
border: 2px solid #363636;
2024-02-26 01:24:05 +01:00
color: #e5e5e7;
font: 500 14px/2 "Inter", "system-ui", sans-serif;
max-width: 145px;
outline: none;
padding: 3px 10px;
transition: border 0.15s ease;
width: min-content;
}
button::placeholder,
input::placeholder,
select::placeholder {
color: #888;
}
button:hover,
input:hover,
select:hover {
border-color: #777;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
border: 2px solid #bbb;
}
select {
padding: 8px 10px;
2024-02-26 01:24:05 +01:00
width: fit-content;
2023-10-08 14:06:05 +02:00
}
select:focus {
2024-02-26 01:24:05 +01:00
background-color: #0f0f0f;
transition: none;
}
² option {
2024-02-26 01:24:05 +01:00
background-color: #0f0f0f;
color: #e5e5e7;
}
² option:focus {
background-color: #d30f45;
2024-02-26 01:24:05 +01:00
color: #0f0f0f;
}
textarea {
background-color: inherit;
border: none;
margin: 0;
outline: none;
resize: none;
}