Repository navigation
Consolidate the duplicate rules in style.css - #3093
Conversation
The style port left later copies of several rules overriding earlier ones. Keep one rule per selector with the values that won, and drop the stale comments. The computed styles don't change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
/triage |
|
🤖 Automated message from the Stellar Triage Bot. Reviewing because @ElliotFriend asked with /triage. Verified: every removed declaration loses to a later same-selector rule on main, so the winning values match. The two noted diffs render the same, and Mintlify's own CSS has no Non-blocking: |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🤖 Automated message from the Stellar Triage Bot. Back on this because @ElliotFriend pushed a new commit. Verified: c13bad1 only drops the two extra blank lines from my earlier note. All checks pass and the preview serves the stylesheet. Ready to merge. |
Removes the rules in
style.cssthat a later rule always overrides, left over from the style port (#2940). The site should look exactly the same. The file goes from 703 to 611 lines.What changed
Several selectors were defined two or three times, and the later copy always won:
.fa-header,.fa-body,.fa-link, and.fa-link:hoverhad the same pattern.#footerandul:has(> li > a.nav-anchor): split across two rules each.Each selector now has one rule carrying the values that won. Stale comments are fixed, for example "Developer Hub as SDS tertiary" and "Tab bar (Home / Build / Learn...)".
How I checked it
!importantstatus, so it could never win. Where duplicate blocks set different properties, they're merged into the first block. No rule in between targets the same elements.#navigation-items a[aria-current] { text-shadow: none !important }is removed. The broader#navigation-items a { text-shadow: none !important }still applies to that link.bordershorthand now names gray-06 instead of lilac-09. The same rule'sborder-color: gray-06 !importantwas already setting the color in both versions.mint validatepasses.Please check on the preview
/sds-previewin light and dark.🤖 Generated with Claude Code