Skip to content

Latest commit

 

History

History

css-snippets

Optional CSS Snippets

The following CSS snippets have been created to further customize the look of the generated content.

  • 5eTools
    • dnd5e-only-admonitions.css - styles for 5e admonitions (charm, gallery, flowchart, letter, npc, scene, skill, weather)
    • dnd5e-float-images.css - formatted image types using anchor tags
      • #card (used with decks): float right; width: 150px
      • #center: centered; max-height: 60% of height
      • #portrait: float right; width: 200px
      • #right: float right; max-height: 60% of height; max-width: 50%
      • #symbol (deities): float right; width: 200px
      • #token (statblocks): float right; width: 150px
    • dnd5e-only-statblock.css - statblock with floating token image (only)
    • dnd5e-compendium.css - admonitions + statblock + float images (center, card, symbol, token, right, portrait)
  • PF2eTools
  • Other

Styles for Fantasy Statblocks

Compendium (*-compendium) snippets include styles for statblocks.

If you aren't using a *-compendium snippet, you may want to download either dnd5e-only-statblocks.css or pf2-only-statblocks.css to style your statblocks.

Caution

⚠️ Do not use an *-only-statblock.css snippet and a *-compendium.css snippet together.