Skip to content

Commit 4cee7be

Browse files
authored
docs: one Docs menu and Catalog in the top bar (#6860)
Make a video, Studio app and Developers move into a Docs menu (each keeps its own sidebar), with Free lessons, Community and the app changelog under them; Catalog stays a tab. The top-bar copy of Ask Assistant goes (Ask stays in search and the page's bottom bar); the logo opens the homepage; the button reads Download.
1 parent 359b6c8 commit 4cee7be

2 files changed

Lines changed: 280 additions & 248 deletions

File tree

‎docs/custom.css‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,13 +589,22 @@ samp {
589589
background: color-mix(in srgb, var(--hf-text) 46%, transparent);
590590
}
591591

592-
/* Preserve a useful search field on smaller desktop widths. */
593-
@media (min-width: 1024px) and (max-width: 1199px) {
592+
/*
593+
* Ask Assistant already sits in the ⌘K search window and in the "Ask a question" bar at the foot of every
594+
* page, so the desktop bar drops its own copy (⌘I still opens it; phones keep theirs). #assistant-entry is
595+
* Mintlify's markup, not a setting: re-check after Mintlify updates.
596+
*/
597+
@media (min-width: 1024px) {
594598
#navbar #assistant-entry {
595599
display: none;
596600
}
597601
}
598602

603+
/* Top-bar Docs menu: titles in the heading colour so they stand apart from their grey one-line descriptions. */
604+
.nav-dropdown-item .font-medium {
605+
color: var(--hf-heading);
606+
}
607+
599608
/* Every structural hairline (header bottom, content rules, footer) is the palette's line,
600609
* never a light gray that would draw a pale stripe on the paper. */
601610
[class*="border-gray-200"],
@@ -1336,7 +1345,7 @@ div.h-px.bg-gray-100 {
13361345
/* ── UX-pass tweaks (Ular): brand the Playground CTA, align the logo ── */
13371346
@media (min-width: 1024px) {
13381347
/* Line the logo up with the sidebar text (was flush at the navbar padding, 16px further left). */
1339-
#navbar a[href*="/introduction"] {
1348+
#navbar a:has(> img.nav-logo) {
13401349
margin-left: 16px;
13411350
}
13421351

0 commit comments

Comments
 (0)