Added Sidebar

This commit is contained in:
2026-01-21 05:03:45 +00:00
parent 2060b436cc
commit cf5cd786e9
20 changed files with 1230 additions and 30 deletions

View File

@@ -1,8 +1,41 @@
body {
font-family:
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
sans-serif;
margin: auto;
max-width: 38rem;
padding: 2rem;
font-family: "Fira Sans", sans-serif, monospace !important;
}
.sidebar {
height: 100vh;
transition: width 0.2s ease;
overflow: hidden;
p, button, span {
/* Needed to prevent line break during sidebar toggle animation */
overflow: hidden;
white-space: nowrap
}
}
.sidebar-open {
width: 14rem;
}
.sidebar-closed {
width: 4rem;
}
.sidebar-listItem {
height: 2.25rem;
border-radius: 0.25rem;
padding: 0.375rem 0.75rem;
&:hover {
background-color: #1b1e21;
}
}
.noteEditor {
background-color: #1b1e21;
}
.noteEditor-container {
background-color: #1b1e21;
}