Markdown Stylesheet
Markdown Content & Callouts
Layout
Markdown content enhancements for editorial prose, notes, and digital gardens. Covers Obsidian-compatible callout blocks, automatic multi-image gallery rhythm layouts, image captions, and interconnected mycelial wikilinks.
| Name | Description | Value |
|---|---|---|
.callout |
Container callout card with raised shadow and ring border. | |
.callout-title |
Header title for callout. | |
.callout-content |
Body content within callout. | |
details.callout |
Collapsible fold callout using native HTML details. | |
.callout-fold |
Content wrapper of a collapsible callout; its margin is reset so the fold sits flush. | |
.callout-title-icon |
The icon before a callout title; hidden on caption callouts. | |
.mycelial-link, |
.mycelial-graft Dotted-underline links to another note, with a help cursor and accent hover. | |
--gap-grid-img |
Micro-gap separating adjacent images in rhythm grids (var(--space-half)). |
var(--space-half) |
A note callout and a warning callout
<div class="callout" data-callout="note">
<div class="callout-title"><span class="callout-title-inner">Note</span></div>
<div class="callout-content"><p>A callout sits on a raised surface with a tinted edge.</p></div>
</div>
<div class="callout" data-callout="warning">
<div class="callout-title"><span class="callout-title-inner">Warning</span></div>
<div class="callout-content"><p>The same callout in the warning hue.</p></div>
</div>
Live
Note
A callout sits on a raised surface with a tinted edge.
Warning
The same callout in the warning hue.
A collapsible callout uses native details
<details class="callout" data-callout="info" open>
<summary class="callout-title"><span class="callout-title-inner">Folds on click</span></summary>
<div class="callout-content"><p>No script: the browser handles the fold.</p></div>
</details>
Live
Folds on click
No script: the browser handles the fold.
Links to another note in the garden
<p>Read more in <a class="mycelial-link" href="#">another note</a>, connected via wikilink.</p>
Live
Read more in another note, connected via wikilink.
All classes
Other
| Class | Declares |
|---|---|
.callout[data-callout="important" i] |
--_callout: var(--color-orange) |
.callout[data-callout*="red" i] |
--_callout: var(--color-red) |
.callout[data-callout*="brown" i] |
--_callout: var(--color-brown) |
.callout[data-callout*="orange" i] |
--_callout: var(--color-orange) |
.callout[data-callout*="yellow" i] |
--_callout: var(--color-yellow) |
.callout[data-callout*="green" i] |
--_callout: var(--color-green) |
.callout[data-callout*="cyan" i] |
--_callout: var(--color-cyan) |
.callout[data-callout*="blue" i] |
--_callout: var(--color-blue) |
.callout[data-callout*="magenta" i] |
--_callout: var(--color-magenta) |
.callout[data-callout*="purple" i] |
--_callout: var(--color-purple) |
.callout[data-callout*="pink" i] |
--_callout: var(--color-pink) |