body {
height: 95vh;
padding: 0;
}
.sidebar {
width: 200px;
height: 100%;
position: fixed;
top: 0;
left: 0;
background-color: black;
overflow-x: hidden;
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
font-size: small;
}
.sidebar p {
color: white;
display: inline-block;
}
.sidebar a {
color: white;
text-decoration: none;
display: block;
}
ul#list-filenames {
list-style-type: none;
padding: 0;
}
ul#list-filenames li {
color: white;
display: block;
overflow: hidden;
white-space: nowrap;
}
ul#list-filenames li.highlight {
font-weight: bold;
}
#settings input {
height: 0;
width: 0;
visibility: hidden;
}
#settings label {
top: 0.25em;
cursor: pointer;
text-indent: -9999px;
width: 40px;
height: 20px;
background: grey;
display: inline-block;
position: relative;
}
#settings label:after {
content: "";
position: absolute;
top: 1px;
left: 1px;
width: 18px;
height: 18px;
background: white;
transition: 0.5s;
}
#settings input:checked + label {
background: seagreen;
}
#settings input:checked + label:after {
left: calc(100% - 1px);
transform: translateX(-100%);
}
#settings label:active:after {
width: 130px;
}
.container {
width: calc(100% - 200px);
height: 100%;
margin-left: 200px;
transition: all 0.4s ease-out;
display: none;
}
.container.focused {
display: block;
}
#container-editor {
border: 1px solid #ccc;
overflow: hidden;
}