Team Colors
config/.vitepress/theme/style.css 中定义了队伍颜色变量与相关样式类,供组件和页面使用。
CSS 变量
所有队伍颜色以 RGB 三元组形式定义在 :root 中,通过 rgb(var(--team-xxx)) 使用。
| 变量名 | RGB 值 | 色块 |
|---|---|---|
--team-not-set | 255, 255, 255 | |
--team-scps | 237, 28, 63 | |
--team-mtf-guards | 0, 100, 255 | |
--team-class-ds | 255, 130, 0 | |
--team-spectators | 141, 186, 160 | |
--team-scientists | 66, 188, 244 | |
--team-chaos-insurgency | 29, 81, 56 | |
--team-chaos-insurgency-delta-team | 34, 139, 34 | |
--team-security-department | 123, 104, 238 | |
--team-gru | 107, 142, 35 | |
--team-nine-tailed-fox | 0, 0, 255 | |
--team-red-right-hand | 20, 20, 230 | |
--team-law-left-hand | 0, 120, 240 | |
--team-hammer-down | 50, 80, 190 | |
--team-maz-hatters | 255, 248, 150 | |
--team-pandoras-box | 120, 0, 255 | |
--team-asimovs-lawbringers | 65, 105, 225 | |
--team-unusual-incidents-unit-contain-team | 135, 206, 235 | |
--team-pumpkin-man | 255, 117, 24 | |
--team-serpents-hand | 46, 139, 87 | |
--team-global-occult-coalition | 178, 34, 34 | |
--team-global-occult-coalition-spark-team | 202, 220, 230 | |
--team-unusual-incidents-unit | 0, 0, 0 | |
--team-quick-response-team | 25, 25, 112 | |
--team-children-of-the-scarlet-king | 199, 177, 177 | |
--team-children-of-the-scarlet-king-raven-team | 199, 177, 177 | |
--team-anderson-robotics | 210, 215, 220 | |
--team-specials | 238, 130, 238 | |
--team-american-army | 25, 25, 30 |
文字颜色类
使用 <TeamText team="xxx"> 或直接在元素上添加 text-xxx 类即可应用对应颜色。
| 类名 | 预览 |
|---|---|
text-fundation | 基金会 |
text-not-set | 未设置 |
text-scps | SCP |
text-mtf-guards | MTF 警卫 |
text-class-ds | D级人员 |
text-spectators | 旁观者 |
text-scientists | 科学家 |
text-chaos-insurgency | 混沌分裂者 |
text-chaos-insurgency-delta-team | 混沌 Δ |
text-security-department | 安保部门 |
text-gru | GRU-P |
text-nine-tailed-fox | 九尾狐 |
text-red-right-hand | 红右手 |
text-law-left-hand | 律法左手 |
text-hammer-down | 落锤 |
text-maz-hatters | 疯帽商 |
text-pandoras-box | 潘多拉魔盒 |
text-asimovs-lawbringers | 阿西莫夫执法队 |
text-serpents-hand | 蛇之手 |
text-global-occult-coalition | GOC |
text-global-occult-coalition-spark-team | GOC 火花塞 |
text-unusual-incidents-unit | UIU |
text-unusual-incidents-unit-contain-team | UIU 收容小组 |
text-american-army | 美军 |
text-quick-response-team | 快速反应部队 |
text-children-of-the-scarlet-king | 猩红之子 |
text-children-of-the-scarlet-king-raven-team | 猩红之子 渡鸦 |
text-anderson-robotics | 安德森机器人 |
text-specials | 特殊 |
徽章样式类
直接使用 <TeamBadge team="xxx"> 或在元素上添加 team-badge team-badge-xxx 类。
| 类名 | 预览 |
|---|---|
team-badge-not-set | 未设置 |
team-badge-scps | SCP |
team-badge-mtf-guards | MTF |
team-badge-class-ds | D级 |
team-badge-spectators | 旁观者 |
team-badge-scientists | 科学家 |
team-badge-chaos-insurgency | 混沌 |
team-badge-chaos-insurgency-delta-team | 混沌 Δ |
team-badge-security-department | 安保 |
team-badge-gru | GRU-P |
team-badge-nine-tailed-fox | 九尾狐 |
team-badge-red-right-hand | 红右手 |
team-badge-law-left-hand | 律法左手 |
team-badge-hammer-down | 落锤 |
team-badge-maz-hatters | 疯帽商 |
team-badge-pandoras-box | 潘多拉 |
team-badge-asimovs-lawbringers | 阿西莫夫 |
team-badge-serpents-hand | 蛇之手 |
team-badge-global-occult-coalition | GOC |
team-badge-global-occult-coalition-spark-team | 火花塞 |
team-badge-unusual-incidents-unit | UIU |
team-badge-unusual-incidents-unit-contain-team | UIU 收容 |
team-badge-american-army | 美军 |
team-badge-quick-response-team | QRT |
team-badge-children-of-the-scarlet-king | 猩红之子 |
team-badge-children-of-the-scarlet-king-raven-team | 猩红之子 渡鸦 |
team-badge-anderson-robotics | 安德森 |
team-badge-specials | 特殊科研 |
页面样式类
在页面根元素或 front matter 的 pageClass 上添加以下类,可使页面 h1/h2 标题使用对应队伍颜色。
| 类名 | 对应队伍 |
|---|---|
page-fundation-mtf | 基金会 MTF |
page-not-set | 未设置 |
page-scps | SCP |
page-mtf-guards | MTF 警卫 |
page-class-ds | D级人员 |
page-spectators | 旁观者 |
page-scientists | 科学家 |
page-chaos-insurgency | 混沌分裂者 |
page-chaos-insurgency-delta-team | 混沌 Δ |
page-security-department | 安保部门 |
page-gru | GRU-P |
page-nine-tailed-fox | 九尾狐 |
page-red-right-hand | 红右手 |
page-law-left-hand | 律法左手 |
page-hammer-down | 落锤 |
page-maz-hatters | 疯帽商 |
page-pandoras-box | 潘多拉魔盒 |
page-asimovs-lawbringers | 阿西莫夫执法队 |
page-unusual-incidents-unit-contain-team | UIU 收容小组 |
page-serpents-hand | 蛇之手 |
page-global-occult-coalition | GOC |
page-global-occult-coalition-spark-team | GOC 火花塞 |
page-quick-response-team | 快速反应部队 |
page-children-of-the-scarlet-king | 猩红之子 |
page-children-of-the-scarlet-king-raven-team | 猩红之子 渡鸦 |
page-anderson-robotics | 安德森机器人 |
page-specials | 特殊科研 |
page-unusual-incidents-unit | UIU |
page-american-army | 美军 |
