--- name: presentation-styling description: Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation --- # Presentation Styling Skill CSS classes and HTML patterns used in `presentation/index.html`. ## CSS Component Classes ### Layout - `.two-col` — 2-column grid layout with 24px gap - `.info-grid` — 2-column grid for info cards - `.col-card` — Card inside a column (add `.good` for green border, `.bad` for red border) - `.info-card` — Card in an info grid ### Content Blocks - `.trigger-box` — Gray box with dark left border (for key concepts, prerequisites) - `.how-to-trigger` — Green box with green border (for "Try This" actions) - `.warning-box` — Orange box with warning border (for important warnings) - `.code-block` — Dark code display block with monospace font ### Lists - `.use-cases` — Container for icon+text list items - `.use-case-item` — Individual item with icon and text - `.feature-list` — Simple bordered list ### Tags & Badges - `.matcher-tag` — Gray inline pill tag - `.weight-badge` — Green pill badge (auto-injected by JS for weighted slides) ## Code Block Syntax Highlighting Inside `.code-block`, use these spans for syntax coloring: ```html
# This is a comment field_name: value > command to run
``` - `.comment` — Green (#6a9955) for comments - `.key` — Blue (#9cdcfe) for property names/keys - `.string` — Orange (#ce9178) for string values - `.cmd` — Yellow (#dcdcaa) for commands/prompts ## Slide Type Patterns ### Content Slide with Two Columns (Good vs Bad) ```html

Title

Before (Vibe Coding)

After (Agentic)

``` Do not hardcode `` in slide HTML. The presentation JavaScript injects and removes weight badges automatically. ### Content Slide with Code Example ```html

Title

Key Concept

Description

# Example field: value
``` ### Icon List Pattern ```html
EMOJI
Title Description text
``` ## Journey Bar Specific - `.journey-bar` — Fixed bar below progress bar - `.journey-bar.hidden` — Hidden on title slide - Journey bar color transitions from red (0%) to green (100%) via HSL interpolation - Weight badges are auto-injected by JS into `h1` elements of weighted slides