docs: the current top tab is a quiet grey pill again, not a green ring (#7055)

* docs: the current top tab is a quiet grey pill again, not a green ring

* docs: the Docs tab keeps its grey pill on docs pages, where Mintlify marks it .text-primary
This commit is contained in:
Ular Kimsanov
2026-11-04 18:09:39 +00:00
committed by GitHub
parent 7128dc0599
commit 71b67ccf49
+4 -10
View File
@@ -503,11 +503,11 @@ samp {
color: var(--hf-heading);
}
#navbar .nav-tabs-item[aria-current] {
background: var(--hf-brand-soft);
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hf-brand) 55%, transparent);
/* Mintlify marks the current tab with aria-current, except the Docs dropdown, which gets .text-primary instead */
#navbar .nav-tabs-item[aria-current],
#navbar .nav-tabs-item.text-primary {
background: color-mix(in srgb, var(--hf-heading) 9%, transparent);
color: var(--hf-heading) !important;
font-weight: 600;
}
#navbar .nav-tabs-item:focus:not(:focus-visible) {
@@ -1421,12 +1421,6 @@ h2 { clear: both; }
-webkit-backdrop-filter: blur(20px);
}
@media (min-width: 1024px) {
#navbar .nav-tabs-item.text-primary {
background: var(--hf-chip);
}
}
/* Headlines: hyperframes.dev's heavy, tight TT Norms. */
#page-title {
font-size: clamp(2.25rem, 4vw, 3.5rem);