add correct name and improve navbar

This commit is contained in:
2026-04-05 12:38:04 +02:00
parent 4510d9e72e
commit c767c0b1a0
9 changed files with 111 additions and 25 deletions

View File

@@ -25,6 +25,13 @@
z-index: 20;
}
.sidebar-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
}
.brand {
color: #e6edf3;
font-size: 1.05rem;
@@ -63,6 +70,35 @@
outline: none;
}
.burger {
display: none;
width: 2.25rem;
height: 2.25rem;
border: 1px solid #30363d;
border-radius: 10px;
background: rgba(13, 17, 23, 0.65);
cursor: pointer;
padding: 0.25rem;
}
.burger span {
display: block;
width: 1.2rem;
height: 2px;
margin: 0.24rem auto;
background: #e6edf3;
}
.site-footer {
margin-top: 2rem;
text-align: center;
color: #8b949e;
}
.site-footer p {
margin: 0;
}
@media (max-width: 1320px) {
.content {
max-width: 1040px;
@@ -79,3 +115,38 @@
flex-wrap: wrap;
}
}
@media (max-width: 768px) {
.content {
padding-top: calc(6.5rem + env(safe-area-inset-top));
}
.sidebar {
position: fixed;
top: 0.75rem;
right: 0.75rem;
left: 0.75rem;
width: auto;
margin: 0;
gap: 0.6rem;
border-radius: 16px;
}
.subtitle {
display: none;
}
.burger {
display: inline-block;
}
.nav {
display: none;
flex-direction: column;
gap: 0.4rem;
}
.nav.nav-open {
display: flex;
}
}