mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
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:
+4
-10
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user