Files
jiazi-gala-poster-demo/assets/css/page3.css
T
rogerwang2008 6406858015 feat: 添加演职员 nametag 并完善 page3
- 35 个 nametag 按 4×9 网格排布,右下角缺一,每个占 5×2 格
- 姓名取自演职员表.txt,整体下移 2 格
- 同步移除枪、更新配色与 README
2026-11-11 00:28:05 +08:00

49 lines
1.2 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* 第 3 页:无「天」背景;只保留电线、麻雀、草与前景标题 */
.wire { color: #8794a5; }
.sparrow { color: #ff7a3f; }
.grass { color: #4fc353; }
.hydrant { color: #a93b43; }
/* 火山岩 / 熔岩参考色,按暗度 70% 压暗(保留 30% 明度) */
.rock { color: color-mix(in srgb, #d07a38 30%, #000); }
.lava-a { color: color-mix(in srgb, #ff8f3f 30%, #000); }
.lava-b { color: color-mix(in srgb, #ff5a2a 30%, #000); }
/* 前景标题:不参与网格,字号与位置自由;
top 的 em 相对自身 1.6em 字号,3.125em = 距顶部 5 个背景格 */
.credits {
position: absolute;
top: 3.125em;
left: 50%;
transform: translateX(-50%);
margin: 0;
color: #f2f2f2;
font-size: 1.6em;
font-weight: 400;
line-height: 1;
letter-spacing: 0;
white-space: nowrap;
z-index: 1;
}
/* 演职员表 nametag:5 × 2 格,格内居中 */
.nametag {
position: absolute;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
width: 5em;
height: 2em;
background: rgba(10, 8, 6, 0.4);
}
.nametag-name {
color: #e6dac6;
font-size: 1em;
font-weight: 400;
line-height: 1;
letter-spacing: 0;
white-space: nowrap;
}