Website design guidelines
From information hierarchy to page boundaries, we keep complex content clear, quiet, and readable.
01 · Visual specimens
Visual specimens you can use directly
See the guidelines as real interface elements and inspect how each size behaves in context.
Typography hierarchy
One type scale for pages and cards
Color tokens
Colors follow theme tokens
- Canvas--color-canvas
- Content surface--color-parchment
- Primary ink--color-ink
- Muted ink--color-ink-muted
- Action accent--color-action
Theme variables control color; body copy stays free of decorative color.
Spacing scale
Give the page room while keeping edges aligned
New pages reuse shared variables instead of adding one-off spacing patches.
Common components
Components keep information clear first
- Images, titles, categories and dates share one content boundary.
- Cards provide a distinct boundary only when reading, imagery or interaction needs it.
02 · Page structure
Establish hierarchy before organizing content
Every module shares one content boundary; cards serve clear reading and interaction tasks.
Standard content has a maximum width of 1440px, with 32px side padding or 20px on mobile. The homepage hero spans the viewport.
03 · Expandable full reference
Full specification
Detailed rules are grouped by topic: see the specimen first, then expand only what needs review.
Version: November 20, 2026. Applies to the homepage, research, activities, news, products and company pages. All dimensions are CSS pixels, not physical screenshot pixels.
011. Design approach
The website uses monochrome typography, consistent content boundaries and three clear heading levels. Editorial lists organize images, titles, categories and dates to support reading. The homepage hero uses a full-width background and centered text. Pages use Elexvx content and images without copying another site's brand assets.
Implementation starts with information hierarchy, followed by shared widths and spacing, then cards, themes and responsive behavior. Research, activities, news and products are primary sections; categories within them are secondary filters and should not use page-heading sizes. The guidelines reflect source code and browser checks, not screenshot estimates alone.
022. Headings and typography
The site uses a locally hosted Source Han Sans variable font and a shared font stack for Chinese and English. Each page has one H1, sections use H2 and cards or subsections use H3. Semantic and visual hierarchy should agree.
| Purpose | Font size | Weight | Line height | Letter spacing |
|---|---|---|---|---|
| Page heading H1 | clamp(32px, calc(23.55px + 2.25vw), 56px) | 500 | 1.08 | -0.04em |
| Shared section heading H2 | clamp(24px, calc(19.77px + 1.13vw), 36px) | 500 | 1.3 | -0.02em |
| Shared card heading H3 | clamp(17px, calc(15.94px + 0.28vw), 20px) | 400 | 1.45 | normal |
| Body text | clamp(15px, calc(14.3px + 0.19vw), 17px) | 400 | Depends on context; 1.65 in the specimen | normal |
| Company page introduction | clamp(17px, calc(15.59px + 0.38vw), 21px) | 400 | 1.6; 1.55 at widths ≤720px | normal |
| Shared eyebrow | clamp(12px, calc(11.3px + 0.19vw), 14px) | 400 | 1.35 | normal |
| Small metadata | clamp(13px, calc(12.65px + 0.09vw), 14px) | 400 | Depends on the component | normal |
The rows correspond to --page-title-size, --section-title-size, --card-title-size, --body-text-size, --intro-text-size, --eyebrow-size and --small-text-size. These are shared sizes; semantic headings at the same level do not all share one line height or weight. Company page headings use a 1.12 line height. Body text inherits a base line height of 1.47, explanatory copy may use 1.65, and article text uses 1.8. Company eyebrows retain a 14px size and 20px line height; article captions and notes retain their component hierarchy.
H2 styling depends on context. Shared section headings use weight 500, line height 1.3 and letter spacing -0.02em. Design guideline section headings and the H2 specimen use the same size with line height 1.25 and letter spacing -0.025em. Article H2 headings use clamp(21px, calc(17.83px + 0.85vw), 30px) and line height 1.4. The homepage ecosystem heading is semantically an H2 but uses --page-title-size at 32–56px with line height 1.08, so the 24–36px section scale does not apply to every H2.
Card styling also depends on context. Shared card headings use 17–20px, weight 400 and line height 1.45. Design guideline card headings and the H3 specimen use the same size with weight 500 and line height 1.35. The homepage lead activity card uses --lead-title-size, clamp(22px, calc(18.48px + 0.94vw), 32px), with weight 400 and line height 1.4. Article H3 headings use clamp(18px, calc(15.89px + 0.56vw), 24px), weight 500 and line height 1.4, rather than card typography.
The clamp function scales continuously with viewport width between a minimum and maximum. The vw unit uses the viewport, not the 1440px content container. The table gives approximate shared font sizes and page-entry spacing rounded to two decimal places; these are reference widths, not additional media-query breakpoints.
| Viewport width | H1 | Shared section H2 | Card heading | Body text | Page-entry spacing |
|---|---|---|---|---|---|
| 390px mobile | 32.33px | 24.18px | 17.03px | 15.04px | 32.22px |
| 793px tablet | 41.39px | 28.73px | 18.16px | 15.81px | 38.27px |
| 1320px desktop | 53.25px | 34.69px | 19.64px | 16.81px | 46.17px |
| 1440px | 55.95px | 36px | 19.97px | 17px | 47.97px |
| 1600px and wider | 56px | 36px | 20px | 17px | 48px |
Headings wrap naturally within the available width. Avoid manual line breaks and isolated characters. Body text, captions and references retain distinct levels in the hierarchy.
033. Page structure and width
Standard pages use a centered container up to 1440px wide, including side padding of 32px above 720px or 20px on mobile. The maximum desktop content width is therefore 1376px.
List pages follow this order: global navigation, page heading, categories where applicable, content list and footer. Collections without categories do not need an empty filter bar. Headings, filters and grids share aligned boundaries. Horizontal news items retain the same outer container width.
Company and product details use an eyebrow, page heading, introduction, optional actions, content modules and the footer. The eyebrow, heading, introduction and actions generally align with the left edge of the content. The design guidelines page centers its introduction. Standard company introductions use a shared reading width and low-density sections instead of colored outlines, rounded corners or pale cards. Cards are reserved for images, interactions or content that needs a distinct boundary. Long passages are organized into clearly themed modules or cards. Technical explanations include architecture, technologies and process diagrams with supporting prose; they do not replace the explanation with technology names or deployment commands alone.
Team profiles show the photo, name and role above the biography. Above 720px, the biography uses two columns with a 40px gap; mobile uses one column. Photos are at most 240px wide. Identity and biography sections are separated by 48px on desktop or 32px on mobile.
Research articles use a 180px contents column alongside the body on desktop, switching to one column on mobile. Long contents entries are truncated on one line, with scrolling retained. KaTeX renders equations; figures, tables and their captions have distinct styling; citations link to their references.
044. Homepage hero
The hero is a full-width exception. Its background fills the viewport beneath the 64px navigation, without the 1440px container limit, rounded corners, borders or outer margins. Other homepage sections use the standard content width.
Desktop hero minimum height is clamp(520px, 76svh, 820px), with 80px vertical and 32px horizontal padding. Mobile uses a minimum height of 520px, 56px vertical and 24px horizontal padding. Content may increase the height; text must not be clipped.
The background uses cover cropping. The heading, description and optional button form a centered group, with text up to 1040px wide and the description up to 880px. Heading-to-description spacing is 24px on desktop and 20px on mobile; description-to-button spacing is 32px on desktop and 24px on mobile. A dark gradient keeps white text readable.
When the important-message option is enabled and a title exists, show that message; otherwise use the default brand heading, description and background. An optional link appears only when both its address and label are present.
055. Spacing
These shared rules and context-specific values do not imply identical spacing everywhere. New pages should reuse shared variables rather than add page-specific overrides.
| Location | Shared rule / desktop value | Responsive behavior / context |
|---|---|---|
| Standard page side padding | 32px | 20px at widths ≤720px |
| List-page top spacing | var(--page-entry-space) | 32–48px, continuously responsive |
| Page heading to categories / next content group | 32px | 32px |
| Categories to content list | 32px | 32px |
| Hero heading to description | 24px | 20px at widths ≤720px |
| Hero content to optional button | 32px | 24px at widths ≤720px |
| Company section vertical spacing | var(--section-space) | 56–120px, continuously responsive |
| Company section heading to content | 32px | 28px at widths ≤720px |
| Homepage activity lead image to sidebar | 32px in the desktop two-column layout | Switch layout on medium and small screens |
Page-entry spacing uses --page-entry-space: clamp(32px, calc(26.37px + 1.5vw), 48px). It applies to research, activity, news and product lists, plus company, design and detail pages that use this token. It scales continuously from mobile to desktop rather than switching to fixed values at 720px. The specimen shows the 48px maximum; actual spacing is responsive from 32–48px. The full-width homepage hero has separate vertical padding, distinct from ordinary page-entry spacing.
Company sections use --section-space: clamp(56px, calc(33.47px + 6.01vw), 120px). Each section determines which edges use it; company overview sections, for example, keep zero top padding and shared bottom spacing. Do not apply the same vertical spacing to both the outer section and its inner container.
New content cards should generally use 24px gaps and 24–32px padding; compact metadata uses 8–12px gaps. These are recommendations, not descriptions of every existing component. Image grids may use responsive spacing.
066. Cards, colors and images
The dark theme uses a black canvas and white primary text; the light theme reverses this. Secondary text uses neutral grays controlled by theme variables. Body text avoids decorative colors; images retain their original colors.
Article cards show an image, title and essential metadata. Homepage article cards and activity lists omit excerpts; product cards may retain positioning text. Card backgrounds, borders and corners follow their component styles. Standard company introductions do not use nested cards, and hero sections do not inherit card corners.
Rectangular rounded corners throughout the site share a smooth superellipse curve. Each radius step scales from 6px by the golden ratio φ (approximately 1.618), giving about 1.42, 2.29, 3.71, 6, 9.71, 15.71 and 25.42px. Content cards use about 15.71px. Media covers use about 9.71px on desktop and 6px on mobile. Full-width hero sections use square corners. Pill buttons, switch tracks, badges and progress bars keep full pill rounding (999px), while social icon buttons, status dots, switch thumbs, avatars and circular icon controls keep true circles (50%) with standard circular arcs (corner-shape: round). Browsers without superellipse support use standard rounding at the same radii.
Images use lazy loading and asynchronous decoding by default, with the first-screen hero and brand marks prioritized. Stable aspect ratios prevent layout shifts. Wide charts and tables may scroll locally on mobile, but the entire page must not overflow.
077. Development and verification
First identify whether the page is a list, detail page or special homepage region. Reuse shared navigation and footer data so company subpages appear consistently in desktop menus, mobile menus and the footer.
Base heading variables are in src/styles/sections/21-heading-system.css, the final global editorial layer is in 24-global-editorial.css, width variables are in 20-page-width.css, and base fonts and colors are in 01-foundation.css with theme overrides in 10-theme.css. Components connect to shared rules through class names; an H2 tag alone does not guarantee the intended visual style.
Check at least 390px, 793px, 1320px and a large viewport. Verify heading hierarchy, boundaries, wrapping, contrast and image cropping. Inspect computed font sizes, element bounds and page scrollWidth. A successful build does not replace visual checks.
This document is the source for the guidelines. The webpage is generated from it and the download provides the same design.md. Run npm run design:sync after changes; dev and build run it automatically. Update the document and examples when design variables change, then verify the rendered result.
