Merge branch 'main' of hectabit.org:HectaBit/hectabit-website

This commit is contained in:
Tracker-Friendly 2024-03-04 19:31:08 +00:00
commit 7e8cbecac5
1 changed files with 10 additions and 6 deletions

View File

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