| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"> |
| 5 | <meta name="template:media-width" content="1024"> |
| 6 | <meta name="template:media-height" content="1024"> |
| 7 | <style> |
| 8 | html { |
| 9 | margin: 0; |
| 10 | padding: 0; |
| 11 | } |
| 12 | |
| 13 | body { |
| 14 | margin: 0; |
| 15 | padding: 0; |
| 16 | width: 1080px; |
| 17 | font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', sans-serif; |
| 18 | position: relative; |
| 19 | overflow: hidden; |
| 20 | } |
| 21 | |
| 22 | /* Background image layer (customizable using <img> tag) */ |
| 23 | .background-image { |
| 24 | position: absolute; |
| 25 | top: 0; |
| 26 | left: 0; |
| 27 | width: 100%; |
| 28 | height: 100%; |
| 29 | z-index: 0; |
| 30 | } |
| 31 | |
| 32 | .background-image img { |
| 33 | width: 100%; |
| 34 | height: 100%; |
| 35 | object-fit: cover; |
| 36 | object-position: center; |
| 37 | } |
| 38 | |
| 39 | /* Gradient overlay on top of background */ |
| 40 | .gradient-overlay { |
| 41 | position: absolute; |
| 42 | top: 0; |
| 43 | left: 0; |
| 44 | width: 100%; |
| 45 | height: 100%; |
| 46 | background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(118, 75, 162, 0.6) 100%); |
| 47 | z-index: 1; |
| 48 | } |
| 49 | |
| 50 | .page-container { |
| 51 | width: 1080px; |
| 52 | height: 1920px; |
| 53 | padding: 120px 80px; |
| 54 | box-sizing: border-box; |
| 55 | display: flex; |
| 56 | flex-direction: column; |
| 57 | justify-content: center; |
| 58 | align-items: center; |
| 59 | gap: 80px; |
| 60 | position: relative; |
| 61 | z-index: 3; |
| 62 | } |
| 63 | |
| 64 | /* Decorative background elements */ |
| 65 | .bg-decoration { |
| 66 | position: absolute; |
| 67 | top: 0; |
| 68 | left: 0; |
| 69 | width: 100%; |
| 70 | height: 100%; |
| 71 | z-index: 2; |
| 72 | overflow: hidden; |
| 73 | pointer-events: none; |
| 74 | } |
| 75 | |
| 76 | .circle { |
| 77 | position: absolute; |
| 78 | border-radius: 50%; |
| 79 | background: rgba(255, 255, 255, 0.1); |
| 80 | } |
| 81 | |
| 82 | .circle-1 { |
| 83 | width: 400px; |
| 84 | height: 400px; |
| 85 | top: -150px; |
| 86 | right: -100px; |
| 87 | } |
| 88 | |
| 89 | .circle-2 { |
| 90 | width: 300px; |
| 91 | height: 300px; |
| 92 | bottom: -100px; |
| 93 | left: -80px; |
| 94 | } |
| 95 | |
| 96 | .circle-3 { |
| 97 | width: 200px; |
| 98 | height: 200px; |
| 99 | top: 50%; |
| 100 | left: 50%; |
| 101 | transform: translate(-50%, -50%); |
| 102 | opacity: 0.5; |
| 103 | } |
| 104 | |
| 105 | /* Title section */ |
| 106 | .video-title-wrapper { |
| 107 | position: relative; |
| 108 | max-width: 900px; |
| 109 | text-align: center; |
| 110 | } |
| 111 | |
| 112 | .video-title { |
| 113 | font-size: 72px; |
| 114 | font-weight: 700; |
| 115 | color: #ffffff; |
| 116 | line-height: 1.3; |
| 117 | letter-spacing: 3px; |
| 118 | text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); |
| 119 | margin-bottom: 40px; |
| 120 | } |
| 121 | |
| 122 | .title-underline { |
| 123 | width: 150px; |
| 124 | height: 4px; |
| 125 | background: rgba(255, 255, 255, 0.8); |
| 126 | margin: 0 auto; |
| 127 | border-radius: 2px; |
| 128 | } |
| 129 | |
| 130 | /* Content section */ |
| 131 | .content { |
| 132 | display: flex; |
| 133 | flex-direction: column; |
| 134 | gap: 60px; |
| 135 | max-width: 900px; |
| 136 | width: 100%; |
| 137 | position: relative; |
| 138 | background: rgba(255, 255, 255, 0.15); |
| 139 | backdrop-filter: blur(10px); |
| 140 | padding: 80px 60px; |
| 141 | border-radius: 20px; |
| 142 | box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); |
| 143 | } |
| 144 | |
| 145 | .text-wrapper { |
| 146 | position: relative; |
| 147 | } |
| 148 | |
| 149 | .text { |
| 150 | font-size: 48px; |
| 151 | color: #ffffff; |
| 152 | text-align: center; |
| 153 | line-height: 2.0; |
| 154 | font-weight: 500; |
| 155 | text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); |
| 156 | position: relative; |
| 157 | min-height: 288px; |
| 158 | display: flex; |
| 159 | align-items: center; |
| 160 | justify-content: center; |
| 161 | white-space: pre-line; /* Preserve line breaks from \n */ |
| 162 | } |
| 163 | |
| 164 | /* Quote marks */ |
| 165 | .quote-mark { |
| 166 | position: absolute; |
| 167 | font-size: 120px; |
| 168 | font-family: Georgia, serif; |
| 169 | color: rgba(255, 255, 255, 0.3); |
| 170 | font-weight: bold; |
| 171 | line-height: 1; |
| 172 | } |
| 173 | |
| 174 | .quote-mark.left { |
| 175 | top: -30px; |
| 176 | left: -20px; |
| 177 | } |
| 178 | |
| 179 | .quote-mark.right { |
| 180 | bottom: -50px; |
| 181 | right: -20px; |
| 182 | } |
| 183 | |
| 184 | /* Footer */ |
| 185 | .footer { |
| 186 | display: flex; |
| 187 | align-items: center; |
| 188 | justify-content: space-between; |
| 189 | width: 100%; |
| 190 | padding-top: 40px; |
| 191 | border-top: 2px solid rgba(255, 255, 255, 0.3); |
| 192 | } |
| 193 | |
| 194 | .author-section { |
| 195 | display: flex; |
| 196 | flex-direction: column; |
| 197 | gap: 8px; |
| 198 | } |
| 199 | |
| 200 | .author { |
| 201 | font-size: 32px; |
| 202 | font-weight: 600; |
| 203 | color: #ffffff; |
| 204 | text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); |
| 205 | } |
| 206 | |
| 207 | .author-desc { |
| 208 | font-size: 24px; |
| 209 | color: rgba(255, 255, 255, 0.9); |
| 210 | font-weight: 400; |
| 211 | } |
| 212 | |
| 213 | .logo-section { |
| 214 | display: flex; |
| 215 | flex-direction: column; |
| 216 | align-items: flex-end; |
| 217 | gap: 10px; |
| 218 | } |
| 219 | |
| 220 | .logo { |
| 221 | font-size: 28px; |
| 222 | font-weight: 600; |
| 223 | color: #ffffff; |
| 224 | letter-spacing: 2px; |
| 225 | text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); |
| 226 | } |
| 227 | |
| 228 | .logo-subtitle { |
| 229 | font-size: 20px; |
| 230 | color: rgba(255, 255, 255, 0.8); |
| 231 | font-weight: 400; |
| 232 | } |
| 233 | </style> |
| 234 | </head> |
| 235 | <body> |
| 236 | <!-- Background image layer (customizable via background parameter) --> |
| 237 | <div class="background-image"> |
| 238 | {{media}} |
| 239 | </div> |
| 240 | |
| 241 | <!-- Gradient overlay --> |
| 242 | <div class="gradient-overlay"></div> |
| 243 | |
| 244 | <!-- Background decorations --> |
| 245 | <div class="bg-decoration"> |
| 246 | <div class="circle circle-1"></div> |
| 247 | <div class="circle circle-2"></div> |
| 248 | <div class="circle circle-3"></div> |
| 249 | </div> |
| 250 | |
| 251 | <div class="page-container"> |
| 252 | <!-- Video title --> |
| 253 | <div class="video-title-wrapper"> |
| 254 | <div class="video-title">{{title}}</div> |
| 255 | <div class="title-underline"></div> |
| 256 | </div> |
| 257 | |
| 258 | <!-- Content card --> |
| 259 | <div class="content"> |
| 260 | <div class="text-wrapper"> |
| 261 | <div class="quote-mark left">"</div> |
| 262 | <div class="text">{{text}}</div> |
| 263 | <div class="quote-mark right">"</div> |
| 264 | </div> |
| 265 | </div> |
| 266 | |
| 267 | <!-- Footer --> |
| 268 | <div class="footer"> |
| 269 | <div class="author-section"> |
| 270 | <div class="author">{{author=HITsz-TMG}}</div> |
| 271 | <div class="author-desc">{{describe=开源视频生成智能体}}</div> |
| 272 | </div> |
| 273 | <div class="logo-section"> |
| 274 | <div class="logo">{{brand=Video-Claw}}</div> |
| 275 | <div class="logo-subtitle">Text-Only Template</div> |
| 276 | </div> |
| 277 | </div> |
| 278 | </div> |
| 279 | </body> |
| 280 | </html> |
| 281 |