Skip to content

fix: Force sans-serif font on all card descendants#93

Merged
raifdmueller merged 5 commits into
LLM-Coding:mainfrom
raifdmueller:main
Feb 14, 2026
Merged

fix: Force sans-serif font on all card descendants#93
raifdmueller merged 5 commits into
LLM-Coding:mainfrom
raifdmueller:main

Conversation

@raifdmueller
Copy link
Copy Markdown
Contributor

Problem

Serif font from asciidoctor-scoped.css was bleeding into anchor cards, making card text appear in serif instead of sans-serif.

Solution

Extended the font-family override to cover all card-related containers:

  • .card-grid-container and descendants
  • .anchor-cards-grid and descendants
  • .anchor-card and descendants (already existed)

All now use: Inter, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important

Root Cause

.asciidoc-content uses:

font-family: 'Noto Serif', 'DejaVu Serif', serif;

This was cascading to cards due to CSS specificity.

Testing

✅ Build successful
✅ Cards now display in sans-serif font

@raifdmueller raifdmueller merged commit 753d85e into LLM-Coding:main Feb 14, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant