// Definition list

Definition list

Key/value spec sheet — uppercase HUD terms against right-aligned tabular values.

.talos-dl lays a <dl> out as a two-column spec sheet: the <dt> terms read as uppercase HUD labels on the left, the <dd> values right-align with tabular figures so a stacked column of numbers lines up to the decimal. Each row carries a hairline rule underneath — the grid is the read order.

Default

PREVIEW
Node
atlas-01
Region
eu-west-1
Uptime
99.982%
Load
62.4
<dl class="talos-dl">
  <dt>Node</dt>
  <dd>atlas-01</dd>
  <dt>Region</dt>
  <dd>eu-west-1</dd>
  <dt>Uptime</dt>
  <dd>99.982%</dd>
</dl>

A max-content 1fr grid: terms size to their content, values take the rest and right-align. Values lock to tabular-nums, so numeric columns stay aligned.

Inline

PREVIEW
cpu
42%
mem
6.1/16 GB
net
118 Mb/s
<dl class="talos-dl talos-dl--inline">
  <div><dt>cpu</dt><dd>42%</dd></div>
  <div><dt>mem</dt><dd>6.1/16 GB</dd></div>
  <div><dt>net</dt><dd>118 Mb/s</dd></div>
</dl>

--inline drops the grid and wraps each pair in a flex <div> row: term left, value pushed to the right edge. Use it when you need self-contained rows rather than one aligned column.

Classes

ClassEffect
.talos-dltwo-column max-content 1fr grid; hairline rule per row
.talos-dl--inlineflat key/value rows — each pair wrapped in a <div>, value pushed right
dtuppercase HUD term, tracked, tertiary colour
ddright-aligned value, tabular figures, primary colour