The visual system behind kmceagles.org. Every value here is a CSS custom property in tokens.css; components are plain HTML and CSS with no framework. Corners are square throughout.
Color
Brand colors are fixed; surface and text colors switch with the theme, which follows the device's light or dark setting.
Eagles Navy--brand-navy#0A2342
Eagles Red--brand-red#C8102E
Ice Blue--brand-ice#93C5FD
Goalie Gold--brand-gold#FBBF24
Theme tokens
Background--bg
Surface--surface
Text--text
Muted text--muted
Primary--primary
Accent--accent
Link--link
Border--border
Subtle border--border-subtle
Error--error
Type
Headings: Barlow Condensed 700, capitals only for a public page's title. Body: the system font, 16px on public pages, 15px on tool pages on a phone and 14px on a computer. Sizes from --fs--2 (11px, the smallest) to --fs-5 (32 to 44px); line height 1.45 on tools, 1.6 in prose. Tabular numerals for figures.
Heading one — 2 to 2.75rem
Heading two — 1.5rem
Heading three — 1.25rem
Lead paragraph — 1.125rem. Ice hockey for the Kaiserslautern Military Community.
Body — 1rem. The KMC Eagles are a volunteer-run amateur ice hockey club serving Ramstein, Kaiserslautern, Landstuhl, Baumholder and Zweibrücken.
Small — 0.8125rem. Used for metadata, captions and legal lines.
Label — 0.8125rem, 600, grey: a card's facts, a calendar's hours
19 · 27 · 77 · 88 tabular numerals
Spacing and layout
Spaces from 2px to 64px (--s-05 to --s-16). Containers 42, 72 and 90rem. Breakpoints at 40rem and 64rem add columns only; compact mode is a computer with a pointer. Every control answers a finger on 44 by 44 on touch.
Every button is the same height. One filled button to a screen; the rest are quiet. A ghost button on its own is a link with room to press it, such as "View all events" beside a section's heading.
Button words
A button says what pressing it does, beginning with a verb, so that it reads well on its own, out of its context, as a screen reader may read it.
View a list, a record or a page of figures: View your events, View the roster, View your stats, View all sub opportunities.
Go to a place in the site: Go to the Inbox, Go to Everyone, Go to sign-in settings.
Open one thing, or a window: Open the event, Open the Teams page.
Read text: Read how to join, Read the club history.
Get, Visit, Watch, Meet where they fit better: Get directions, Visit the venue's website, Watch KMC Eagles on YouTube.
A button that changes something names the change: Save the changes, Add to the roster, Mark as read. Never a bare noun ("Inbox", "Roster", "Details").
Captain, alternate and goalie badges sit after a player's name; result badges show a final score on games.
Event rows
One event row everywhere: the date stub, the title, the facts, and for a member the counts with In and Out. Only "Subs wanted" is a badge; only "Answer needed" is red.
Our top team plays competitive league hockey against the strongest DPL sides and is our entry at the Armed Forces Alpine Classic. We expect players to attend most practices and all league games.
Our team for developing and recreational players, with a full league schedule in a lower DPL division. New arrivals start here, and players move up to Eagles I as rosters shift.
A figure with nothing to count is left out rather than shown as zero; a figure can be a link. The public pages show the same figures as a quiet fact strip:
3teams
20events
4–2record (W–L)
Panels that open
Post an announcementFor your team, or for the club
The panel's form or list goes here.
Set answers for players29 awaiting
Open: the arrow points down.
A question in the FAQ
The answer.
Everything that opens in place has its title at the left and the same arrow at the right, pointing down once open.
Choices and rows
Alex ExampleEagles II · Player · Email on file
Sam SampleEagles I · Player · Not added yet
A choice of two or three is a segmented choice (.seg); a filter is a row of chips; joined buttons are only for answers (In and Out). The settings rows and the rest are under Patterns.
Patterns
The shared pieces of the members' pages (patterns.css). A page places them and does not restyle them.
The switch and the settings row 4
Login emailalex@example.com
Teams9 this season
Photos of you
A switch (input.switch) turns one setting on or off at once; a choice sent with a form's Save stays a check box. A settings row (.set-line in .set-rows) holds a name (.set-k) and, at the right, its value (.set-v, or .set-val for a state in small print) or one control.
The small row action (.set-row-act) is a quiet word at a row's end; the quiet icon button (.icon-btn.icon-btn-quiet) is the same as a symbol. A choice of two or three (.seg.set-seg) takes the line under the name on a phone. A group of rows stands under a label over a hairline (.group-label).
Add a team9 teams
What opens stands under the row, behind a rule at its left.
Set answers for players29 awaiting
A panel in a list, drawn flat.
Rules for this eventOpen until the start
What opens stands on the row's own left edge.
A row that opens (details.set-open-row) has no frame: its name, its state and the arrow on one row. A list of panels (.set-open-rows) draws each panel the same way, as an event's tools are.
2004founded
9teams
27titles
16+minimum age
The quiet strip of facts (.fact-strip): a few numbers over their words between two hairlines, where a page states figures and nothing is to be pressed.
GamesPracticesTournaments
Eagles I
Eagles II (not your team)
A grid of options against kinds (.set-matrix): teams down, kinds of event across, a check box where they meet, in place of a box of check boxes for each team.
A section's heading, with a link to the whole list beside it (under it on phones). Used on the home pages, team pages and Sub opportunities.
View tabs
An area's views under the page's title, each a page of its own: the Schedule's and the Teams' members' pages. Shown only to logged-in members, each tab to those it is for; on a phone a long label gives way to its short form.
Contents
This page's own contents show the component: on a phone, the line under the breadcrumbs; on a computer, the column on the left.
One list of a page's sections, "On this page", from the contents macro: a bar under the breadcrumbs on a phone, a column at the left on a computer.
Tooltips
Point at, focus or tap these: PTS, C, Not logged in yet.
A small dark box beside the element (tips.js). Tips marked data-tip-help explain, and go with the "i" when Help on the pages is off.
Tips belong on abbreviations, badges, More buttons, view tabs, icon-only buttons and a button whose effect is not plain from its word.
A key is written in a kbd box, as in search and the list of shortcuts (keys.js). A control with a key carries data-key and aria-keyshortcuts, and its tip names the key after its words ("Next month · →"). Single keys never act while the reader types, and can be turned off.
One icon for each thing an event has besides the answers, in a fixed order, each named and with its tip; a small red number counts what calls for a hand.
The one place the date stands on the club's navy: the public home page's next event. A member's own next event is not a card but a larger event row, with the counts, their meter, and In and Out.
Notices and forms
Standard notice with its rule at the left.
Error notice.
Gold notice for attention without alarm.
Empty state: a few words, such as “No roster yet.”
A notice can hold a link or bold words, and its words flow as one paragraph beside its rule.
While a page loads
A page never says Loading. A members' page that fetches its content keeps its message empty (<p class="notice" data-loading></p>) and, only if the content takes longer than a moment, shows quiet gray blocks in its place; a line still waiting for its words shows a gray bar (.skel-line). Whatever appears late keeps its room from the start, so nothing above it moves.
Explanations
An explanation goes in a round "i" beside its heading (infoPop), never in a paragraph under it: at most about 60 words, what it is and two or three things to do, ending with a button to its section of the User guide.
Duties
Duties are the small jobs at an event, such as keeping the clock.
Press Take it on a free duty, and Give it back if you can’t come.
If you say Out, your duty goes back on the list.
Coaches add duties and give free ones to players. Those open to the whole club show under Help wanted.
One glossary, one icon for each meaning (src/_data/icons.json): a page always draws an icon by its meaning, never by its picture, so the same pencil means Change everywhere. Words come first. The rest of the rules are in the Webmaster's guide.
Each meaning, its icon, and whether it may stand alone. The rest always sit beside their word.