1440×900 · 390×844
https://brittanychiang.com

首屏结构、分享卡片与基础配置

标题层级与首屏入口高信息密度
H1×1 · H2×5
H1
H2
H2
H2
H3
H3
H3
首屏主动作Projects
Next.jsTailwindlang=en

正文

638

操作候选

1

内/外链

8/34

HTML

62 KB

分享预览与标题长度og:image ✓

brittanychiang.com

Brittany Chiang

Brittany Chiang is a software engineer who builds accessible, inclusive products and digital experiences for the web.

标题字数15 字 · 理想区间
摘要字数117 字 · 理想区间
响应头与资源构成3/6
HTTPS
HSTS
CSP
nosniff
Viewport
JSON-LD
脚本11 ext · 2 inl
图片 Alt 覆盖率9/9 (100%)
第三方域1 个域名

好设计,具体好在哪

左右分栏兼顾定位与深度长文

访客无论滚到哪一段履历,左侧始终保留身份说明、章节进度和联系方式。

无障碍跳转与语义层级完整

首屏提供 Skip to Content 快捷跳转,H1 至 H3 履历层级清晰。

最值得先改的几件事

  1. 01

    补齐社交分享预览图与描述元数据

    页面快照中未检出独立的 og:image,在 X 或即时通讯中转发时缺少视觉缩略图。

    在 head 中声明 1200×630 的深海蓝名片式 og:image 与简明描述。

配色、字体排印与代码变量

深色底 · 翠绿 / 薄荷正文对比度 14.5:1 AAA
点击任意色块直接复制 HEX
brittanychiang.com

inter

+ Times

ABCDEFGHIJKLMNOPQRSTUVWXYZ · 0123456789

深海蓝底配青绿高亮与清晰的双栏锚点目录,是开发者个人履历站里极耐看的经典范式。

字阶比例

48px / 16px

标题约为正文 3.00×

阅读节奏

行高 26px

字重 700 · 字距 -1.2px

圆角轮廓

0px按钮
/* Extracted design tokens from brittanychiang.com via VibeCheck */
:root {
  --color-bg: #0f172a;
  --color-surface: #141c3c;
  --color-ink: #e2e8f0;
  --color-accent: #5eead4;
  --color-muted: #94a3b8;
  --font-display: "__inter_20b187", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
  --font-body: "Times", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
  --text-h1: 48px;
  --text-body: 16px;
  --leading-body: 26px;
  --tracking-display: -1.2px;
  --radius-button: 0px;
  --space-section: 96px;

  /* Source custom properties sample */
  --x: -50%;
  --y: -50%;
  --deg: 1;
  --tw-rotate: 0;
  --tw-shadow: 0 0 #0000;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
}

参数来自页面元素采样,空值表示未取得;不将单个元素的参数当作全站规范。

逐项依据

补齐社交分享预览图与描述元数据

上线

页面快照中未检出独立的 og:image,在 X 或即时通讯中转发时缺少视觉缩略图。

→ 在 head 中声明 1200×630 的深海蓝名片式 og:image 与简明描述。

head snapshot missing og:image

没有 Content-Security-Policy

上线

CSP 是限制脚本源的标准做法。vibe 页面常常什么都加载,包括被注入的脚本。

→ 先开 report-only CSP,再收成 default-src 'self' 和明确的 script-src。

content-security-policy missing

没有 X-Content-Type-Options

上线

没有 nosniff,浏览器可能按错误类型解释文件。这是一行响应头。

→ 设置 X-Content-Type-Options: nosniff。

x-content-type-options missing

没有 Referrer-Policy

上线

默认 referrer 可能把站内路径和查询串漏给第三方。

→ 设置 Referrer-Policy: strict-origin-when-cross-origin。

referrer-policy missing

直接复制给你的 AI Agent

按需切换修复当前页、做同款参考、导出 DESIGN.md 或保存为项目级 SKILL.md。

粘贴到 Claude Code / Cursor 对话框查看全局品味规范 →
请基于 https://brittanychiang.com 的 2026-11-11T09:05:44.341Z 页面快照优化当前项目。先确认当前实现与快照差异,不要把已变化的内容重新改回旧版。

设计基线
桌面端左侧固定姓名、一句话定位、章节锚点与社交图标,右侧滚动阅读经历与项目;手机改为单列。
{
  "colors": [
    {
      "role": "bg",
      "hex": "#0f172a"
    },
    {
      "role": "surface",
      "hex": "#141c3c"
    },
    {
      "role": "ink",
      "hex": "#e2e8f0"
    },
    {
      "role": "accent",
      "hex": "#5eead4"
    },
    {
      "role": "muted",
      "hex": "#94a3b8"
    }
  ],
  "fonts": {
    "body": "Times",
    "display": "__inter_20b187",
    "stack": [
      "Times",
      "__inter_20b187"
    ]
  },
  "radius": {
    "button": "0px",
    "card": "",
    "field": ""
  },
  "space": {
    "section": "96px",
    "card": ""
  },
  "type": {
    "h1": "48px",
    "body": "16px",
    "weight": "700",
    "lineHeight": "26px",
    "letterSpacing": "-1.2px"
  }
}
数据来自同次页面采集;字体、圆角和间距为具体元素采样,不代表全站唯一设计规范。空值为未取得。HTML 为源码体积,不是压缩传输量;脚本数为 DOM 标签数,不是请求数。

执行事项
1. 补齐社交分享预览图与描述元数据
在 head 中声明 1200×630 的深海蓝名片式 og:image 与简明描述。
依据: head snapshot missing og:image

2. 没有 Content-Security-Policy
先开 report-only CSP,再收成 default-src 'self' 和明确的 script-src。
依据: content-security-policy missing

3. 没有 X-Content-Type-Options
设置 X-Content-Type-Options: nosniff。
依据: x-content-type-options missing

4. 没有 Referrer-Policy
设置 Referrer-Policy: strict-origin-when-cross-origin。
依据: referrer-policy missing

验收
- 在 1440×900 和 390×844 分别核对文字、布局和主要操作“Projects”。
- 保留已有品牌、登录和业务链路,不从静态截图推断交互故障。
- 只修复有证据的项;涉及安全响应头时先用报告模式验证现有资源及认证兼容性。
- 对比修改前后的截图,并执行相关功能测试。不要声称未经测试的功能已通过。
全部气质库 →