返回 Pixelle-Video
image_full.html
根目录 / templates / 1080x1920 / image_full.html
1 <!DOCTYPE html>
2 <html lang="zh-CN">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="template:media-width" content="1024">
6 <meta name="template:media-height" content="1024">
7 <meta name="viewport" content="width=1080, height=1920">
8 <title>全屏图片 - 1080x1920</title>
9 <!-- Google Fonts - 中文字体 -->
10 <link rel="preconnect" href="https://fonts.googleapis.com">
11 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
12 <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&family=Noto+Serif+SC:wght@400;700;900&family=Liu+Jian+Mao+Cao&family=Ma+Shan+Zheng&display=swap" rel="stylesheet">
13 <style>
14
15 * { margin: 0; padding: 0; box-sizing: border-box; }
16
17 html, body { width: 1080px; height: 1920px; overflow: hidden; }
18
19 body {
20 font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
21 color: #fff;
22 position: relative;
23 background: transparent; /* 移除黑色背景 */
24 }
25
26 /* 背景使用图片并做模糊处理,完全覆盖整个页面 */
27 .bg {
28 position: relative;
29 width: 100%;
30 height: 100%;
31 background-image: url("{{image}}");
32 background-size: cover;
33 background-position: center;
34 z-index: 0;
35 }
36
37 .title {
38 position: absolute;
39 top: 300px;
40 width: 100%;
41 text-align: center;
42 font-size: 92px;
43 font-weight: 800;
44 line-height: 1.2;
45 text-shadow: 0 6px 22px rgba(0,0,0,0.6),
46 -2px -2px 0 #000,
47 2px -2px 0 #000,
48 -2px 2px 0 #000,
49 2px 2px 0 #000;
50 /* 使用 Ma Shan Zheng 毛笔字体 */
51 font-family: 'Ma Shan Zheng', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', cursive;
52 letter-spacing: 4px;
53 }
54
55 /* 底部字幕覆盖在图片底部 */
56 .text {
57 position: absolute;
58 bottom: 300px;
59 width: 100%; /* 稍微调整以适应全宽图片 */
60 padding: 0 60px;
61 text-align: center;
62 font-size: 40px;
63 font-weight: 400;
64 line-height: 1.2;
65 color: #ffffff;
66 font-family: 'ArtisticFont', 'Noto Serif SC', 'Noto Sans SC', 'PingFang SC', serif;
67 letter-spacing: 2px;
68 text-shadow: 0 6px 22px rgba(0,0,0,0.6),
69 -1px -1px 0 #000,
70 1px -1px 0 #000,
71 -1px 1px 0 #000,
72 1px 1px 0 #000;
73 }
74
75 /* Footer */
76 .footer {
77 display: flex;
78 align-items: center;
79 justify-content: space-between;
80 width: 100%;
81 padding: 25px 20px 0 20px;
82 position: absolute;
83 bottom: 20px;
84 color: #fff;
85 text-shadow: -1px -1px 0 #000,
86 1px -1px 0 #000,
87 -1px 1px 0 #000,
88 1px 1px 0 #000;
89 }
90
91 .author {
92 display: flex;
93 flex-direction: column;
94 gap: 6px;
95 letter-spacing: 2px;
96 }
97
98 .author-name {
99 font-size: 30px;
100 font-weight: 600;
101 display: flex;
102 align-items: center;
103 gap: 10px;
104 }
105
106 .author-mark {
107 width: 8px;
108 height: 8px;
109 /* border-radius: 50%; */
110 /* background: rgba(149, 165, 166, 0.7); */
111 }
112
113 .author-desc {
114 font-size: 22px;
115 /* color: #5d6d7e; */
116 line-height: 1.3;
117 font-weight: 400;
118 }
119
120 .logo-section {
121 display: flex;
122 flex-direction: column;
123 align-items: flex-end;
124 gap: 8px;
125 }
126
127 .logo {
128 font-size: 24px;
129 font-weight: 500;
130 }
131
132 .logo-marks {
133 display: flex;
134 gap: 5px;
135 }
136
137 .logo-mark {
138 width: 6px;
139 height: 6px;
140 border-radius: 50%;
141 background: rgba(149, 165, 166, 0.45);
142 }
143
144 .logo-mark.active {
145 background: rgba(149, 165, 166, 0.75);
146 }
147 </style>
148 </head>
149 <body>
150 <div class="bg">
151 <div class="title">{{title}}</div>
152 <div class="text">{{text}}</div>
153 </div>
154 <div class="footer">
155 <div class="author">
156 <div class="author-name">
157 <span class="author-mark"></span>
158 <div class="logo">{{author=@Pixelle.AI}}</div>
159 </div>
160 <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
161 </div>
162 <div class="logo-section">
163 <div class="logo">{{brand=Pixelle-Video}}</div>
164 <div class="logo-marks">
165 <div class="logo-mark"></div>
166 <div class="logo-mark active"></div>
167 <div class="logo-mark"></div>
168 <div class="logo-mark"></div>
169 </div>
170 </div>
171 </div>
172 </body>
173 </html>
173 lines HTML