返回 Pixelle-Video
image_simple_line_drawing.html
根目录 / 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 }
60
61 /* Footer */
62 .footer {
63 display: flex;
64 align-items: center;
65 justify-content: space-between;
66 width: 100%;
67 padding: 25px 20px 0 20px;
68 position: absolute;
69 bottom: 20px;
70 color: #fff;
71 text-shadow: -1px -1px 0 #000,
72 1px -1px 0 #000,
73 -1px 1px 0 #000,
74 1px 1px 0 #000;
75 }
76
77 .author {
78 display: flex;
79 flex-direction: column;
80 gap: 6px;
81 letter-spacing: 2px;
82 }
83
84 .author-name {
85 font-size: 30px;
86 font-weight: 600;
87 display: flex;
88 align-items: center;
89 gap: 10px;
90 }
91
92 .author-mark {
93 width: 8px;
94 height: 8px;
95 /* border-radius: 50%; */
96 /* background: rgba(149, 165, 166, 0.7); */
97 }
98
99 .author-desc {
100 font-size: 22px;
101 /* color: #5d6d7e; */
102 line-height: 1.3;
103 font-weight: 400;
104 }
105
106 .logo-section {
107 display: flex;
108 flex-direction: column;
109 align-items: flex-end;
110 gap: 8px;
111 }
112
113 .logo {
114 font-size: 24px;
115 font-weight: 500;
116 }
117
118 .logo-marks {
119 display: flex;
120 gap: 5px;
121 }
122
123 .logo-mark {
124 width: 6px;
125 height: 6px;
126 border-radius: 50%;
127 background: rgba(149, 165, 166, 0.45);
128 }
129
130 .logo-mark.active {
131 background: rgba(149, 165, 166, 0.75);
132 }
133 </style>
134 </head>
135 <body>
136 <div class="title-wrapper">
137 <span class="title">{{text}}</span>
138 </div>
139 <image src="{{image}}" class="image-center" />
140 <div class="footer">
141 <div class="author">
142 <div class="author-name">
143 <span class="author-mark"></span>
144 <div class="logo">{{author=@Pixelle.AI}}</div>
145 </div>
146 <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
147 </div>
148 <div class="logo-section">
149 <div class="logo">{{brand=Pixelle-Video}}</div>
150 <div class="logo-marks">
151 <div class="logo-mark"></div>
152 <div class="logo-mark active"></div>
153 <div class="logo-mark"></div>
154 <div class="logo-mark"></div>
155 </div>
156 </div>
157 </div>
158 </body>
159 </html>
159 lines HTML