Commit c0c7bf7
committed
docs(css): border card-title code chips to match Furo prose chips
Furo applies its 1px chip border only to <code> inside a <p> (via the
SCSS `p & { border: ... }` rule). sphinx-design card titles are bare
<div class="sd-card-title">, so tool-name code chips in the tools /
prompts / resources grids were rendering as plain highlighted spans —
visually inconsistent with every other inline code chip on the site.
Add project-cards.css with one scoped rule extending the same
`var(--color-background-border)` border to code.literal and .sig-inline
inside .sd-card-title. Three pages affected (tools/*/ scope indices,
prompts, resources), zero markup changes, zero extension changes.1 parent d62b5df commit c0c7bf7
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
0 commit comments