跳至主要内容
Wikipedia

Wikipedia DESIGN.md 设计系统与风格规范

EducationPro 专属v1.0.0 (最新)
wikipedia.org•关联于 2026年11月30日 04:00•审核 Bestony

The free encyclopedia's restrained institutional skin — Linux Libertine serif headings, Wikimedia-blue links, hairline rules, and 2px-square controls that disappear into the content.

Pro 专属网站

当前可免费阅读 Wikipedia 的完整设计叙述与最多 8 色主色板。升级 Pro 即可获取全部 63 个设计 Token、完整 DESIGN.md 源码下载及 1 个历史版本。

显示 8 / 12 个颜色
深色 (14%)
Aa 示例文字#BF3C2C
error
rgb(191, 60, 44)
深色 (39%)
Aa 示例文字#A2A9B1
outline
rgb(162, 169, 177)
深色 (15%)
Aa 示例文字#3366CC
primary
rgb(51, 102, 204)
浅色 (100%)
Aa 示例文字#FFFFFF
surface
rgb(255, 255, 255)
深色 (15%)
Aa 示例文字#3366CC
secondary
rgb(51, 102, 204)
浅色 (100%)
Aa 示例文字#FFFFFF
on-primary
rgb(255, 255, 255)
深色 (2%)
Aa 示例文字#202122
on-surface
rgb(32, 33, 34)
浅色 (95%)
Aa 示例文字#F8F9FA
surface-dim
rgb(248, 249, 250)
获取完整色板、CSS 变量与 DESIGN.md 源码

升级 DesignMD Pro,复制全部颜色的 :root CSS 变量、查看组件配色引用并下载完整源文件。

设计规范

Overview

Wikipedia has two public faces sharing one vocabulary: the www portal — a centered globe of language links around a search box — and the article skin (Vector 2022) where content is everything. Both are engineered for trust and neutrality: white canvas, near-black text, blue links exactly where links should be, 1px gray hairlines, and controls so standard they disappear. There is no marketing layer at all — no hero images, no gradients, no display typography beyond the serif wordmark. The design says "library", not "product".

Colors

  • Wikimedia blue #3366CC: the single brand color — progressive buttons, focused borders, and every hyperlink. Blue = clickable; that's the whole rule.
  • Ink #202122 / #101418: body and heading text.
  • Gray #54595D: secondary text, article counts, meta.
  • Surfaces: #FFFFFF base; #F8F9FA panels, table headers, footer wells; #EAECF0 quiet button fills; #FDFDFD alternating rows.
  • Borders: #A2A9B1 default hairline, #C8CCD1 light dividers/table rules, #72777D for inputs at rest.
  • Error #BF3C2C: red links to missing pages and destructive states — a functional color, not decoration.

Typography

A two-family system that encodes content hierarchy: Linux Libertine / Georgia serif for the wordmark and article headings (h1–h2), system sans for everything else.

  • Portal wordmark: 32px/700 serif ("Wikipedia" above "The Free Encyclopedia").
  • Article h1: ~29px/400 serif with a 1px bottom rule; h2 ~24px serif, also ruled.
  • Body: 14px/400 system sans at 1.5–1.6 line-height — tuned for long-form reading.
  • Controls: 14–16px; buttons weight 700.
  • Meta/footer: 13px gray.

Layout

Portal: a centered column — wordmark, globe, ~10 top-language links in a radial grid, then a 460px search row and a language picker, with a hairline-divided footer of sister projects. Article (Vector 2022): a fixed-width content column inside a max ~1596px app frame — left nav rail, right tools rail, sticky header with a 32px search pill. Spacing is compact 4px-grid work: 8–12px control padding, 24px panel gaps, ~44px content margins.

Elevation & Depth

Flat by principle — measured shadows are only a 1px inset focus ring and hairline "rules" under headings/toolbars. Hierarchy comes from ruled lines (#C8CCD1 borders under h1/h2 and the header bar), tonal panels, and whitespace. Nothing floats.

Shapes

Almost square. Codex controls (search, buttons, toggles) use a uniform 2px radius — visibly squared but not hard-sharp. The one organic exception: the portal's language-picker dropdown and focus outlines may use a slightly larger ~4px, and avatar/notification icons go circular. Right angles are the brand.

Motion & Micro-interaction

Barely-there functional motion: 100ms ease color/background/border transitions on hover and focus (outline-width 100ms for keyboard focus), ~250ms linear for collapsible panels (TOC hide/show, sticky header). Nothing bounces, fades, or parallaxes — animation only confirms state.

Voice & Content Strategy

Encyclopedic neutrality. UI strings are short imperatives and facts: "Search", "Read Wikipedia in your language", "English — 7,261,000+ articles". Article copy follows the encyclopedia's own tone (descriptive, third-person, citation-backed). The only warm note is the donation/support line and the mission statement ("the internet we were promised"). No exclamation marks, no CTAs beyond search and donate.

Components

Search

input-search — the portal's 44px field: white, #72777D border at rest, #3366CC border + inset focus ring when active, left radius 2px with an attached blue button-primary ("Search", white 16px/700) squared off on the right. The article header uses a shorter 32px variant with a leading magnifier.

Buttons

button-primary — Codex progressive: #3366CC fill, white bold label, 2px radius, 1px same-color border. button-secondary — #F8F9FA fill, #A2A9B1 border, blue bold label ("Read Wikipedia in your language"). button-quiet — #EAECF0 fill, no border, ink text ("hide" toggles).

Links

link-inline — #3366CC text, underline on hover; new-page links shift to #BF3C2C. Language links on the portal are bold 14px blue over white.

Panels

card-panel — #F8F9FA surface with #C8CCD1 hairline, 2px radius, ~16–24px padding (portal footer blocks, article infoboxes and hatnotes).

Do's and Don'ts

  • Do treat #3366CC as a strict affordance color — blue text is always clickable; never use it decoratively.
  • Do keep controls at 2px radius; squareness is part of the institutional voice.
  • Do set headings in serif (Linux Libertine/Georgia) and everything else in system sans — the pairing is the brand.
  • Do separate with 1px hairlines (#A2A9B1/#C8CCD1) instead of shadows.
  • Don't round cards or buttons beyond ~4px, and don't pill anything except avatars.
  • Don't introduce imagery, gradients, or marketing hero blocks — the content is the page.
  • Don't use animation beyond ~250ms state confirmation.

如何在 AI agent 里使用 Wikipedia 的 DESIGN.md

  1. 获取 Wikipedia 的 DESIGN.md

    请求 https://www.designmdpro.app/websites/wikipedia.md,或通过 DesignMD Pro MCP 服务器调用 get_design_md 工具(slug 为 "wikipedia"),即可获取公开版本;完整 tokens 需要 Pro。

  2. 保存为项目根目录下的 DESIGN.md

    把文件放在 AGENTS.md 或 CLAUDE.md 旁边,Claude Code、Cursor、Codex 等编码 agent 就能读到它。

  3. 让 agent 按它来写

    例如:“按照 DESIGN.md 里的 Wikipedia 设计系统实现设置页,使用其中的颜色、字体和间距 tokens。”

Wikipedia 风格 AI Prompt

参照 Wikipedia(wikipedia.org)的 DESIGN.md 设计系统,用它的视觉风格构建一个响应式落地页。

## 配色
- error: #BF3C2C
- outline: #A2A9B1
- primary: #3366CC
- surface: #FFFFFF
- secondary: #3366CC
- on-primary: #FFFFFF
- on-surface: #202122
- surface-dim: #F8F9FA

## 字体
- body-lg: "-apple-system", 16px, weight 400, line-height 1.6
- headline-lg: "Linux Libertine", 32px, weight 700, line-height 1.03

## 圆角
- lg: 4px
- md: 2px
- sm: 2px

## 规则
- 背景、文字、边框和强调色只使用上面列出的颜色,不要自创新颜色。
- 所有文字都使用上面的字体样式,并保持它们的字号与字重层级。
- 圆角和间距取自上面的尺度,让各组件保持一致。

完整 DESIGN.md:https://www.designmdpro.app/websites/wikipedia.md
在 V0 Prompt 生成器中自定义 →

常见问题

Wikipedia 的主色是什么?

Wikipedia 的品牌主色是蓝色(#3366CC),其 DESIGN.md 共定义了 12 个颜色 token。

Wikipedia 用的是什么字体?

Wikipedia 的主要字体是 Linux Libertine。

如何在 Tailwind CSS 或 shadcn/ui 中使用 Wikipedia 的设计 token?

本页公开了 Wikipedia 的主色 #3366CC。生成完整的 Tailwind 或 shadcn 主题需要完整的 DESIGN.md,可通过 DesignMD Pro 获取。

这份 Wikipedia DESIGN.md 是官方的吗?

不是。这份文件由 DesignMD Pro 从 wikipedia.org 的公开页面提取,与 Wikipedia 无关联,也未获其认可。

Wikipedia 的 DESIGN.md 最近一次更新是什么时候?

当前版本 1.0.0 提取于 2026年11月30日。

Wikipedia 及其商标归各自所有者所有。DesignMD Pro 是独立项目,与 Wikipedia 无任何关联,亦未获其认可;本 DESIGN.md 提取自其公开网站,仅供参考。