Mascot Style Guide¶
This page renders every mascot admonition style so you can verify colors, image sizes, and text-wrapping behavior at a glance. Use it as a regression check after changing docs/css/mascot.css or regenerating any of Bloom's poses.
A Note from Bloom
This is the neutral style — used for general sidebars, definitions, or
commentary that doesn't call for a specific emotional tone. Keep the
body brief, two or three sentences.
Welcome to the Chapter
Use this style at the start of each chapter. Bloom introduces the
topic and names what the reader will be able to do by the end.
"Let's build a mental model."
Key Insight
Use this style for the one or two concepts in a chapter that everything
else hangs on. The reader should pause here. Two to three per chapter
is the sweet spot — more than that and nothing feels "key" anymore.
Bloom's Tip
Use this style for practical shortcuts, useful heuristics, or
"next time you're doing X, try Y" guidance. Tips are optional reading;
the chapter must make sense without them.
Watch Out!
Use this style for common misconceptions, tempting-but-wrong answers,
and the kinds of mistakes that research consistently shows students
make. The tone is caring, not scolding.
You've Got This
Use this style before or during a section that learners commonly
find difficult. Name the difficulty explicitly and normalize the
struggle — that framing itself is a motivation intervention.
Well Done!
Use this style at the end of chapters or after a reader completes a
major milestone (e.g., their first MicroSim, first mascot admonition,
first deployed chapter). One per major milestone.
Variant: text-only length check¶
Each admonition needs enough body text to wrap around the floated image without leaving an awkward gap. If a body is too short, the next element will clear the float and create visible empty space. Aim for at least four lines of body at standard widths:
Longer-body Test
This admonition intentionally contains more text to demonstrate how
the body wraps cleanly to the right of Bloom's image. If the rendering
looks broken — for example, the text overlaps the image, or the image
appears above rather than beside the text — re-check that md_in_html
is in markdown_extensions in mkdocs.yml, and that docs/css/mascot.css
is listed in extra_css. The .mascot-admonition-img class applies
float: left with a right-margin so the body text wraps naturally.
What to check on this page¶
- Colors: each admonition's title bar and body match the palette in
docs/css/mascot.css. - Image size: every mascot is roughly 90px square. If one looks dramatically smaller, run the padding trimmer on that PNG.
- Identity consistency: Bloom's face, glasses, and body proportion look the same across all seven poses. If one pose drifts (different eye shape, missing glasses, wrong color), regenerate it.
- Celebration contrast: the dark-purple background should make the pale confetti sparkles readable. If sparkles disappear, the celebration.png was rendered against a light background — regenerate with a dark-aware prompt or adjust the admonition palette.
- Float behavior: body text wraps to the right of the image; no awkward vertical gaps.