Update hectabitstyles.css

This commit is contained in:
Tracker-Friendly 2024-03-04 12:21:18 +00:00
parent d7a0999c3e
commit baa44c5476
1 changed files with 9 additions and 5 deletions

View File

@ -49,19 +49,22 @@ body {
/* Sidebar styles */ /* Sidebar styles */
.sidebar { .sidebar {
border-radius: 10px;
transition: all 0.3s ease; transition: all 0.3s ease;
background-color: var(--sidebar-color); background-color: var(--sidebar-color);
color: white; color: white;
padding: 20px; padding: 20px;
width: 250px; width: 250px;
position: fixed; position: fixed;
top: 0; top: 5px;
left: 0; left: 5px;
height: 100%; bottom: 5px;
overflow-y: auto; overflow-y: auto;
} }
.closebar { .closebar {
left: 2px;
top: 15px;
background-color: #0000; background-color: #0000;
overflow-y: hidden; overflow-y: hidden;
position: fixed; position: fixed;
@ -123,6 +126,7 @@ p1 {
} }
button { button {
border-radius: 5px;
border: none; border: none;
margin-top: 5px; margin-top: 5px;
padding: 10px; padding: 10px;
@ -160,11 +164,11 @@ button:hover {
} }
.closebar.expanded { .closebar.expanded {
transform: translateX(-290px); transform: translateX(-295px);
} }
.sidebar.hidden { .sidebar.hidden {
transform: translateX(-290px); transform: translateX(-295px);
} }
.content.expanded + .sidebar.hidden { .content.expanded + .sidebar.hidden {