Section mark

Section identity glyph — sits next to an h1 in overview headers and next to card titles for subcategory marks. Sized in em so it scales with the heading.

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

On this page

.section-mark is the small identity glyph that appears next to section titles and card titles to mark which part of the site you’re in. The icon itself comes from the icon registry; the SCSS just handles sizing and colour.

Source: themes/bifrost/sass/components/_section-mark.scss · icons rendered by templates/macros/section-icons.html

Anatomy#

VariantSizeColourUse
Default1.5em × 1.5emvar(--color-text-muted)Inline next to card titles, subcategory marks.
.section-mark--hero2.5rem × 2.5remvar(--color-text)Overview headers — full-strength colour, fixed pixel size.

Sized in em (default) so it tracks the surrounding font-size and visually balances with whatever heading it sits next to. Uses currentColor so it inherits the link / heading colour automatically.

Usage#

Pair with the section-icons macro to render a registered icon by id or by semantic slug:

{%/* import "macros/section-icons.html" as section_icons */%}

<h1>
    <span class="section-mark section-mark--hero">
        {{ section_icons::section(slug="wiki") }}
    </span>
    Wiki
</h1>

Tokens#

CSS variableWhat it does
--color-text-mutedDefault-variant colour (recedes from the heading).
--color-text--hero variant colour (full strength).

Live examples#

  • Section landings/wiki/, /timeline/, /articles/, /news/, /library/, /read/ all show the hero variant in their h1.
  • Cards — subcategory marks appear next to card titles in section index grids.

Edit this page on GitHub