Wiki shortcode visuals

Three SCSS files that style content rendered by the markdown shortcodes — wiki-quotes (blockquotes + `library`), wiki-cite (`cite`), wiki-shortcodes (info / definition boxes).

≈ 2 min read 289 words Updated 2026-08-23

On this page

Three Bifrost SCSS files style the visual surface of the content shortcodes. They’re documented together because they form a single rendering layer — every shortcode invoked inside markdown ends up styled by one of these files.

.wiki-content blockquote + .library-quote#

Source: themes/bifrost/sass/components/_wiki-quotes.scss

Styles two things:

SelectorWhat
.wiki-content blockquoteEnhanced markdown blockquotes inside articles — gradient border, rounded corners, decorative quote glyph.
.library-quoteThe structured library-quote block rendered by the library shortcode.
.library-quote__buttonThe “Read in Book” CTA — uses glass-cloud-button with a mauve→cyan duo.

.wiki-cite#

Source: themes/bifrost/sass/components/_wiki-cite.scss

Styles the inline citation markers rendered by the cite shortcode. Superscript pill in font-family-tech, accent-coloured background on hover.

ClassWhat
.wiki-citeWrapper, vertical-align: super, font-size: 0.75em.
.wiki-cite__linkThe marker itself — pill with hairline border.

.wiki-info-box + .wiki-definition-box#

Source: themes/bifrost/sass/components/_wiki-shortcodes.scss

Styles the boxes rendered by info and definition.

ClassRendered by
.wiki-info-boxinfo
.wiki-definition-boxdefinition

Both: bordered + rounded, with a 4px accent stripe down the left edge and a header row (icon + title) above the body content.

Live examples#

  • Any wiki entry mixes all of these, e.g. /wiki/elohim/ (blockquote, citations, info boxes, library-quote block).

Edit this page on GitHub