返回 VideoClaw
image_simple_black.html
根目录 / video-claw / video-claw / backend / templates / 1080x1920 / image_simple_black.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: #000;
24 }
25
26 .title {
27 position: absolute;
28 top: 26%;
29 left: 50%;
30 transform: translate(-50%, -50%);
31 font-size: 90px;
32 font-weight: 900;
33 line-height: 1.2;
34 text-shadow: 0 6px 22px rgba(0,0,0,0.6),
35 -2px -2px 0 #000,
36 2px -2px 0 #000,
37 -2px 2px 0 #000,
38 2px 2px 0 #000;
39 letter-spacing: 4px;
40 text-align: left;
41 }
42
43 /* 中部图片区(图片居中,填满宽度) */
44 .image-center {
45 position: absolute;
46 top: 60%;
47 left: 50%;
48 transform: translate(-50%, -50%);
49 width: 100%;
50 height: 40%;
51 z-index: 2;
52 padding: 0 0; /* 无左右内边距 */
53 overflow: hidden;
54 }
55
56 /* Footer */
57 .footer {
58 display: flex;
59 align-items: center;
60 justify-content: space-between;
61 width: 100%;
62 padding: 25px 20px 0 20px;
63 position: absolute;
64 bottom: 20px;
65 color: #fff;
66 text-shadow: -1px -1px 0 #000,
67 1px -1px 0 #000,
68 -1px 1px 0 #000,
69 1px 1px 0 #000;
70 }
71
72 .author {
73 display: flex;
74 flex-direction: column;
75 gap: 6px;
76 letter-spacing: 2px;
77 }
78
79 .author-name {
80 font-size: 30px;
81 font-weight: 600;
82 display: flex;
83 align-items: center;
84 gap: 10px;
85 }
86
87 .author-mark {
88 width: 8px;
89 height: 8px;
90 /* border-radius: 50%; */
91 /* background: rgba(149, 165, 166, 0.7); */
92 }
93
94 .author-desc {
95 font-size: 22px;
96 /* color: #5d6d7e; */
97 line-height: 1.3;
98 font-weight: 400;
99 }
100
101 .logo-section {
102 display: flex;
103 flex-direction: column;
104 align-items: flex-end;
105 gap: 8px;
106 }
107
108 .logo {
109 font-size: 24px;
110 font-weight: 500;
111 }
112
113 .logo-marks {
114 display: flex;
115 gap: 5px;
116 }
117
118 .logo-mark {
119 width: 6px;
120 height: 6px;
121 border-radius: 50%;
122 background: rgba(149, 165, 166, 0.45);
123 }
124
125 .logo-mark.active {
126 background: rgba(149, 165, 166, 0.75);
127 }
128 </style>
129 </head>
130 <body>
131 <div class="title">{{title}}</div>
132 <div class="image-center">{{media}}</div>
133 <div class="footer">
134 <div class="author">
135 <div class="author-name">
136 <span class="author-mark"></span>
137 <div class="logo">{{author=HITsz-TMG}}</div>
138 </div>
139 <div class="author-desc">{{describe=开源视频生成智能体}}</div>
140 </div>
141 <div class="logo-section">
142 <div class="logo">{{brand=Video-Claw}}</div>
143 <div class="logo-marks">
144 <div class="logo-mark"></div>
145 <div class="logo-mark active"></div>
146 <div class="logo-mark"></div>
147 <div class="logo-mark"></div>
148 </div>
149 </div>
150 </div>
151 </body>
152 </html>
153
153 lines HTML