Microsoft Math design system DESIGN.md et guide de style
EducationProv1.0.0 (Dernière)Microsoft Education's landing page for its math tools: a 1,324px React shell in Segoe UI with one 860px hero photograph, two grey feature cards for OneNote's Math Assistant and Microsoft Teams' Math Progress, and a language-and-legal footer.
Vous pouvez lire gratuitement le récit de design complet et jusqu'à 8 couleurs principales de Microsoft Math. Passez à Pro pour accéder aux 83 design tokens, aux téléchargements complets de DESIGN.md et à 1 révisions.
Passez à DesignMD Pro pour copier toutes les couleurs en :root variables CSS, inspecter les références de tokens de composants et télécharger le fichier source complet.
Règles de design
Overview
math.microsoft.com is the front door to Microsoft Education's two maths products, and it is close to the smallest page Microsoft ships. A 547-byte HTML blob containing an empty <div id="root"> and one deferred script does all the work; everything below is rendered client-side. The whole document is 1,324 CSS pixels tall and contains exactly four things: a header lockup, one photograph, two grey cards, and a footer.
The photograph is the hero. It runs 860px wide and 351px tall, carries the wordmark "Math" in 60px white, and has a translucent navy scrim across its lower half holding the page's only real sentence. Below it, two section.feature-card blocks — "Math Assistant" and "Math Progress" — sit in a 780px column, 48px apart, each an icon beside a title, a paragraph, an availability line and two links. Then the footer: a language picker, four legal links, and a copyright.
The restraint is total and it is the design. There is not one CSS transition on the page — every element computes transition-duration: 0s — no webfont is loaded (the entire page is set in the system Segoe UI), there are two font weights, four colours of text, and one shadow that is a text-shadow rather than a box shadow. A single * { margin: 0; padding: 0; box-sizing: border-box } reset does the spacing work; there is no grid, no utility layer, no design-token file.
Note that the product itself is OneNote's Math Assistant and Microsoft Teams' Math Progress; this page is a signpost, and it is built like one.
Colors
Five values carry the entire page, and only one of them is an accent.
{colors.primary}—#1f5582. The only link colour. "Learn more", "Support" and every footer legal link use it. 7.84:1 on white and 7.31:1 on the#f7f7f7card — comfortably clear of AA on both grounds, which matters because the links sit on the card, not the page.{colors.secondary}/{colors.on-surface}—#242424. The ink. Every heading and every card description. 15.52:1 on white, 14.49:1 on the card.{colors.on-surface-variant}—#616161. The metadata grey: "Available in OneNote for Microsoft 365 Education", the language selector, and all four footer links at 12px. 6.19:1 on white and 5.78:1 on the card. A single darker instance of#3d3d3d(10.86:1) appears once and is not part of a system.{colors.background}—#ffffff. The page ground, edge to edge.{colors.surface}—#f7f7f7. The card ground, the only non-white surface on the page.{colors.inverse-surface}—#333333at 60%. The hero scrim. Over the light-blue wall of the photograph it composites to roughly#5b626c, where white measures 6.2:1; over the darker sofa it lands near#444443and white measures 9.8:1. It passes AA across the whole band, but only because the photograph behind it is mid-to-dark — on a light image the same scrim would not.{colors.inverse-surface-fixed}—#000000. One use: the.skip-linkground, parked off-screen atleft: -9999pxwithz-index: 999.{colors.outline}—#d1d1d1. One use: the 1px edge on the language selector. It is the only border in the entire system — the cards havebox-shadow: noneand no border at all.{colors.accent}/{colors.accent-variant}—#04a6ef/#ffb70e. Two of the four squares in the 23×22px Microsoft logo in the header (the other two are the brand red-orange and green). They appear nowhere else on the page and are the only saturated colour outside the product icons.{colors.accent-bright}—#9140b6. The OneNote purple, in the Math Assistant icon.{colors.gradient-container-teal}/{colors.gradient-container-green}/{colors.gradient-container-lime}—#1a8595/#65d488/#cef09c. The three stops of the Math Progress icon's teal-to-lime gradient. The only gradient on the page, and it is 52px square.
Typography
One family, two weights, and a scale that stops at 60px.
Segoe UI does everything, with a sans-serif fallback and no webfont request of any kind — loadedFontFaces is empty. Only 400 and 600 are used. There is no letter-spacing, no text-transform, no italic and no second family anywhere in the document. Hierarchy is size and weight, full stop.
{typography.display-hero}— 60px / 92px (1.53), weight 600,{colors.on-inverse-surface}. The wordmark "Math", set as#hero-title/.hero-titleand measured at 363×92px. The 1.53 line-height is enormous for a single word and is what lets thetext-shadowbreathe.{typography.display-card}— 32px / 40px (1.25), weight 600. The two card titles: "Math Assistant", "Math Progress".{typography.display-section}— 20px / 30px (1.5), weight 600. Theh3on the page.{typography.heading-compact}— 18px / 22.5px (1.25), weight 600. A secondh2style, used once.{typography.heading-tall}— 18px / 40px (2.22), weight 600. The otherh3style. A 2.22 line-height on an 18px heading is a very loose setting and it is the oddest typographic decision on the page.{typography.body-lead}— 18px / 28px (1.56), weight 400,{colors.on-inverse-surface}. The hero paragraph, the only white body copy on the site.{typography.body-base}— 16px / 22px (1.375), weight 400. The card descriptions.{typography.body-meta}— 16px / 22px, weight 400,{colors.on-surface-variant}. Same metrics as the body, different role: the "Available in …" availability line.{typography.label-button}— 16px / 24px, weight 400,{colors.on-surface-variant}. The language selector's visible face.{typography.link-action}— 16px / 24px, weight 600,{colors.primary}. "Learn more" and "Support", and the skip link's label.{typography.footer-link}— 12px / 20px, weight 400,{colors.on-surface-variant}. The four legal links. Twelve pixels is the smallest size on the page and it is used for links people are legally expected to find.
Layout
A global reset, one 860px hero, one 780px column, one footer. No grid.
- Reset.
* { box-sizing: border-box; margin: 0; padding: 0 }is the only shared rule in the stylesheet. Every margin and padding on the page is then written explicitly on the component that needs it, which is why the spacing values are so few. - Header.
.app-headerisposition: absolute; top: 0; left: 0; width: 100%; height: 60px; display: flex; align-items: center. It overlays the hero rather than pushing it down, and the hero's photograph starts at y=86 underneath it. The lockup — the four-square Microsoft logo, the word "Microsoft", a divider, then "Math" — is left-aligned at x=80, which is 210px to the left of the 860px content column. The header and the content are deliberately not aligned. - Hero. An 860px photograph centred on white, 351px tall, 24px radius,
object-fit: cover. The h1 sits at its top-left; argba(51,51,51,0.6)scrim covers the lower portion and carries the paragraph. The scrim's top edge runs at roughly a third of the hero's height and steps down beside the headline, so the wordmark reads against unobscured photograph. - Card column. 780px wide and centred — 40px narrower than the hero on each side, which is the one misalignment in the layout. Each
.feature-cardisdisplay: flex; align-items: flex-start; gap: 32px; padding: 32px; max-width: 860px; width: 100%; margin: 0 auto, 24px radius,#f7f7f7ground, and sizes to its content: 264px for Math Assistant, 286px for Math Progress. The two are 48px apart. - Card internals. A 52px icon column, then a text column:
h2title, description paragraph, availability line, and a two-link action row. Nothing wraps to a second column at this width and nothing is truncated. - Footer.
.footer { min-height: 160px; padding: 40px 0; width: 100% }. A language control at the left, the four legal links running right from it on one line, and "©Microsoft 2025" centred below. There is no link grid, no sitemap, no social row. - Vertical rhythm. The spacing ladder is 2, 4, 8, 16, 32, 40 and 80px — a near-doubling scale with 40 and 80 as the section steps. Card padding is 32px, card gap is 32px, card-to-card is 48px, footer padding is 40px.
- Max-widths observed: 860px (the hero and the card cap), 1200px (once, unused at this viewport) and 360px (once).
Elevation & Depth
There are two shadows on the page, and the more important one is not a box shadow.
.hero-title'stext-shadow: rgba(0,0,0,.2) 0 0 8px, rgba(0,0,0,.24) 0 14px 28px. A two-layer shadow: a tight 8px-blur halo at 20% black for contact legibility, and a wide 14px-offset / 28px-blur shadow at 24% for separation from the photograph. This is the only thing lifting the wordmark off the image, and it is doing all the work a gradient scrim would do on a busier site.rgba(0,0,0,0.25) 0 4px 4px. One instance, a small even shadow. Everything else on the page computesbox-shadow: none— the cards, the header, the language control, the icons.- The scrim itself.
#333333at 60% is the third depth cue: a flat wash rather than a gradient, which is why the paragraph stays legible right up to its top edge instead of fading in. - The language selector's 1px
#d1d1d1border is the only outline in the system and the only non-shadow separation anywhere.
Shapes
Two radii, and one of them is used twice.
{rounded.xl}— 24px. The hero photograph and both feature cards. It is the system's only generous corner and it appears on every large surface.{rounded.sm}— 4px. The language selector and the product icons. Four pixels is barely a radius — it reads as a crisp, deliberate corner on small controls.{rounded.md}— 8px and{rounded.lg}— 20px each appear exactly once in the computed styles and are not part of a ladder. The 20px instance is the tightest reading of the hero's corner; 24px is the declared value and the better fit to the arc.- Nothing is a pill, nothing is a circle, nothing is square-cornered. The Microsoft logo's four squares are the only hard edges on the page.
Motion & Micro-interaction
There isn't any, and that is a decision rather than an omission.
- Every element on the page computes
transition-duration: 0s,transition-property: all,transition-timing-function: ease— the user-agent default, never overridden. There is no@keyframes, noanimation, notransform, noopacitytransition and no scroll listener anywhere in the stylesheet. - Hover states therefore snap. "Learn more" changes colour in zero frames; the language selector's chevron does not rotate.
- The one piece of motion on the page is not CSS: the client-side bundle swaps the document in after the 547-byte shell loads, so the first paint is a blank white page followed by an instant full layout.
- The only element that moves on its own is the off-screen
.skip-link, and only when it receives focus.
Voice & Content Strategy
The copy is Microsoft's accessibility register, and it commits to a belief rather than to a feature.
The hero sentence is the whole argument: "At Microsoft Education, we believe every student deserves the opportunity to thrive. Make math accessible for learners with powerful, inclusive tools designed to unlock potential and build confidence to make math fun." Four clauses, no product name, no metric, no call to action — the page opens by stating a value and letting the two cards do the selling.
Each card then answers one question in one sentence. "Math Assistant in OneNote can help you solve math problems — whether you need a quick answer or want to learn step-by-step, it's your personal tutor and problem-solver in one." The construction is worth copying: the use case, the two modes, and a single plain-language summary of what the thing is. The second card does the same for the other audience: "Math Progress streamlines assignment creation and provides student performance insights to help educators identify course trends at the individual or class level."
Availability is stated as a constraint, not a benefit: "Available in OneNote for Microsoft 365 Education" and "Available in Microsoft Teams for Education". There is no upsell, no pricing, no trial, and no second-level navigation — the page's only exits are two links per card and a footer.
The last piece of copy is the least visible and the most characteristic: a .skip-link reading "Skip to main content", black on white, 14px/600, parked at left: -9999px with z-index: 999 until it takes focus. On a page this sparse it is almost decorative, but it is there, and it is the only element on the site with a z-index.
Components
The hero photograph
{components.hero-photo} is the page. 860×351px, 24px radius, centred on white, object-fit: cover, with no border and no shadow of its own. {components.hero-heading} is the wordmark on top of it — 60px/92px/600 white with the two-layer text-shadow described under Elevation. {components.hero-scrim} is the rgba(51,51,33,0.6) band across its lower portion, carrying {typography.body-lead} at 6.2:1 against the lightest part of the photograph.
The feature card
{components.card-product} is the unit of the content: #f7f7f7, 24px radius, 32px padding, display: flex with a 32px gap, align-items: flex-start, and no border or shadow. {components.card-title} is the 32px/600 h2. {components.card-meta} is the 16px #616161 availability line. {components.link-action} is the two-link row — "Learn more" and "Support", 16px/600 in #1f5582, 7.31:1 on the card ground.
The product icons
{components.icon-onenote} is the OneNote mark: a 52px purple #9140b6 rounded square with the letter N knocked out of it. {components.icon-math-progress} is the Math Progress mark: a 52px square filled with a teal-to-lime gradient running #1a8595 → #65d488 → #cef09c, with a simple chart glyph. They are the only two pieces of brand colour in the body of the page and they are the only thing distinguishing the two cards at a glance.
The header lockup
{components.brand-mark} is the 23×22px four-square Microsoft logo in #04a6ef, #ffb70e and the brand red-orange and green. It sits at x=80 in a 60px absolute header, followed by the word "Microsoft", a divider and "Math". It is the only place the corporate mark appears.
The language selector
{components.language-selector} is a globe icon, the current language, and a chevron, in a 32px-tall 4px-radius control with a 1px #d1d1d1 edge. The interaction is a native <select> — .select-input — stretched to height: 100%; width: 100%; opacity: 0; position: absolute over the visible face, so the whole control is the hit target and the browser's own picker does the rest. It offers roughly sixty languages.
The footer
{components.footer-legal-link} is the four-link legal row — Privacy Policy, Terms Of Service, Trademarks, Consumer Health Data Privacy Policy — at 12px/20px in #616161, on one line, with "©Microsoft 2025" centred beneath. {components.skip-link} is the off-screen black skip target.
Rules
There are none. No <hr>, no divider, no border on any card, no background band. The only separation on the page is the 48px of white between the two cards and the 40px of footer padding.
Do's and Don'ts
Do
- Let one photograph be the entire hero. 860×351px, one word, one sentence, and the page has said everything it needs to before the first card.
- Use a two-layer
text-shadowfor text over an image.rgba(0,0,0,.2) 0 0 8pxfor contact plusrgba(0,0,0,.24) 0 14px 28pxfor separation is a better result than a single large blur, and it costs no extra element. - Keep the scrim a flat translucent wash rather than a gradient. The paragraph is legible right to its top edge and the photograph is still readable underneath.
- Ship a global reset and then write every spacing value by hand. With five components it produces a 2/4/8/16/32/40/80 ladder that no utility framework would have given you.
- Use the system font. Zero webfont requests, zero layout shift, zero FOUT — and on a Microsoft property Segoe UI is the brand.
- State availability as a plain line under the description. "Available in OneNote for Microsoft 365 Education" answers the only follow-up question a reader has.
- Make the language picker a native
<select>stretched invisibly over a styled face. Full control of the look, all of the platform's accessibility and keyboard behaviour for free. - Include the skip link even on a 1,324px page. It is four lines of CSS and it is the only
z-indexon the site.
Don't
- Don't put white on the scrim without checking the image. White on the composited
#5b626cis 6.2:1 and passes, but only because this photograph is mid-to-dark; a bright image behind the same scrim would fail. - Don't set a heading at 18px with a 2.22 line-height. The page does it once and the resulting 40px line box is the loosest text on the site — it reads as a bug rather than a choice.
- Don't put legal links at 12px. Privacy Policy, Terms Of Service, Trademarks and the Consumer Health Data Privacy Policy are all at 12px/20px, and they are the four links a visitor is most likely to need.
- Don't align the header to the content column by accident. The lockup sits at x=80 and the content column starts at x=290; either commit to the offset or fix it, but notice it.
- Don't make the hero wider than the content below it. 860px against 780px is an 80px misalignment that is visible the moment you scroll.
- Don't remove the transitions without adding anything in their place. With
transition-duration: 0severywhere, every hover snaps; on a page with this little content there is nothing to soften the snap. - Don't reach for a second typeface or a third weight. Two weights of Segoe UI carry a 60px wordmark, two card titles, three heading sizes and four body roles — a second family would be the loudest thing on the page.
- Don't add a border or a shadow to the feature cards. They are separated by 48px of white and a
#f7f7f7ground, and any outline at all would make them look like form fields.
Comment utiliser le DESIGN.md de Microsoft Math avec un agent IA
Récupérer le DESIGN.md de Microsoft Math
Récupérez https://www.designmdpro.app/websites/microsoft-math.md ou appelez l'outil get_design_md avec le slug "microsoft-math" depuis le serveur MCP DesignMD Pro pour obtenir la version publique. Le jeu complet de tokens nécessite Pro.
Enregistrez-le en tant que DESIGN.md à la racine de votre projet
Placez le fichier à côté d'AGENTS.md ou CLAUDE.md afin que Claude Code, Cursor, Codex et les autres agents de code puissent le trouver.
Demandez à votre agent de le suivre
Par exemple : « Construis la page de paramètres en suivant le design system de Microsoft Math dans DESIGN.md — utilise ses tokens de couleurs, de typographie et d'espacement. »
Prompt IA style Microsoft Math
Construis une landing page responsive dans le style visuel de Microsoft Math (math.microsoft.com), en suivant son design system DESIGN.md.
## Couleurs
- accent: #04A6EF
- outline: #D1D1D1
- primary: #1F5582
- surface: #F7F7F7
- secondary: #242424
- background: #FFFFFF
- on-primary: #FFFFFF
- on-surface: #242424
## Typographie
- body-base: ""Segoe UI", sans-serif", 16px, weight 400, line-height 22px
- body-lead: ""Segoe UI", sans-serif", 18px, weight 400, line-height 28px
## Rayons de bordure
- lg: 20px
- md: 8px
- sm: 4px
## Règles
- Utilise uniquement les couleurs ci-dessus pour les arrière-plans, textes, bordures et accents ; n'invente pas de nouvelles couleurs.
- Applique les styles typographiques ci-dessus à tout le texte en respectant leur hiérarchie de tailles et de graisses.
- Reprends les rayons de bordure et les espacements des échelles ci-dessus afin que les composants restent cohérents.
DESIGN.md complet : https://www.designmdpro.app/websites/microsoft-math.mdPersonnaliser dans le générateur de prompt v0 →Questions fréquentes
Quelle est la couleur principale de Microsoft Math ?
La couleur principale de la marque Microsoft Math est Bleu marine (#1F5582). Son DESIGN.md définit 18 color tokens au total.
Quelle police utilise Microsoft Math ?
Microsoft Math utilise Segoe UI comme police principale.
Quelle est une alternative gratuite à Segoe UI ?
Segoe UI est une police commerciale. Des alternatives gratuites proches sur Google Fonts sont Noto Sans et Open Sans.
Comment utiliser les design tokens de Microsoft Math dans Tailwind CSS ou shadcn/ui ?
La couleur principale de Microsoft Math (#1F5582) est publique sur cette page. Générer un thème Tailwind ou shadcn complet nécessite le DESIGN.md intégral, disponible avec DesignMD Pro.
Ce DESIGN.md de Microsoft Math est-il officiel ?
Non. DesignMD Pro l'a extrait du site public math.microsoft.com. Il n'a aucune affiliation avec Microsoft Math et n'est pas approuvé par cette marque.
Quand le DESIGN.md de Microsoft Math a-t-il été mis à jour pour la dernière fois ?
La version 1.0.0 a été capturée le 29 novembre 2026.
Microsoft Math et ses marques appartiennent à leurs propriétaires respectifs. DesignMD Pro est un projet indépendant, sans affiliation ni approbation de Microsoft Math ; ce DESIGN.md est extrait du site public à titre de référence uniquement.