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