Style guide
The CayoHub look, shared with the database access portal. Class names under each example.
Colours
Ground and lines
--ground--surface--tint--line--line-soft--field-line
Text and brand
--ink--muted--accent--top--sky--sun
Status
--ok-bg--ok-ink--warn-bg--warn-ink--bad-bg--bad-ink--chip-bg--chip-ink
Charts
--chart-up--chart-down--chart-death--chart-move--code-bg--hl-string
Type
Bricolage Grotesque for headings and big figures, Figtree for everything else. Sentence case.
.hero h1 · 52px, home only
.page-head h1 · 32px
.card h2 · 24px
.big · a figure
Small label above a group
.label
Body text, 16px. A link and inline code.
A lead line under a heading.
.lead · .small-text · .muted · .hint
Buttons
.btn · .btn.secondary · .btn.plain · .btn.danger · .btn.disabled · .btn.wide · .actions
Chips and notes
.chip.ok · .chip.warn · .chip.bad · .chip.neutral · .chip.dashed · .chip.dark · .chip.outline · .chip.wrap
.note.ok · .note.warn · .note.bad · .note.plain
Cards and columns
A card
StatusThe main column, at least 560px wide. Cards stack in it with 16px between them.
- Institution
- Arizona State University
- Location
- Tempe, Arizona
- Salary
- $65,000–$75,000
.cols > .main · .card · .card-head · .facts · .sep
| Position | Status | Posted |
|---|---|---|
| Post-Doctoral AssociateNew York University | Open | 23 Oct 2026 |
| Researcher Senior LeadUniversity of Alabama at Birmingham | Open | — |
| Functional genomics postdocVanderbilt University | Closed | 1 Oct 2026 |
.card.flush · .tabs · .toolbar · .filters · .pill · .table-wrap · td .sub
Code
from datetime import date # every opening, still taking applications first rows = openings.load("openings.toml", today=date(2026, 11, 5))
pre · .hl-k · .hl-f · .hl-a · .hl-s · .hl-n · .hl-c
Pop-up form
Open the pop-up
details[data-popover] · [data-close] · (site.js)
Photo hero
On the home page only: see it there. A heading with short lead lines (or, on the portal, up to two figures) sits on the left, where the photo is shaded dark; the macaque on the right stays clear.
.hero · .hero-lead · .tiles · templates/_hero.html