中国石油 (CNPC) DESIGN.md design system & style guide
EnergyProv1.0.0 (Latest)中国石油 (CNPC)'s design system uses Crimson (#C91019) as the primary color and 宋体 & 微软雅黑 for type. This DESIGN.md records 13 colors and 57 design tokens from cnpc.com.cn.
China National Petroleum's official portal — a dense, square-edged state-enterprise news site with a solid red nav bar and system-font typography.
You can read 中国石油 (CNPC)'s full design narrative and up to 8 primary colors free. Upgrade to Pro for all 57 design tokens, full DESIGN.md downloads, and 1 revisions.
Upgrade to DesignMD Pro to copy all colors as :root CSS variables, inspect component token references, and download the full source file.
Design Guidelines
Overview
cnpc.com.cn is the official portal of China National Petroleum Corporation — a textbook Chinese state-owned-enterprise website. The style is Institutional Portal Density: a solid red nav bar, a rotating propaganda banner with calligraphic slogans over industrial imagery, and densely packed tabbed news lists with bracketed dates.
The personality is authoritative, information-first, and deliberately conventional — this is a document portal, not a brand experience. There are no rounded corners, no shadows, no animations; structure comes from red bars, hairline borders, and tab rows. Content hierarchy runs: utility strip → logo + official-channel links → red nav → banner carousel → headline of the day → multi-tab news lists with photo features.
Colors
- CNPC Red — primary (#C91019): The nav bar, active tabs, section markers, and logo petals. The single structural color — everything important wears it.
- Headline Blue — secondary (#3E769D): The day's top headline link rendered in bold blue — a portal convention for featured stories.
- Service Green — tertiary (#378709): Utility-strip links (official portal, Weibo, WeChat, hotline).
- Ink grays — on-surface (#787878), on-surface-strong (#505050), on-surface-variant (#8D8D8D): News-list items in mid-gray; titles in darker gray; dates and metadata lightest.
- Paper — surface (#FFFFFF) / surface-subtle (#F7F7F7): Content panels on white; tab rows and list gutters in light gray.
- Hairline — outline (#CCCCCC): Panel borders and row separators, 1px solid.
- Signal Red — error/highlight (#FF0000): "更多>>" (more) links and urgent markers — pure red, distinct from the brand red.
- Inverse (#000000 on dark panels): rare; video/dark modules only.
Typography
All system Chinese fonts — no webfonts are loaded. 微软雅黑 (Microsoft YaHei) for headings, nav, tabs, and utility text; 宋体 (SimSun) for the long news lists and body copy — the classic portal pairing.
- Featured headline: YaHei ~20px/700 in blue, centered or left-prominent.
- Section titles & tabs: YaHei 14–16px/700 in #505050 or white-on-red.
- News lists: SimSun 14px in #787878 at a tall ~2.1 line-height, each row ending in a bracketed date
[ 11/20 ]. - Metadata & paragraphs: YaHei 12–13px at 1.7–1.8 line-height.
Layout
- Page: fixed ~1200px column centered on white; every band is a bordered or color-blocked strip.
- Header stack: gray utility strip (投资者/股份公司 + language selector + green official-channel links + QR code) → logo + wordmark → red nav bar of ~10 items.
- Banner: wide image carousel with left caption slab in solid red and dot pagination.
- News area: tab strips (集团新闻/中央精神/国资动态/传媒之声/公告) above two-column lists; right column carries photo stories.
- Density: tight — 5px base rhythm, 10–20px paddings, rows packed ~30px tall.
Elevation & Depth
Completely flat — zero shadows, zero gradients on chrome. Depth is expressed only through solid color blocking (red bars vs white panels vs gray tabs) and 1px hairline borders.
Shapes
Square corners everywhere (0px radius) — nav, tabs, cards, buttons, and inputs are all rectangles. Carousel caption slabs and dots are the only softened elements, and even those stay mostly square.
Motion & Micro-interaction
None. The page ships without CSS transitions or animations; the banner carousel is the only moving part (image cross-swap). If interactivity is added, keep it instant or under 200ms and never animate decoration — this system's authority comes from stillness.
Voice & Content Strategy
Formal Party/government-register Chinese: headlines cite leadership and policy directly ("习近平主持亚太经合组织第三十三次领导人非正式会议并发表重要讲话", "坚持以党的政治建设为统领"). Lists pair every title with a date stamp [ 11/20 ]. Tabs organize by source (集团新闻/中央精神/国资动态/传媒之声/公告). "More" links read "更多>>". Utility copy is terse: 投资者, 股份公司, 统一客服 956100.
Components
- Utility strip: light-gray top row — investor/company links left, language switcher center, green official-channel links + QR + hotline right.
- Red nav bar: full-width
#C91019, white YaHei 14px/700 items; active section gets a deeper red#CB1102slab. - Banner carousel: photo/calligraphy slides with a solid-red left caption block, ‹ › arrows, and dot indicators.
- Tab strip: row of gray tabs; active tab turns red with white text and a small caret.
- News list: SimSun rows, gray titles → darker on hover, bracketed dates right-aligned.
- Featured headline: centered blue YaHei bold line with a
>>arrow. - "More" link: red
更多>>at section corners.
Do's and Don'ts
- Do keep every corner square — rounding would break the institutional character.
- Do use SimSun for list text and YaHei for headings/nav; never swap.
- Do keep the red bar solid and flat; no gradients or shadows on chrome.
- Do bracket every list date and keep rows ~30px tall.
- Don't introduce pills, cards-with-shadow, or border radii of any size.
- Don't use blue for anything but featured headline links — red is the only structural color.
- Don't add animations or hover transitions beyond a color change.
- Don't widen line spacing in lists below ~1.7 — density is the point.
How to use 中国石油 (CNPC)'s DESIGN.md with an AI agent
Get 中国石油 (CNPC)'s DESIGN.md
Fetch https://www.designmdpro.app/websites/cnpc.md or call the get_design_md tool with slug "cnpc" from the DesignMD Pro MCP server to get the public version. The full token set requires Pro.
Save it as DESIGN.md in your project root
Put the file next to AGENTS.md or CLAUDE.md so Claude Code, Cursor, Codex and other coding agents can find it.
Ask your agent to follow it
For example: "Build the settings page following the 中国石油 (CNPC) design system in DESIGN.md — use its colors, typography and spacing tokens."
中国石油 (CNPC) style AI prompt
Build a responsive landing page in the visual style of 中国石油 (CNPC) (cnpc.com.cn), following its DESIGN.md design system.
## Colors
- error: #FF0000
- outline: #CCCCCC
- primary: #C91019
- surface: #FFFFFF
- tertiary: #378709
- secondary: #3E769D
- on-primary: #FFFFFF
- on-surface: #787878
## Typography
- body-md: "宋体", 14px, weight 400, line-height 1.7
- label-md: "微软雅黑", 13px, weight 400, line-height 1.8
## Corner radius
- none: 0px
## Rules
- Use only the colors above for backgrounds, text, borders and accents; do not invent new colors.
- Set all text with the typography styles above and keep their size and weight hierarchy.
- Take corner radius and spacing from the scales above so components look consistent.
Full DESIGN.md: https://www.designmdpro.app/websites/cnpc.mdCustomize in the V0 prompt generator →Frequently asked questions
What is 中国石油 (CNPC)'s primary color?
中国石油 (CNPC)'s primary brand color is Crimson (#C91019). Its DESIGN.md defines 13 color tokens in total.
What font does 中国石油 (CNPC) use?
中国石油 (CNPC)'s primary typefaces are 宋体 and 微软雅黑.
How do I use 中国石油 (CNPC)'s design tokens in Tailwind CSS or shadcn/ui?
中国石油 (CNPC)'s primary color (#C91019) is public on this page. Generating a complete Tailwind or shadcn theme needs the full DESIGN.md, which is available with DesignMD Pro.
Is this 中国石油 (CNPC) DESIGN.md official?
No. DesignMD Pro extracted it from the public cnpc.com.cn website. It is not affiliated with or endorsed by 中国石油 (CNPC).
When was 中国石油 (CNPC)'s DESIGN.md last updated?
Version 1.0.0 was captured on November 16, 2026.
中国石油 (CNPC) and its trademarks belong to their respective owners. DesignMD Pro is an independent project, not affiliated with or endorsed by 中国石油 (CNPC); this DESIGN.md is extracted from the public website for reference only.