One header and one stylesheet for all 14 Marathon apps
Six of the 14 apps drifted off brand because each one built its own header and retyped the colours. This kit is that header, every component around it, and one file to link. Nothing in it gets retyped.
- Pack the brand folder
Writes mc-app.css, mc-app.js, the icon sprite, the font, and the three logos into the app.
python3 build.py pack ../post-approval/public - Link one file, first in the head
Tokens, icons, and components are already joined inside it.
<link rel="stylesheet" href="/brand/mc-app.css"> - Paste the header, change the app name
Then build the page from the partials below. Every one of them is String.raw safe.
<span class="mc-appname">Post Approval</span>
Post Approval, built only from the partials on this page
Header with the actions slot, tab nav, the app title row, the stat strip, and the table. One title and one row of numbers carry the first screen: the title at H2 size in extrabold, each stat value at 32px or larger on its own line, and everything else, labels, deltas, and the summary line, in quiet grey. Table rows stay one line and 40px tall and the toolbar runs at 32px, so at 1440 by 900 at least 10 deliverables sit above the fold under the approved header. The deliverable column takes every pixel the short columns do not need. No page-level CSS. If a screen needs more than this, it probably needs a new partial, so ask Taylor first.
The approved header, unchanged
Jacob approved this on Oct 9, 2026. Navy bar, white lockup 26px tall, hairline divider at 25% white, app name in 11px bold caps at .26em. The markup is exactly the one in brand-assets. Only the app name text changes. Under 420px the lockup steps down to 22px. It never wraps, and it is never swapped for the mark.
Do
- Paste it as is and change the app name.
- Put the user, sign-out, and filters in the optional .mc-actions slot.
- Use marathon-mark-lines.svg anywhere the lockup would be under 22px.
Never
- Restyle .mc-top in the app, or give it a second colour.
- Retype the navy. The dark inside the logo file is logo ink, not a UI colour.
- Hotlink the logo from Launchpad. Copy it into the app.
partials/header.html, the approved header
partials/header-actions.html, with the optional actions slot
Navy acts, red warns
One primary per view, in navy, and its label says what happens. Secondary is a navy outline, quiet is words only. Destructive is a red outline, never a red fill, which keeps red at about 5% of any screen. Every button is 44px to touch on a phone. In the app title row and the table toolbar on a desktop, buttons run at 32px so the list keeps the height. Busy shows a spinner beside the label, so the button never changes width mid-save.
Label above, hint below, error in its place
Inputs are 16px so an iPhone does not zoom on focus. Required is the default, so the optional fields carry the tag. An error turns the border red, adds an icon, and replaces the hint with what to do next, in a full sentence.
The document table, on screen
Same rules as the quotes and reports, tuned for a screen: a neutral header row under a 2px red rule, one line, 40px rows from 768px up, the client in grey beside the title, date and time on one line, a labelled Owner column at a fixed 72px, alternating rows, 1px grey dividers, no vertical rules, and tabular numerals right aligned. Under 768px each row collapses to two lines, about 64px: title and client on the left, amount and status on the right, due date as a caption beside the client. Five deliverables fit on one phone screen and nobody scrolls a table sideways on a shoot day. Status is always a word and a dot, never colour alone. The full red header bar is for printed quotes only, on screen it would outshout every button.
Stats, items, callouts, and media
A white card with a 1px grey edge is the default container. The red top bar marks the one stat a screen is about. The navy callout is for one decision per screen, with Red Bright as its accent because it sits on navy.
Stat strip, for working screens
Four numbers in one strip. Grey label on top, the value at 32px or larger on its own line, and the delta under it in tertiary grey, so the number is the only thing that reads first. This is the default above a table or a queue, because the table is the work and the numbers are the summary.
Stat cards, for dashboards only
Item cards and the dark callout
Media cards
The photo is the content, so nothing is ever printed on it: no type, no badge, no red. That keeps the card safe on a busy aerial and on a lot photo with a red boundary line already drawn in. The frame is fixed at 3:2 so a grid stays even. Portrait photos are shown whole on a grey mat, because whoever approves a photo has to see all of it. Every card fills the same five slots in the same order: client, a two line title, three or four facts, one status badge, and two buttons. In a row, each slot starts on the same line across every card, so badges and buttons line up and no card is left with a hole. Every fact is shown. A title or client name that runs long stops at a whole word with an ellipsis, and the full text shows on hover. Facts take any label and value, never beds and baths by default.
Say what is missing, and what to do
Three kinds. Nothing yet, nothing matches the filter, and could not load. Each names the cause in plain English and gives one action. No illustrations, no "Oops".
Confirm the thing that just happened
Bottom right on desktop, full width at the bottom of a phone. Three at most. Success and info leave after 5 seconds, errors stay until someone closes them. The title says what happened, the line under it says what it means. Call mcToast() from mc-app.js and never hand-build one.
Try it. These fire real toasts from mc-app.js.
mcToast({ kind: 'success', title: 'Gallery sent to Cangelosi',
text: '42 images. Rey gets a copy.' })
The first screen anyone sees is Marathon
Team apps sit behind Cloudflare Access. Its login screen is set once at the account level in Zero Trust, with the white lockup on navy, so nobody sees Cloudflare blue first. Client-facing apps like Client Approvals sign people in with an emailed code, using these screens under the same header.
What breaks the kit
Each of these is how one of the six apps drifted. None of them is a style choice.
Never
- Type a hex, an rgb(), or a font name into an app. Use the token.
- Edit mc-app.css inside an app. Fix it here and pack again.
- Link mc-app.css from another app or a CDN. One deploy would restyle all 14.
- Load a second typeface. Source Sans and Cormorant Garamond are already gone.
- Put type, a badge, or red on top of a photo.
Always
- Keep partials free of backticks and dollar-brace. build.py refuses to build if one sneaks in.
- Red on navy is Red Bright. Red on white is Marathon Red. Nothing else is red.
- Write the words the way Marathon talks: what happened, what to do, by when.
- Need something the kit does not have? Bring it to Taylor. Jacob approves.