返回 Pixelle-Video
image_film.html
根目录 / templates / 1920x1080 / image_film.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>视频模板 - 电影风格</title>
10 <style>
11 * {
12 margin: 0;
13 padding: 0;
14 box-sizing: border-box;
15 }
16
17 html,
18 body {
19 width: 1920px;
20 height: 1080px;
21 overflow: hidden;
22 }
23
24 body {
25 background: black;
26 font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
27 position: relative;
28 color: #ffffff;
29 display: flex;
30 flex-direction: column;
31 justify-content: center;
32 align-items: center;
33 }
34
35 .main {
36 width: 100%;
37 height: 1000px;
38 margin-bottom: 80px;
39 }
40
41 .top {
42 width: 100%;
43 height: 15%;
44 display: flex;
45 justify-content: center;
46 align-items: center;
47 padding: 0 60px;
48 z-index: 1;
49 }
50
51 .title {
52 width: 100%;
53 /* 稍微调整以适应全宽图片 */
54 text-align: center;
55 font-size: 70px;
56 font-weight: 800;
57 line-height: 1.2;
58 text-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
59 letter-spacing: 4px;
60 }
61
62 .middle {
63 width: 100%;
64 height: 70%;
65 /*display: block;*/
66 }
67
68 .middle img {
69 width: 100%;
70 height: 100%;
71 object-fit: contain;
72 /* 改为 cover 填满宽度 */
73 display: block;
74 }
75
76 .bottom {
77 width: 100%;
78 height: 15%;
79 display: flex;
80 justify-content: center;
81 align-items: center;
82 padding: 0 60px;
83 z-index: 1;
84 }
85
86 .text {
87 width: 100%;
88 /* 稍微调整以适应全宽图片 */
89 padding: 0 60px;
90 text-align: center;
91 font-size: 40px;
92 font-weight: 400;
93 line-height: 1.2;
94 color: #ffffff;
95 letter-spacing: 1px;
96 text-shadow: 0 0 0 #000,
97 -3px -3px 0 #000,
98 3px -3px 0 #000,
99 -3px 3px 0 #000,
100 3px 3px 0 #000,
101 0 10px 24px rgba(0, 0, 0, 0.6);
102 /* white-space: nowrap;
103 overflow: hidden;
104 text-overflow: ellipsis; */
105 }
106
107 /* Footer */
108 .footer {
109 display: flex;
110 align-items: center;
111 justify-content: space-between;
112 width: 100%;
113 padding: 25px 20px 0 20px;
114 position: absolute;
115 bottom: 20px;
116 color: #fff;
117 text-shadow: -1px -1px 0 #000,
118 1px -1px 0 #000,
119 -1px 1px 0 #000,
120 1px 1px 0 #000;
121 }
122
123 .author {
124 display: flex;
125 flex-direction: column;
126 gap: 6px;
127 letter-spacing: 2px;
128 }
129
130 .author-name {
131 font-size: 30px;
132 font-weight: 600;
133 display: flex;
134 align-items: center;
135 gap: 10px;
136 }
137
138 .author-mark {
139 width: 8px;
140 height: 8px;
141 /* border-radius: 50%; */
142 /* background: rgba(149, 165, 166, 0.7); */
143 }
144
145 .author-desc {
146 font-size: 22px;
147 /* color: #5d6d7e; */
148 line-height: 1.3;
149 font-weight: 400;
150 }
151
152 .logo-section {
153 display: flex;
154 flex-direction: column;
155 align-items: flex-end;
156 gap: 8px;
157 }
158
159 .logo {
160 font-size: 24px;
161 font-weight: 500;
162 }
163
164 .logo-marks {
165 display: flex;
166 gap: 5px;
167 }
168
169 .logo-mark {
170 width: 6px;
171 height: 6px;
172 border-radius: 50%;
173 background: rgba(149, 165, 166, 0.45);
174 }
175
176 .logo-mark.active {
177 background: rgba(149, 165, 166, 0.75);
178 }
179 </style>
180 </head>
181
182 <body>
183 <div class="main">
184 <div class="top">
185 <div class="title">{{title}}</div>
186 </div>
187 <div class="middle">
188 <img src="{{image}}" alt="内容图片">
189
190 </div>
191 <div class="bottom">
192 <div class="text">{{text}}</div>
193 </div>
194 </div>
195 <div class="footer">
196 <div class="author">
197 <div class="author-name">
198 <span class="author-mark"></span>
199 <div class="logo">{{author=@Pixelle.AI}}</div>
200 </div>
201 <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
202 </div>
203 <div class="logo-section">
204 <div class="logo">{{brand=Pixelle-Video}}</div>
205 <div class="logo-marks">
206 <div class="logo-mark"></div>
207 <div class="logo-mark active"></div>
208 <div class="logo-mark"></div>
209 <div class="logo-mark"></div>
210 </div>
211 </div>
212 </div>
213 </body>
214
215 </html>
215 lines HTML