File size: 2,612 Bytes
fcf8749 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | .navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
padding: 16px 0;
transition: all 0.3s ease;
border-bottom: 1px solid transparent;
}
.navbar--scrolled {
background: rgba(5, 5, 8, 0.85);
backdrop-filter: blur(16px);
border-bottom-color: var(--border);
padding: 12px 0;
}
.navbar__inner {
display: flex;
align-items: center;
gap: 32px;
}
.navbar__logo {
display: flex;
align-items: center;
gap: 10px;
font-size: 18px;
font-weight: 700;
letter-spacing: -0.02em;
color: var(--text);
flex-shrink: 0;
}
.navbar__links {
display: flex;
align-items: center;
gap: 28px;
margin-left: auto;
}
.navbar__links a {
font-size: 14px;
color: var(--text-muted);
transition: color 0.2s;
font-weight: 500;
}
.navbar__links a:hover { color: var(--text); }
.navbar__link-docs { color: var(--purple-light) !important; }
.navbar__actions {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 16px;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
border: none;
text-decoration: none;
}
.btn--ghost {
background: transparent;
color: var(--text-muted);
border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }
.btn--primary {
background: linear-gradient(135deg, var(--purple), var(--blue));
color: white;
box-shadow: 0 0 24px rgba(249,115,22,0.3);
}
.btn--primary:hover {
box-shadow: 0 0 32px rgba(249,115,22,0.5);
transform: translateY(-1px);
}
.btn--lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.btn--outline {
background: transparent;
color: var(--text);
border: 1px solid var(--border);
}
.btn--outline:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
.navbar__hamburger {
display: none;
flex-direction: column;
gap: 4px;
background: none;
border: none;
cursor: pointer;
padding: 4px;
margin-left: auto;
}
.navbar__hamburger span {
display: block;
width: 20px;
height: 2px;
background: var(--text-muted);
border-radius: 2px;
transition: 0.2s;
}
@media (max-width: 768px) {
.navbar__links { display: none; }
.navbar__actions { display: none; }
.navbar__hamburger { display: flex; }
.navbar__links--open {
display: flex;
flex-direction: column;
position: absolute;
top: 100%;
left: 0; right: 0;
background: rgba(5,5,8,0.97);
padding: 16px 24px;
border-bottom: 1px solid var(--border);
}
}
|