Files
jiazi-gala-poster-demo/assets/css/page3.css
T

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; }
/* 火山岩 / 熔岩参考色,按明度 50% 处理 */
.rock { color: color-mix(in srgb, #d07a38 50%, #000); }
.lava-a { color: color-mix(in srgb, #ff8f3f 50%, #000); }
.lava-b { color: color-mix(in srgb, #ff5a2a 50%, #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.54);
}
.nametag-name {
color: #e6dac6;
font-size: 1em;
font-weight: 400;
line-height: 1;
letter-spacing: 0;
white-space: nowrap;
}