Nara National Museum

Nara National Museum builds density out of weight instead of tracking: body copy sits at `font-weight: 500`, `letter-spacing` stays `normal`, no `palt` anywhere, and every element…

Back to all styles

Preview

Every style on this site is applied to the same sample page — same headline, same three columns, same footer. Only the stylesheet changes, so every difference you see below belongs to Nara National Museum, not to the copy.

A live page, not a screenshot — the frame scrolls. Open full preview ↗

At a glance

22tokens
17type steps
4radius steps
6pxspacing base

Nara National Museum, in one page

Density through boldness, not through spacing. Tracking is `normal`, there is no `palt`, and instead almost every element including body copy sits at `font-weight: 500` with leading fixed at 1.80. One weight step up, and nothing else touched — an unusual decision.

Four things define this site.

  1. The root is 10px. `html { font-size: 10px }`, `body { font-size: 16px }`. `rem` is not based on 16px (`1rem = 10px`, `1.4rem = 14px`). Get that assumption wrong and every size is off by 1.6×.
  2. Body weight is 500. Of 194 visible elements, 167 are `font-weight: 500` (and 60 of 67 on the lower page). Only 10 elements use 400. Medium is the default here, not Regular — Noto Sans JP’s 400 is the exception.
  3. `line-height: 1.80` is uniform across the whole site. 165 of 194 on the top page; all 67 of 67 on the lower page. Headings, body and footnotes all share it.
  4. Tracking defaults to `normal` (170 of 194 measured). The exceptions are literal `px` values — `2px` / `4px` / `1px` / `3px` — on 24 elements total, all decorative headings and number blocks.

`font-feature-settings: "palt"` appears on zero elements. And zero in-house CSS custom properties — the 60 variables present are all WordPress / Gutenberg (`WordPress admin` 11, `WordPress / Gutenberg` 49). `--wp--preset--*` is not a design token; do not read it as one.

Density: medium. The 1.80 leading holds across every page, so headings through notes all move at the same rhythm.

Do's and don'ts

Do

  • Set the root to 10px (html { font-size: 10px }) and convert rem against 10px
  • Set body copy at font-weight: 500 — that is the default here, and it is how the density is made
  • Apply line-height: 1.8 uniformly from headings all the way to notes
  • Keep tracking normal; when you do add it, write literal px values (2px / 4px)
  • Body colour is #323131 — not pure black
  • Drop one or two corners deep (60px 0 0 / 0 0 60px). Pills at 100px, cards at 0px
  • Draw a 1px badge outline with box-shadow: inset 0 0 0 1px so nothing shifts
  • Draw the heading marker with linear-gradient(rgba(0,0,0,0) 60%, #f0f0f0 60%)

Don't

  • Do not add font-feature-settings: "palt" — zero occurrences on the live site
  • Do not add letter-spacing to body copy — the density comes from weight
  • Do not write font-weight: 900 — @font-face has three files (400 / 500 / 700) and 900 renders as 700. The live site makes this mistake; do not copy it
  • Do not add Yu Gothic or Hiragino to font-family — the Medium (500) setting then renders differently per environment
  • Do not read --wp--preset--* as design tokens — all 60 variables are WordPress / Gutenberg; there are zero in-house tokens
  • Do not adopt border-radius: 18px or the #004d8a link colour — both belong to the STRIGHT cookie banner
  • Do not float cards with box-shadow
  • Do not bring the stat block’s gold #c57f23 or purple #6f3e8f into ordinary UI — they exist only to make numbers readable

Copy this into your AI builder

Paste it as-is. Every value below was measured from the original site, not guessed.

Translated from the prompt block in the source document. Values unchanged.

Build an exhibition listing page following the Nara National Museum design system.
- `html` font size 10px (so `rem` is based on 10px)
- One font only: `"Noto Sans JP", sans-serif`. Body at 16px / `font-weight: 500`
- `line-height: 1.8` unified from headings to notes. `letter-spacing: normal`
- Do not use `font-feature-settings: "palt"`
- Brand green `#198479`, body colour `#323131`, background `#ffffff`, card ground `#f5f5f5`
- Date badges: "On view" = `#e71337` fill with white type; "Upcoming" = white ground with `box-shadow: inset 0 0 0 1px #e71337` and red type. Both at `border-radius: 0`
- "View more" is a `#2e2e2e` pill (`border-radius: 100px` / `padding: 10px 70px 10px 60px` / 14px / 500)
- Section surfaces drop only the top-left corner with `border-radius: 60px 0 0`
- No `box-shadow` anywhere
- Container 1080px, gaps 10–12px

The specification

Colour paletteRead the full spec

Primary

RoleValueMeasured
Nara Green#19847926 filled surfaces, 8 text elements. Logo panel, the SEARCH and MENU round buttons, the selected tab, the Masterpiece and Special exhibition badges, lower-page heading text
Charcoal (surface)#2e2e2e17 filled surfaces. The See top and Participate top pills, category band leads
Alert Red#e713372 filled, 2 text. The On view (red fill) and Upcoming (red ring plus red type) date badges

The brand green also appears in the consent manager. The cookie banner (STRIGHT by IIJ) uses `#198479` with `border-radius: 18px` for `Reject all` and `Accept all cookies`. But the same green also drives the logo panel, the `SEARCH` and `MENU` buttons, the tabs and the exhibition badges, so it belongs to the site rather than the CMP. Only the 18px radius is the CMP’s — do not adopt it.

Accent (for reading numbers and data)

Used only inside the `Narahaku in numbers` block. Never in ordinary UI.

  • Gold (`#c57f23`): collection counts such as `In the collection` and `13 National Treasures` (6 visible elements)
  • Purple (`#6f3e8f`): people counts such as `The current director is` / `26th` (5 visible elements)
  • Cream (`#f2d69a`): the `Open today` label in the opening calendar

Neutral

  • Text Primary (`#323131`): body and headings. 64 visible elements. Not pure black — `#323131`
  • Text on Dark (`#ffffff`): type on green and charcoal surfaces (91 visible elements)
  • Text Black (`#000000`): some headings and links (9 visible). Coexists with `#323131` — mildly inconsistent
  • Link Blue (`#004d8a`): links inside the CMP (2 visible). Site links stay black
  • Border (`#707070`): `1px solid` borders on link cards and the `Language` pill
  • Surface (`#f5f5f5`): notice and exhibition card ground (4 visible)
  • Surface Warm (`#f9f8f4`): the `Participate` and `About Narahaku` blocks (2 visible)
  • Surface Sand (`#e8e3de`): the `Learn and research` block
  • Surface Sub (`#f8f8f8`): lower-page title band
  • Marker Gray (`#f0f0f0`): the band laid under the bottom half of a heading (see components)
  • Stone (`#7a7671`): lower-page navigation cards
  • Background (`#ffffff`): page ground (consistent on both pages, resolved from `body`)
Type scaleRead the full spec

Japanese

  • Gothic — the only Japanese face: Noto Sans JP. `@font-face` carries three files — 400 / 500 / 700, not a variable font. The top page loads all three; the lower page loads only 500 and 700, because almost nothing there uses 400
  • No Mincho. The logotype and the watermark lettering behind lower-page heroes (`NARA NATIONAL MUSEUM`) are images, handled separately

Latin

  • There is no dedicated Latin face. `Language`, `SEARCH`, `MENU`, `HOME` all use the Latin glyphs of Noto Sans JP itself
  • `Font Awesome` (5/6) and `slick` are declared in `@font-face` but measure `unloaded` on every page checked — the icon fonts are effectively unused

font-family

/* Body and UI — one stack for the whole site */
font-family: "Noto Sans JP", sans-serif;
  • The chain has two steps only. No OS faces (Hiragino, Yu Gothic) are named, so a failed web font goes straight to generic `sans-serif`
  • Do not lengthen the chain just because it looks short. Inserting Yu Gothic or Hiragino makes the Medium setting (weight 500) render differently per environment — Yu Gothic at default settings leans Light. Serving 500 entirely from Noto Sans JP is the premise of this design
  • Only the CMP (cookie banner) is set in plain `sans-serif` (10 visible elements). That is not the site’s declaration

Sizes and weights

The root is 10px. `html { font-size: 10px }` / `body { font-size: 16px }`. `rem` converts against 10px (`2.7rem = 27px`).

RoleFontSizeWeightLine heightTrackingNote
Page titleNoto Sans JP27px7001.80 (48.6px)2pxDirector’s message, See exhibitions. Lower page asks for 900 but renders 700
Stat numberNoto Sans JP24px4001.804pxCurrent Director Narahaku. Colour #6f3e8f / #c57f23
Card titleNoto Sans JP18px7001.80 (32.4px)normalNarahaku Buddhist Sculpture Selection, 78th Shosoin Exhibition
PersonNoto Sans JP18px5001.80normalDirector Yoichi Inoue
BodyNoto Sans JP16px5001.80 (28.8px)normalBody. The body default, unchanged
Body leadNoto Sans JP16px5002.20 (35.2px)normalExhibition intros (2 elements only)
UI / captionNoto Sans JP14px5001.80 (25.2px)normalNotes, button labels, View more (44 elements)
TabNoto Sans JP15px5001.80normalAll Topics Press releases
Menu itemNoto Sans JP13px5001.80normalOrganisation and staff, Narahaku volunteers
SmallNoto Sans JP12px5001.80 (21.6px)normalLanguage Closed Open today (40 elements)
Building labelNoto Sans JP11px5001.00normalBuddhist Sculpture Hall, Bronze Hall, East New Wing (calendar legend)
Icon labelNoto Sans JP7px5001.80normalSEARCH MENU inside the round buttons

`font-weight: 900` renders as 700. The lower page’s `Director’s message` asks for `900`, but `@font-face` carries only 400 / 500 / 700 — and it is not a variable font — so the browser picks 700. The intended weight never appears. Write 700 in new work.

Leading and tracking

  • One leading: 1.80. 165 of 194 on the top page, all 67 of 67 down-page. Headings, body and notes alike
  • Exceptions: `2.20` (exhibition intros, 2 elements), `1.00` (calendar legend, 19 elements), `1.20` (stat numbers, 2 elements)
  • Tracking defaults to `normal` (170 of 194)
  • Only 24 elements add tracking, all written literally in px:
    • `2px` — the 27px page title (10 elements)
    • `4px` — the 24px stat block (8 elements)
    • `1px` — the small headings `Lectures` / `Events` (4 elements)
    • `3px` — `National Museum` / `114` around the logo (2 elements)

Do not re-read `letter-spacing` as em here. This site writes px directly and the ratios are not consistent anyway (2px against 27px = 0.074em; 4px against 24px = 0.167em). Keep the px values. Never add tracking to body copy — the density is built from weight 500 and 1.80 leading. And apply `line-height: 1.8` to headings too: tightening them to 1.2–1.3 alone breaks the uniform rhythm this site depends on.

Line breaking and OpenType

  • `line-break: strict`, `overflow-wrap: break-word`, `word-break: normal`
  • Exhibition names mix corner brackets, dashes and full-width spaces. `break-all` would drop brackets to the start of a line — never use it
  • 1.80 leading holds up over two to four heading lines. Do not tighten leading out of fear of a wrapped heading
  • `palt` is not used. Even bracket-heavy exhibition names stay untightened, so Noto Sans JP keeps its native metrics alongside `letter-spacing: normal`
  • Punctuation subsets such as `YakuHanJP` are not used either
  • No vertical writing (`writing-mode` on 0 elements)
Components and layoutRead the full spec

Buttons

Primary — the green pill: background `#198479`, text `#ffffff`, padding `14px 26px`, radius `100px`, Noto Sans JP 15px / 500 / `letter-spacing: normal`.

Secondary — the charcoal pill with icon: background `#2e2e2e`, text `#ffffff`, padding `10px 70px 10px 60px` — asymmetric on purpose, 60px on the left for the icon and 70px on the right for the arrow. Radius `100px`, 14px / 500.

Ghost — the white pill, unselected tabs: background `#ffffff`, text `#323131`, padding `14px 26px`, radius `100px`, no border.

Outline — the `Language` pill: transparent, `1px solid #707070`, radius `100px`, padding `6px 20px 8px 35px` (35px on the left for the globe icon), 12px / 500.

Icon button — round: background `#198479`, radius `100%`, 7px / 500 (the words `SEARCH` / `MENU` sit underneath the mark).

Badges

KindBackgroundTextRadiusPaddingSize / weight
Masterpiece Special#198479#ffffff0px4px 10px12px / 500
On view#e71337#ffffff0px4px 12px14px / 500
Upcoming#ffffff#e713370px4px 12px14px / 500

The `Upcoming` outline is not a `border` — it is a `box-shadow`. Measured: `border: 0px solid` plus `box-shadow: rgb(231,19,55) 0 0 0 1px inset`. An inset 1px ring draws the frame without shifting layout by a single pixel. Follow this.

Cards

  • Background `#ffffff` (article ground `#f5f5f5`), border `1px solid #707070`, radius `0px`
  • Padding `18px 12px` for link cards / `11px 55px 11px 12px` where an arrow sits on the right
  • No shadow

Section panels — one or two corners, dropped far

Radius on this site is not “round everything” — it is one or two corners cut deep.

ValueUse
60px 0px 0pxThe Notices section surface — top-left only
0px 0px 60pxThe About Narahaku block — bottom-right only
60px 0pxCarousel outer frame (top-left and bottom-right)
0px 0px 15pxLogo panel — bottom-right only
100pxPill buttons (14 elements)
100%Round icon buttons (3 elements)
6pxThe small MENU element (4 elements)

`18px` is not adopted — that belongs only to the STRIGHT cookie banner buttons (4 elements).

Heading marker — a band under the bottom half

/* Lower-page section headings */
background: linear-gradient(rgba(0, 0, 0, 0) 60%, rgb(240, 240, 240) 60%);
color: #198479;
font-size: 27px;
font-weight: 700;   /* the site asks for 900, but renders 700 */
letter-spacing: 2px;
line-height: 1.8;

Top 60% transparent, bottom 40% painted `#f0f0f0` — a highlighter effect, paired with green heading type.

Spacing

TokenValueMeasured
XS1pxSeparators
S10pxThe most common gap (7 elements)
M12pxGaps (5 elements); the `10px 15px` pair also appears 5 times
L20px / 25px`20px 12px` (2), `25px` (2)
XL30pxWithin a section
XXL35pxBetween sections

Container

  • Max width `1080px` (7 elements — the most)
  • Article column `1000px` (2 elements)
  • Header and footer `1120px`
  • Some wide blocks `1200px`
  • Horizontal padding around 20px

Grid

  • Two to four columns (exhibition cards 2–3, menus 4)
  • Gutter 10px / 12px — quite tight
  • The logo panel sits outside the grid: a green rectangle pinned to the top-left of the page, rounded 15px on the bottom-right only
LevelShadowUse
0noneThe default. Cards, buttons, badges, panels — all of them
1rgb(231,19,55) 0 0 0 1px insetThe red ring on the Upcoming badge (2 elements). Used in place of a border
—rgba(0,0,0,0.5) 0 5px 15px 0The cookie banner only (1 element). Not a site component

This site does not use shadow. Differentiation comes from “green and charcoal fills”, “a `1px solid #707070` frame”, and “pale surfaces in `#f5f5f5` / `#f9f8f4` / `#e8e3de`”.

Responsive behaviourRead the full spec

Breakpoints

NameWidthDescription
Mobile≤ 767pxscreen and (max-width: 767px) — 217 occurrences. Overwhelmingly the main switch
Desktop≥ 767pxscreen and (min-width: 767px) — 18 occurrences
Tablet (device width)≤ 1024pxscreen and (max-device-width: 1024px) — 17 occurrences. Note that it is device-width
Gutenberg≥ 600px / ≥ 782px(min-width: 600px) 8 / (min-width: 782px) 6. WordPress defaults
iPad834–1366px(min-width: 834px) and (max-width: 1366px)

`max-width: 767px` and `min-width: 767px` are used together, so both match at exactly 767px. Fix one of them to 768px when you implement.

Touch targets

  • Minimum 44 × 44px (WCAG). The pill buttons clear it with `padding: 14px 26px`
  • The round icon buttons (`SEARCH` / `MENU`) are around 56px

Font size behaviour

  • Page title 27px → 20–22px on mobile
  • Body at 16px with weight 500 and `line-height: 1.8` stays put
  • The stat block’s 24px / `letter-spacing: 4px` may drop to 2px tracking on mobile

Drop-in CSS variables

The same values as a theme block. Add the class to <body> and the site repaints.

body.theme-narahaku {--page-bg: #f5f5f5;
  --page-bg-gradient: none;
  --text-color: #323131;
  --heading-color: #323131;
  --link-color: #004d8a;
  --link-hover-color: #003157;
  --border-color: #d2d2d2;
  --card-bg: #f5f5f5;
  --card-shadow: 0 1px 2px rgba(50,49,49,0.06);
  --card-hover-shadow: 0 6px 18px rgba(50,49,49,0.12);
  --header-bg: #323131;
  --header-text-color: #ffffff;
  --header-shadow: none;
  --footer-bg: #f5f5f5;
  --footer-text-color: #6c6c6c;
  --button-bg: #004d8a;
  --button-text-color: #ffffff;
  --button-hover-bg: #003157;
  --button-border: none;
  --button-border-radius: 60px;
  --button-secondary-bg: #e9e9e9;
  --button-secondary-text-color: #323131;
  --button-secondary-hover-bg: #dedddd;
  --button-secondary-border: 1px solid #d2d2d2;
  --prompt-bg: #ebebeb;
  --prompt-text-color: #323131;
  --base-font: var(--font-helvetica);
  --heading-font: var(--font-helvetica);
  --card-border-radius: 60px;
}

Download theme.css

Visually close to

Measured with a deterministic colour + geometry comparison across 958 styles. Not a hand-picked list.

Where this came from

Source document
jp/design-md/narahaku/DESIGN.md · 12.7 KB
Repository
kzhrknt/awesome-design-md-jp
Licence
MIT
Translation
Translated from the original Japanese source document. Tokens, hex values and numbers are carried over unchanged.

Source text is reproduced under its original licence. Tokens, similarity scores and page structure are ours.