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