Skip to content

fix: Add CSS styles for AsciiDoc definition lists#78

Merged
raifdmueller merged 1 commit intoLLM-Coding:mainfrom
raifdmueller:main
Feb 13, 2026
Merged

fix: Add CSS styles for AsciiDoc definition lists#78
raifdmueller merged 1 commit intoLLM-Coding:mainfrom
raifdmueller:main

Conversation

@raifdmueller
Copy link
Contributor

Problem

Definition lists in anchor files were not visually styled, making them indistinguishable from regular text.

Solution

Add proper CSS styling for AsciiDoc definition list elements:

Definition Terms (dt):

  • Bold font weight
  • Proper vertical spacing
  • Clear visual hierarchy

Definitions (dd):

  • Indented 2rem for clear structure
  • Appropriate bottom margin

Nested Definition Lists:

  • Support for ::: syntax (nested definitions)
  • Lighter font weight for nested terms
  • Additional indentation

Visual Example

Before (no styling):

Lightweight documentation Short, focused records
Immutability ADRs are never deleted

After (with styling):

Lightweight documentation
  Short, focused records

Immutability
  ADRs are never deleted

Testing

  • Tested locally with definition lists
  • Nested definition lists render correctly
  • Dark mode compatible

🤖 Generated with Claude Code

- Add proper styling for dl, dt, dd elements
- Bold labels (dt) with proper spacing
- Indented definitions (dd)
- Support for nested definition lists (:::)
- Matches existing AsciiDoc content style

Fixes definition lists not being visually distinguishable.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@raifdmueller raifdmueller merged commit 2aaa600 into LLM-Coding:main Feb 13, 2026
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