fix(docs): the section you are in is highlighted in the top tabs (#6603)

* fix(docs): the section you are in is highlighted in the top tabs

* fix(docs): highlight the tab the page marks as current
This commit is contained in:
Miguel Ángel
2026-10-27 20:43:58 -04:00
committed by GitHub
parent 439d685678
commit 7e92aec502
+8 -2
View File
@@ -503,9 +503,15 @@ samp {
color: var(--hf-heading);
}
#navbar .nav-tabs-item.text-primary {
background: color-mix(in srgb, var(--hf-heading) 9%, transparent);
#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);
color: var(--hf-heading) !important;
font-weight: 600;
}
#navbar .nav-tabs-item:focus:not(:focus-visible) {
outline: none;
}
#navbar .nav-tabs-item > .absolute.bottom-0 {