Style Guide
Visual reference for typography, components, and patternsCreated Content
This page shows all styling elements in one place for comparison and iteration.
Font Sandbox
Candidate display fonts for headings and the homepage masthead. Body text stays Inter.
Display Fonts — Heading Samples
Alegreya — literary, calligraphic
DMDocs
Rules · Spellbook · Bestiary · Magic Items
The quick brown fox jumps over the lazy dog
Vollkorn — sturdy, scholarly
DMDocs
Rules · Spellbook · Bestiary · Magic Items
The quick brown fox jumps over the lazy dog
Crimson Pro — elegant, scholarly
DMDocs
Rules · Spellbook · Bestiary · Magic Items
The quick brown fox jumps over the lazy dog
Space Grotesk — geometric, modern
DMDocs
Rules · Spellbook · Bestiary · Magic Items
The quick brown fox jumps over the lazy dog
Lexend — readable, slightly quirky
DMDocs
Rules · Spellbook · Bestiary · Magic Items
The quick brown fox jumps over the lazy dog
Inter (current) — baseline
DMDocs
Rules · Spellbook · Bestiary · Magic Items
The quick brown fox jumps over the lazy dog
Monospace Fonts — Count/Data Samples
JetBrains Mono
339 spells · 330 monsters · 257 items · 100+ pages · CR 0–30
IBM Plex Mono
339 spells · 330 monsters · 257 items · 100+ pages · CR 0–30
System monospace (current)
339 spells · 330 monsters · 257 items · 100+ pages · CR 0–30
Color Palette
Accent colors are set per-section via CSS custom properties. HSL format: H S% L%
Current Accents
48 85% 48%38 85% 40%Dark / Light350 70% 45%350 70% 40%Dark / Light182 70% 40%182 70% 35%Dark / Light270 35% 55%270 30% 45%Dark / LightArtifact Palette (Current)
Muted, desaturated colors that feel like a wizard's study.
48 85% 48%Vibrant gold, current brand350 55% 40%Medieval, rich, dangerous18 70% 45%Earthy, leather-bound tomes185 50% 35%Mysterious, not the typical tech blue90 40% 35%Earthy green, very un-Tailwind30 50% 38%Warm neutral, artifact feel270 35% 45%Arcane, aged magicImplementation
Set in layout files via CSS variables:
Typography
Heading Hierarchy
Heading 2 — Major Section
Heading 3 — Subsection
Heading 4 — Detail Header
Body Text
This is standard body text. It should be comfortable to read at length. The quick brown fox jumps over the lazy dog. Bold text draws attention to key terms. Italic text is used for flavor, emphasis, or game term categories.
A second paragraph tests spacing between blocks. Lists, tables, and other elements should flow naturally from prose without excessive gaps.
Links
Here is a standard link within body text, and here is a link to another page.
Lists
Unordered List
- First item with brief content
- Second item that spans multiple lines to show how wrapping behaves in the current typography settings
- Third item
- Nested item one
- Nested item two
- Fourth item
Ordered List
- First numbered item
- Second numbered item with more text to show line wrapping behavior
- Third numbered item
- Nested numbered item
- Another nested item
Definition-Style (Bold Lead)
Ability Score Increase. Increase one ability score of your choice by 1, to a maximum of 20.
Damage Reduction. When you're hit by an attack while wearing Heavy armor, any Bludgeoning, Piercing, or Slashing damage is reduced by your Proficiency Bonus.
Spellcasting Focus. You can use an arcane focus as a spellcasting focus for your wizard spells.
Tables
Simple Two-Column
| Trait | Value |
|---|---|
| Primary Ability | Strength |
| Hit Die | d12 |
| Saving Throws | Strength, Constitution |
Multi-Column Data Table
| Level | Proficiency | Features | Rages | Damage |
|---|---|---|---|---|
| 1 | +2 | Rage, Unarmored Defense | 2 | +2 |
| 2 | +2 | Danger Sense, Reckless Attack | 2 | +2 |
| 3 | +2 | Barbarian Subclass, Primal Knowledge | 3 | +2 |
| 4 | +2 | Ability Score Improvement | 3 | +2 |
| 5 | +3 | Extra Attack, Fast Movement | 3 | +2 |
Spell Table Format
| Spell | School | Special |
|---|---|---|
| Fireball | Evocation | — |
| Detect Magic | Divination | C, R |
| Revivify | Necromancy | M |
| Counterspell | Abjuration | — |
Tabs Component
Content inside the first tab. This is where tier-specific class features or species lineages would appear.
Subheading in Tab
- List item in tab
- Another list item
Callouts
Note
This is an informational callout for tips or clarifications.
Warning
This is a warning callout for important cautions.
Error
This is an error callout for critical information.
Blockquotes
This is a blockquote, typically used for flavor text or quoted material from the source. It should be visually distinct but not overwhelming.
Horizontal Rules
Content above a horizontal rule.
Content below a horizontal rule. Rules separate major sections.
Combined Example: Feat Entry
Great Weapon Master
General Feat (Prerequisite: Level 4+, Strength 13+)
You've learned to use the weight of a weapon to your advantage, granting you the following benefits:
Ability Score Increase. Increase your Strength score by 1, to a maximum of 20.
Heavy Weapon Mastery. When you hit a creature with a weapon that has the Heavy property as part of the Attack action on your turn, you can cause the weapon to deal extra damage to the target. The extra damage equals your Proficiency Bonus.
Hew. Immediately after you score a Critical Hit with a Melee weapon or reduce a creature to 0 Hit Points with one, you can make one attack with the same weapon as a Bonus Action.
Combined Example: Class Traits Table
| Trait | Value |
|---|---|
| Primary Ability | Strength |
| Hit Point Die | D12 per Barbarian level |
| Saving Throw Proficiencies | Strength and Constitution |
| Skill Proficiencies | Choose 2: Animal Handling, Athletics, Intimidation, Nature, Perception, or Survival |
| Weapon Proficiencies | Simple and Martial weapons |
| Armor Training | Light and Medium armor and Shields |
| Starting Equipment | Choose A or B: (A) Greataxe, 4 Handaxes, Explorer's Pack, and 15 GP; or (B) 75 GP |
Combined Example: Species Entry
Elf Traits
| Trait | Value |
|---|---|
| Creature Type | Humanoid |
| Size | Medium (about 5–6 feet tall) |
| Speed | 30 feet |
| Life Span | 750 years on average |
Darkvision. You have Darkvision with a range of 60 feet.
Fey Ancestry. You have Advantage on saving throws you make to avoid or end the Charmed condition.
Keen Senses. You have proficiency in the Perception skill.
Trance. You don't need to sleep, and magic can't put you to sleep. You can finish a Long Rest in 4 hours if you spend those hours in a trancelike meditation, during which you retain consciousness.
Spacing Reference
The following shows stacked elements to evaluate vertical rhythm:
Section A
First paragraph of section A.
Second paragraph of section A.
Section B
First paragraph of section B with a list following:
- Item one
- Item two
- Item three
And then continuing prose after the list.
Section C
| Data | Value |
|---|---|
| Row 1 | 10 |
| Row 2 | 20 |
Text immediately after a table to show spacing.