rc 1.0
This commit is contained in:
@@ -32,7 +32,14 @@ nav {
|
||||
background: rgba(14, 14, 14, 0.9);
|
||||
backdrop-filter: blur(10px);
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding: 20px 40px;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
nav > div {
|
||||
max-width: 1200px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
@@ -44,6 +51,24 @@ nav .brand {
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.mobile-menu-toggle {
|
||||
display: none;
|
||||
background: transparent;
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text);
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
nav .links {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
nav .links a {
|
||||
margin-left: 28px;
|
||||
font-size: 14px;
|
||||
@@ -54,6 +79,60 @@ nav .links a:hover {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
nav > div {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
nav > div > div:first-child {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.mobile-menu-toggle {
|
||||
display: block;
|
||||
}
|
||||
|
||||
nav .links {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
margin-top: 20px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid var(--border);
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
nav .links.mobile-open {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
nav .links a {
|
||||
margin-left: 0;
|
||||
padding: 12px 0;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
nav .links a:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
nav .links span,
|
||||
nav .links button {
|
||||
margin-left: 0 !important;
|
||||
margin-top: 12px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
nav .links button {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
.unlock-bar {
|
||||
background: var(--bg-soft);
|
||||
border-bottom: 1px solid var(--border);
|
||||
@@ -61,6 +140,13 @@ nav .links a:hover {
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.unlock-bar > div {
|
||||
max-width: 1200px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.unlock-bar strong {
|
||||
|
||||
Reference in New Issue
Block a user