Wikipedia sistema de design DESIGN.md e guia de estilo
MediaProv1.0.0 (Mais recente)The Vector 2022 skin: a light-grey page ground with white content containers, one link blue unchanged for fifteen years, section headers tinted in five pastel hues each with a matching darker border, a 2px radius on 292 elements, and no drop shadows anywhere.
Pode ler gratuitamente a narrativa de design completa e até 8 cores principais de Wikipedia. Atualize para Pro para aceder a todos os 70 design tokens, transferências completas de DESIGN.md e 1 revisões.
Atualize para DesignMD Pro para copiar todas as cores como :root variáveis CSS, inspecionar referências de tokens de componentes e transferir o ficheiro fonte completo.
Diretrizes de Design
Overview
This is the English Wikipedia Main Page under Vector 2022, the skin that has fronted the site since 2022 and inherits its restraint from the 2010 Vector skin before it. It is the most-read page on the internet and it looks like a newspaper that has been sanded down for fifteen years: a light-grey ground, white content containers, one blue for every link, and almost nothing else.
The page is a stack of .mp-box panels, each introduced by a tinted section header bar. Five pastel hues rotate through those headers — green for "From today's featured article", blue for "In the news", pink for "Today's featured picture", purple for "Did you know…", grey for the neutral "Other areas of Wikipedia" — and each header carries a 1px border in a darker sibling of its own fill. That single move is the entire colour idea of the page: the sections are distinguishable by hue without any of them becoming a button, a badge or an accent.
Beneath it all is a chrome layer of pure utility: a 66px white header with a logo, a search box and three text links; a left navigation menu that pins and unpins; an "Appearance" sidebar with radio buttons for text size, width and colour scheme; and a footer of plain links. There are no images in the chrome, no icons beyond a hamburger and a magnifier, and no illustration anywhere.
The design's confidence is that it has nothing to prove. A page serving 7.2 million articles and 259,000 active editors to the entire planet resolves its hierarchy with 1px borders, four grey values and five pastels, and it works.
Colors
Four greys, one blue, five pastels. That is the complete palette.
- Primary
#3366cc— the link blue, and the only saturated colour in the chrome. It has been Wikipedia's link colour, essentially unchanged, since 2010. It appears 269 times on this page and nowhere as a fill. On the grey page ground it measures 5.09:1; on white 5.37:1. It is the single most load-bearing value in the system. - On-surface
#202122— body text, a near-black with a warm cast. 15.30:1 on the page ground. Used for every paragraph, list item and byline. - Text-heading
#101418— a colder, deeper near-black used only for headings: theWelcome to Wikipedia,title and the five section headers. Against every pastel it clears 12:1. - Secondary
#54595d— the muted grey for menu headings likeNavigation. 7.09:1 on white. - Text-button
#404244— the control grey, used for thehide,Searchand appearance radio labels. 10.09:1 on white. - Surface
#f8f9fa— the page ground. Not white: a very slightly blue grey that makes the white containers below it read as raised without a single shadow. - Surface-raised
#ffffff— the header, the search input, the dropdowns, and the.mw-page-containeritself. - Surface-panel
#f9f9f9— the neutral.mp-boxfill, one step off white, used for the welcome banner. - Outline
#a2a9b1— the standard border grey. It is theh2underline in article bodies and the footer's top rule. - Outline-variant
#c8ccd1— the hairline grey, a step lighter, used for the subtlest separators.
The five section tints, each with its own darker border:
| Section | Fill | Border | #101418 on fill |
|---|---|---|---|
| Featured article | #cef2e0 mint | #a3bfb1 | 15.33:1 |
| In the news | #cedff2 ice blue | #a3b0bf | 13.62:1 |
| Featured picture | #f2cedd blush | #bfa3af | 12.90:1 |
| Did you know… | #ddcef2 lilac | #afa3bf | 12.49:1 |
| Other areas | #eeeeee grey | #dddddd | 15.94:1 |
The border is always the fill's darker, desaturated sibling — roughly 35% darker with the same hue — so each header reads as a single tinted object with a defined edge rather than a fill with a line drawn round it. The corresponding .mp-box bodies use the same hues at a much lighter wash: #fff5fa for the featured-picture block, #faf5ff for the did-you-know block.
There is no black and no pure grey ramp beyond these values. No #000, no #333, no #666 — the darkest thing on the page is #101418. And every contrast pair in the system clears AA comfortably, the tightest being the link blue at 5.09:1.
Typography
Two families with a hard boundary between them.
sans-serif(the system stack: Helvetica Neue, Arial, and whatever the platform provides) — everything on the main page. Headings, body, links, buttons, menus, labels. This is a deliberate choice: Wikipedia cannot ship a webfont to the whole planet, so it uses the reader's own.'Linux Libertine', 'Georgia', 'Times', 'Source Serif 4', serif— declared for.mw-body-content h1andh2, which means article pages only, not the main page. It is the classic Wikipedia serif, and it is where the encyclopedia's editorial voice lives. On the main page it is entirely absent.
The scale is small and unambitious, and that is the point:
| Role | Size / weight / leading | Colour |
|---|---|---|
Page title (Welcome to Wikipedia,) | 25.92px / 400 / 1.375 | #101418 |
| Section header | 19.2px / 700 / 1.375 | #101418 |
| Body | 16px / 400 / 1.625 | #202122 |
| Small body / captions | 13.6px / 400 / 1.625 | #202122 |
| UI label | 14px / 400 / 1.5714 | #202122 |
| UI label (menu heading) | 14px / 400 / — | #54595d |
| Button | 16px / 700 / 2 | #404244 |
Note two things. First, the page title is font-weight: 400 — at 25.92px in the system sans it is already large enough, and bolding it would shout. Only the section headers are bold, at a smaller size, which inverts the usual hierarchy and gives the page its flat, newspaper-like calm. Second, every size is a non-integer (25.92, 19.2, 13.6, 22.1): the scale is defined in em/pt against a rem base and rendered at whatever the browser resolves, which is why the numbers look arbitrary and the rhythm does not.
Letter-spacing is normal everywhere. There is no tracking adjustment anywhere on the page, and no text-transform — the only uppercase text is whatever the source provides.
Layout
A 1440px viewport with 44px page gutters (.mw-page-container { padding: 0 44px }), a 1352px content container, and a 1132px content column for the main page body.
- Header — 1440×66, white,
display: flex. Hamburger left, the Wikipedia wordmark and its "25 years of the free encyclopedia" lockup, a 402px search box, thenDonate,Create accountandLog inas plain text links at the right. - Tab strip —
Main Page(selected, underlined) /Talk, thenRead/View source/View historyat the right with a bookmark and a ⋮ menu. All 14px, all#202122. - Welcome banner — an
.mp-boxat#f9f9f9with a#ddddddborder andpadding: 0 8px 8px, holding the 25.92px title, the tagline (the free encyclopedia that anyone can edit), and the stats line (259,283 active editors · 7,268,893 articles in English). - Two-column band — "From today's featured article" and "Did you know…" side by side, each 502px wide. Below them, "In the news" at 590px. Then "Today's featured picture" and "Other areas of Wikipedia" full-width at 1132px.
.mp-box— the universal container:padding: 0 8px 8px,border: 1px solid <tint>,border-radius: 0. Its header is the tinted.mp-h2bar; its body is the wash-tinted fill..mp-h2— the section header: 19.2px/700#101418,padding: 3.84px 7.68px,border: 1px solid <matching darker tint>, 36px tall. Note the padding is0.24em / 0.48em, which is why it renders as 3.84px and 7.68px.- Left navigation — a pinned column of
.vector-pinnable-elementmenus, each with aNavigation-style heading at 14px/#54595d,padding: 6px 0and a1px solid #eaecf0underline, followed by 14px links. - Appearance sidebar — a 164px panel with
hideat the right, then three radio groups (Text: Small/Standard/Large;Width: Standard/Wide;Color: Automatic/Light/Dark) with 14px labels. - Footer — 1352px wide,
padding: 12px 0,border-top: 1px solid #a2a9b1. A "Page was rendered with Parsoid" note, then four columns of links (Privacy policy, About Wikipedia, Disclaimers, Contact Wikipedia, Legal & safety contacts, Code of Conduct, Developers, Statistics, Cookie statement, Mobile view), then the Wikimedia and MediaWiki logos.
The spacing scale is 4 / 6 / 8 / 16 / 24 / 32 / 44px, with 6px by far the most common (104 uses) and 8px close behind (55). Everything is a multiple of 4 except the 44px gutters and the 3.84px header padding, and the whole page is built from those few numbers repeated.
Elevation & Depth
There are no drop shadows. The entire box-shadow extraction for the page returns two values, and neither is a shadow in any meaningful sense:
rgba(0, 0, 0, 0) 0px 0px 0px 1px inset— a fully transparent inset ring on the search input. It is a no-op placeholder.rgb(200, 204, 209) 0px 1px 0px 0px— a single 1px hard line, not a blur.
So the entire depth vocabulary is borders and background steps. The page ground is #f8f9fa; the containers on it are white or #f9f9f9; the section headers are pastel; and every edge is a 1px line in a grey or a tint's darker sibling. That is how a 3,984px-tall page with 31 distinct blocks stays flat and legible.
The one exception is the dropdown, which does cast a real shadow: rgba(0, 0, 0, 0.2) 0px 2px 6px -1px, on a white surface at padding: 16px. It is the only floating layer on the page and it earns its shadow by being the only thing that overlaps content.
This is the discipline worth copying: if the hierarchy can be carried by a 1px border and a two-step background ramp, it should be. Wikipedia's page has no elevation because it has nothing floating over anything else except one menu.
Shapes
One radius, used 292 times.
2px(xs) — every rounded corner on the page. Buttons, inputs, the skip link, the appearance radios. It is a barely rounded corner: enough to take the algorithmic edge off a rectangle, not enough to read as "friendly". At 292 instances it is the single most-repeated value in the entire system.0px(none) — everything structural: the page, the header, the.mp-boxpanels, the section headers, the footer, the navigation. All sharp rectangles.
The eight contributor and recommender avatars in the featured blocks are true circles (border-radius: 50%); they are the only non-rectangular shapes on the page and the only place a percentage radius is used.
There is also one asymmetric case: the search input is border-radius: 2px 0 0 2px, rounding only its left corners so it meets the square Search button flush.
The lesson is that a design system needs one radius, not a scale of seven. Wikipedia has 2px and the avatar circle and nothing between, and the page is none the poorer for it — the pastels and the greys do all the differentiating that a radius ramp would otherwise be asked to do.
Motion & Micro-interaction
One transition, and it is almost invisible by design.
background-color, color, border-color, box-shadow 0.1s ease — declared on 15 elements (links, buttons, menu items). One hundred milliseconds. It is below the threshold at which most people perceive an animation, which is exactly the intent: state changes should register as responsiveness, not as motion. A link hover on Wikipedia feels instantaneous, and a 400ms transition would make the whole page feel sluggish.
One longer transition exists, on a single element: top, max-height 0.25s linear for the collapsible navigation.
There is no scroll-linked motion, no parallax, no carousel, no fade-in, no skeleton loader and no page transition. The featured image does not cross-fade. The countdown-free page loads and sits still. The most interactive thing on it is the SHOW ME ANOTHER-free static text — the entire page is a document, and it behaves like one.
Voice & Content Strategy
The voice is encyclopedic and impersonal, and it is the most distinctive thing about the page. There is no marketing copy anywhere. The register is neutral, factual, and hedged with the precision of a style manual — and the few places where a human voice breaks through are deliberate and carefully rationed.
Real examples from the captured page:
- "Welcome to Wikipedia," — the title, with its comma. It is an address, not a slogan, and the comma is the whole warmth of it.
- "the free encyclopedia that anyone can edit." — the tagline, with
freeandanyone can editas the two links. The mission statement is three words long and both of its load-bearing words are hyperlinked. - "259,283 active editors · 7,268,893 articles in English" — the stats line. Exact numbers, no rounding, no "over", no "more than". The precision is the boast.
- "From today's featured article" / "Did you know…" / "In the news" / "Today's featured picture" / "Other areas of Wikipedia" — the five section headers. All sentence case, all descriptive of the mechanism rather than the content, and "Other areas of Wikipedia" is a magnificent piece of bureaucratic understatement for a list of 300 sister projects.
- "Help us improve this article!" — the one exclamation mark on the page, and it is spent on a request for labour rather than a claim about the product.
- "You can improve this article by:" followed by "Finding reliable sources about the topic", "Adding more citations", 'Expanding the "History", "Professions", and "Regulation" sections'. Note the bulleted imperatives addressed directly to the reader — the only second-person copy on the page.
- "You can be bold and start editing the article. Have questions or suggestions? Visit the article's talk page, or post at the Teahouse for general discussion." —
Teahouseis Wikipedia's onboarding space and the copy names it plainly rather than euphemistically. - "Recently featured: Great white shark · Ice Warrior · Mairzy Doates" and "Recently featured: Awards and nominations received by Brandon Flowers · …" — the "recently featured" lines, which are the only place the page admits to a history.
- "Wikipedia is written in volunteer editors and hosted by the Wikimedia Foundation, a non-profit organisation that also hosts a range of other free projects." — the footer's self-description, which leads with who wrote it rather than what it is.
- "This Wikipedia is written in English. Many other Wikipedias are available; some of the largest are listed below." — the languages block, which lists Arabic, German, Spanish, French, Hindi, Italian, Japanese, Korean, Dutch, Polish, Portuguese, Russian, Swedish and Ukrainian each with a live article count, then a
349 languagesdropdown.
The discipline is total: no adjective survives unless it is doing factual work. "Featured", "free", "active", "other" — that is the entire adjectival vocabulary of the page. The one place personality is allowed is the "Did you know…" hooks, which are written as genuine curiosities ("...that three vocalised overlords singing their own girl group formed in the 1990s..."), and even those are attributed to the articles they came from.
Components
.mp-box— the universal content container.padding: 0 8px 8px,border: 1px solid <tint>,border-radius: 0, with a body fill in the matching wash (#f9f9f9neutral,#fff5fapink,#faf5ffpurple). 1132px or 502px or 590px wide depending on the band..mp-h2section header — the tinted bar that opens every.mp-box. 19.2px/700/26.4px#101418,padding: 3.84px 7.68px,border: 1px solid <darker sibling of the fill>, 36px tall,border-radius: 0. Five fills rotate:#cef2e0,#cedff2,#f2cedd,#ddcef2,#eeeeee.- Header — 1440×66, white, flex. Hamburger, the
WIKIPEDIAwordmark with25 years of the free encyclopediabeneath, the search box, thenDonate/Create account/Log inas 16px links at the right. - Search input — 402×32, white fill,
border: 1px solid #72777d,border-radius: 2px 0 0 2px,padding: 4px 8px 4px 32px(the left inset clears the magnifier icon), 14px/22px text. Pairs with a squareSearchbutton at#404244… actually a white button with a#72777dborder, closing the 2px-left / 0px-right radius pair. - Tab strip —
Main Page/Talkat the left,Read/View source/View historyplus a bookmark and ⋮ at the right. 14px,#202122, the selected tab underlined. Below the strip,border-bottom: 1px solid #a2a9b1. - Navigation menu — a
.vector-pinnable-elementcolumn. Each portlet has a heading at 14px/#54595dwithpadding: 6px 0and a1px solid #eaecf0bottom rule, then 14px links. The whole column pins and unpins via a toggle button. - Appearance panel — 164px wide,
hideat the right, three labelled radio groups (Text: Small/Standard/Large; Width: Standard/Wide; Color: Automatic/Light/Dark). Labels at 14px/#404244, radios at#3366cc. - Dropdown — white,
padding: 16px,border-radius: 0,box-shadow: rgba(0,0,0,0.2) 0 2px 6px -1px. The only floating layer on the page and the only real shadow in the system. - Featured-article block — 502px wide. A floated 200px thumbnail on the left with a caption beneath it, the article title in bold, then the extract in 16px/26px with inline links, then
Archive · By email · More featured articles · About usat the foot. - Did-you-know block — 502px wide, purple-tinted, a bulleted list of hooks each ending in
…, thenArchive · Start a new article · Nominate an interesting article. - In-the-news block — 590px wide, blue-tinted, a bulleted list of current-events items with a floated thumbnail at the right, then
More current events · Nominate an article. - Featured-picture block — 1132px wide, pink-tinted, a large centred image with a long italic caption and a credit line (
Photo credit: White Studio, restored by Adam Cuerden), thenMore featured pictures. - Languages block — a
349 languagesdropdown button, then a multi-column list of languages each with an article count, grouped by magnitude (1,000,000+ / 250,000+ / 100,000+ / 50,000+ / 10,000+). - Footer — 1352px wide,
padding: 12px 0,border-top: 1px solid #a2a9b1. A "Page was rendered with Parsoid" note, four columns of links, then the Wikimedia and MediaWiki logos at the right. - Skip link —
Jump to content,#3366cc,border-radius: 2px, visually hidden until focused. The only accessibility-specific component and the only element sized 1×1.
Do's and Don'ts
- Do keep the link blue at
#3366ccand use it for every link, everywhere, with no exceptions. It is the only saturated colour in the chrome and its consistency across 269 instances is what makes the page scannable. - Do tint each section header with a pastel fill and a 1px border in a darker sibling of that same fill. The border should be roughly 35% darker and equally desaturated — that pairing is what makes a header read as one object rather than a fill with a line round it.
- Do separate the page ground from its containers by background step alone:
#f8f9fapage,#ffffffheader,#f9f9f9neutral panel. This works because there are no shadows to compete with it. - Don't add a drop shadow. The page has exactly one, on the dropdown, and it is
rgba(0,0,0,0.2) 0 2px 6px -1px. Everything else separates with a 1px border or a background step. - Do use exactly one radius:
2px. It appears 292 times. Add50%for avatars and leave everything structural at0px. - Don't bold the page title.
Welcome to Wikipedia,is 25.92px atfont-weight: 400; only the 19.2px section headers are bold. Inverting the weight hierarchy is what keeps the page calm. - Do keep state transitions at
0.1s easeonbackground-color, color, border-color, box-shadow. Faster than perception is the goal — the page should feel instant, not animated. - Do use the system sans stack for all interface text and reserve the Linux Libertine serif stack for article-page headings. The main page has no serif at all, and that is a deliberate boundary.
- Don't ship a webfont. The system stack is the typography strategy; it loads instantly for every reader on earth and it never blocks paint.
- Do write copy that is descriptive of mechanism, not content: "From today's featured article", "In the news", "Other areas of Wikipedia". The headers tell you how the page works, not what is in it.
- Don't use an adjective unless it is doing factual work. The entire adjectival vocabulary of this page is "featured", "free", "active" and "other".
- Do keep the 44px page gutters, the 1132px content column and the 4/6/8/16/24/32px spacing scale. Six numbers build the whole page.
Como utilizar o DESIGN.md de Wikipedia com um agente AI
Obter o DESIGN.md de Wikipedia
Aceda a https://www.designmdpro.app/websites/wikipedia-1.md ou chame a ferramenta get_design_md com o slug "wikipedia-1" no servidor MCP do DesignMD Pro para obter a versão pública. O conjunto completo de tokens requer Pro.
Guarde-o como DESIGN.md na raiz do projeto
Coloque o ficheiro junto a AGENTS.md ou CLAUDE.md para que o Claude Code, Cursor, Codex e outros agentes de programação o encontrem.
Peça ao seu agente para o seguir
Por exemplo: "Cria a página de definições seguindo o sistema de design de Wikipedia em DESIGN.md — utiliza as suas cores, tipografia e tokens de espaçamento."
Prompt AI ao estilo de Wikipedia
Cria uma landing page responsiva no estilo visual de Wikipedia (en.wikipedia.org), seguindo o seu sistema de design DESIGN.md.
## Cores
- outline: #A2A9B1
- primary: #3366CC
- surface: #F8F9FA
- secondary: #54595D
- tint-blue: #CEDFF2
- tint-grey: #EEEEEE
- tint-pink: #F2CEDD
- on-primary: #FFFFFF
## Tipografia
- body: "sans-serif", 16px, weight 400, line-height 1.625
- button: "sans-serif", 16px, weight 700, line-height 2
## Raio de canto
- xs: 2px
- none: 0px
## Regras
- Utiliza apenas as cores acima para fundos, texto, bordas e destaques; não inventes novas cores.
- Define todo o texto com os estilos tipográficos acima e mantém a respetiva hierarquia de tamanhos e pesos.
- Aplica raios de canto e espaçamentos das escalas acima para manter a consistência entre componentes.
DESIGN.md completo: https://www.designmdpro.app/websites/wikipedia-1.mdPersonalizar no gerador de prompts v0 →Perguntas frequentes
Qual é a cor principal de Wikipedia?
A cor principal da marca Wikipedia é Azul (#3366CC). O seu DESIGN.md define 18 tokens de cor no total.
Como utilizar os design tokens de Wikipedia em Tailwind CSS ou shadcn/ui?
A cor principal de Wikipedia (#3366CC) é pública nesta página. Gerar um tema completo para Tailwind ou shadcn requer o DESIGN.md integral, disponível com o DesignMD Pro.
Este DESIGN.md de Wikipedia é oficial?
Não. O DesignMD Pro extraiu-o do website público en.wikipedia.org. Não é afiliado nem endossado por Wikipedia.
Quando foi atualizado pela última vez o DESIGN.md de Wikipedia?
A versão 1.0.0 foi capturada em 30 de novembro de 2026.
Wikipedia e as respetivas marcas comerciais pertencem aos seus legítimos proprietários. O DesignMD Pro é um projeto independente, não afiliado nem endossado por Wikipedia; este DESIGN.md foi extraído do website público apenas para referência.