|
110 | 110 | --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; |
111 | 111 | } |
112 | 112 | * { box-sizing: border-box; } |
113 | | - html { scroll-behavior: smooth; scroll-padding-top: 140px; } |
| 113 | + html { scroll-behavior: smooth; scroll-padding-top: 100px; } |
114 | 114 | body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; } |
115 | 115 | a { color: var(--green); text-decoration: none; text-underline-offset: 4px; } |
116 | 116 | a:hover { text-decoration: underline; } |
|
133 | 133 | .nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 28px; } |
134 | 134 | .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); letter-spacing: -.025em; white-space: nowrap; } |
135 | 135 | .brand svg { width: 27px; height: 27px; color: var(--green); } |
136 | | - .nav-links { display: flex; gap: 28px; align-items: center; font-size: 13px; } |
| 136 | + .nav-links { display: flex; gap: 24px; align-items: center; margin-left: auto; font-size: 13px; white-space: nowrap; } |
137 | 137 | .nav-links a { color: var(--muted); } |
138 | 138 | .nav-links a:hover { color: var(--green); } |
139 | | - .nav-links .nav-install { border: 1px solid var(--line); border-radius: 6px; padding: 8px 15px; color: var(--text); } |
140 | | - .community-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; padding-bottom: 12px; } |
141 | | - .community-badges a { display: inline-flex; } |
142 | | - .community-badges img { height: 20px; width: auto; } |
| 139 | + .nav-actions, .community-badges { display: flex; align-items: center; gap: 10px; } |
| 140 | + .community-link, .nav-install { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; } |
| 141 | + .community-link { color: var(--muted); background: var(--panel); } |
| 142 | + .community-link svg { width: 16px; height: 16px; flex: none; color: var(--green); } |
| 143 | + .nav-install { color: var(--green); background: var(--selected); } |
| 144 | + .community-link:hover, .nav-install:hover { color: var(--text); border-color: var(--green); text-decoration: none; } |
| 145 | + @media (max-width: 950px) { .nav-links { display: none; } } |
143 | 146 | .eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 23px; } |
144 | 147 | .hero { padding: 80px 0 0; } |
145 | 148 | .hero-top { display: grid; grid-template-columns: 1fr 270px; gap: 65px; align-items: end; } |
|
254 | 257 | @media (max-width: 950px) { |
255 | 258 | .hero-top { grid-template-columns: 1fr; gap: 25px; } |
256 | 259 | .hero-aside { display: none; } |
257 | | - .nav-links { gap: 17px; } |
258 | 260 | .section-head { align-items: start; gap: 30px; } |
259 | 261 | .section-head p { max-width: 300px; } |
260 | 262 | .connection-grid { gap: 24px; } |
|
266 | 268 | } |
267 | 269 | @media (max-width: 680px) { |
268 | 270 | .container { width: calc(100% - 36px); } |
269 | | - .nav { min-height: 65px; gap: 12px; } |
| 271 | + html { scroll-padding-top: 140px; } |
| 272 | + .nav { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 0; } |
| 273 | + .nav .brand { grid-column: 1; grid-row: 1; } |
| 274 | + .nav-actions { display: contents; } |
| 275 | + .nav-install { grid-column: 2; grid-row: 1; } |
| 276 | + .community-badges { grid-column: 1 / -1; grid-row: 2; } |
| 277 | + .community-link { flex: 1; } |
270 | 278 | .brand { font-size: 14px; } |
271 | 279 | .brand svg { width: 23px; } |
272 | | - .nav-links { gap: 12px; font-size: 12px; } |
273 | | - .nav-links .desktop-link { display: none; } |
274 | | - .nav-links .nav-install { padding: 7px 12px; } |
275 | 280 | .hero { padding-top: 50px; } |
276 | 281 | h1 { font-size: clamp(42px, 10.5vw, 64px); } |
277 | 282 | .hero-intro { font-size: 17px; } |
|
318 | 323 | Codebase Memory |
319 | 324 | </a> |
320 | 325 | <div class="nav-links"> |
321 | | - <a class="desktop-link" href="#features">Capabilities</a> |
322 | | - <a class="desktop-link" href="#lens">Lens beta</a> |
323 | | - <a class="desktop-link" href="#smart-ci">Smart CI</a> |
324 | | - <a href="https://github.com/DeusData/codebase-memory-mcp">GitHub ↗</a> |
| 326 | + <a href="#features">Capabilities</a> |
| 327 | + <a href="#lens">Lens beta</a> |
| 328 | + <a href="#smart-ci">Smart CI</a> |
| 329 | + </div> |
| 330 | + <div class="nav-actions"> |
| 331 | + <div class="community-badges" role="group" aria-label="Community links"> |
| 332 | + <a class="community-link" href="https://discord.gg/KguGXxg2X" title="Join the community on Discord"><svg viewBox="0 0 16 16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 2.5h10v8H7l-3.5 3v-3H3z"/><path d="M5.5 5.5h5M5.5 8h3"/></svg>Discord</a> |
| 333 | + <a class="community-link" href="https://github.com/DeusData/codebase-memory-mcp" title="Star Codebase Memory on GitHub"><svg viewBox="0 0 16 16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m8 1.5 2 4.1 4.5.7-3.3 3.2.8 4.5L8 11.9 4 14l.8-4.5L1.5 6.3l4.5-.7z"/></svg>Star on GitHub</a> |
| 334 | + </div> |
325 | 335 | <a class="nav-install" href="#install">Get started</a> |
326 | 336 | </div> |
327 | 337 | </nav> |
328 | | - <nav class="container community-badges" aria-label="Community links"><a href="https://discord.gg/KguGXxg2X"><img src="https://img.shields.io/badge/Discord-Join_the_community-5865F2?logo=discord&logoColor=white" alt="Join the community on Discord" width="187" height="20"></a><a href="https://github.com/DeusData/codebase-memory-mcp"><img src="https://img.shields.io/github/stars/DeusData/codebase-memory-mcp?style=social&label=Star%20on%20GitHub" alt="Star Codebase Memory on GitHub" height="20"></a></nav> |
329 | 338 | </header> |
330 | 339 | <main id="main" class="container"> |
331 | 340 | <section class="hero" id="what-is-it"> |
|
0 commit comments