Skip to content
Halorav0.1.0

Getting started

Mobile guidelines

Every Origin Labs site follows the same rules on phones. Halora implements them in the CSS so you do not have to remember them.

Icon and label pairs#

An icon and its label are one inline-flex unit. The icon never stacks above the text. It is flex: none, aligned to the first line, and long labels wrap beside it with a hanging indent. Below 520px a meta row becomes a centered column of such units, one per line.

  • B.Sc. Student in Computer Science @ CIn/UFPE
  • Recife, Brazil
HTML
<ul class="ha-meta">
  <li class="ha-meta__item"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="m2 9 10-5 10 5-10 5L2 9z"/><path d="M6 11.500V16c0 1.5 2.7 3 6 3s6-1.5 6-3v-4.5"/></svg><span>B.Sc. Student in Computer Science @ CIn/UFPE</span></li>
  <li class="ha-meta__item"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M12 21s7-6.2 7-11.500A7 7 0 0 0 5 9.500C5 14.8 12 21 12 21z"/><circle cx="12" cy="9.5" r="2.5"/></svg><span>Recife, Brazil</span></li>
</ul>

Resize the window under 520px. The icons stay beside their text.

Hero copy#

  • Headings use text-wrap: balance and paragraphs use pretty, which Halora sets in the base layer.
  • Font sizes step down with clamp(). The display size is 44px at its smallest.
  • Keep the role or eyebrow line to two lines at most.

Button groups#

Under 480px a group stacks into full-width buttons, each at least 44px tall with its label on one line. For short labels, add ha-button-group--cols for an equal two-column grid. Never leave a ragged row of mixed widths.

HTML
<div class="ha-button-group ha-button-group--cols">
  <a class="ha-button ha-button--primary" href="#">Contact</a>
  <a class="ha-button ha-button--secondary" href="#">CV</a>
</div>

Glows and gradients#

Glows fade to fully transparent inside their own box. Use .ha-glow, which is sized with min(..., 100vw) and a closest-side radial gradient, and never clip it with overflow: hidden at a visible boundary. Prefer one fixed .ha-page-lights layer over per-section halos.

Touch targets, text, and the header#

  • Touch targets are 44px or more on phones. Small buttons and segmented items grow to 44px under 640px.
  • Body text is 16px or more. There is no horizontal overflow at 320px.
  • The sticky header is at most 64px tall, with no wrapping navigation. Collapse your navigation into a drawer or menu on phones.

Test at these sizes#

ViewportWhy
320 x 640Smallest supported width
360 x 780Common Android
390 x 844Common iPhone
430 x 932Large iPhone
768 x 1024Tablet portrait

Check each size in both themes. This documentation site is tested the same way.

Edit this page on GitHub

Type to search.