| 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: transparent; /* 移除黑色背景 */ |
| 24 | } |
| 25 | |
| 26 | /* 背景使用图片并做模糊处理,完全覆盖整个页面 */ |
| 27 | .bg { |
| 28 | position: relative; |
| 29 | width: 100%; |
| 30 | height: 100%; |
| 31 | z-index: 0; |
| 32 | overflow: hidden; |
| 33 | } |
| 34 | |
| 35 | .media-bg { |
| 36 | position: absolute; |
| 37 | inset: 0; |
| 38 | z-index: 0; |
| 39 | overflow: hidden; |
| 40 | } |
| 41 | |
| 42 | .title { |
| 43 | position: absolute; |
| 44 | top: 300px; |
| 45 | z-index: 1; |
| 46 | width: 100%; |
| 47 | text-align: center; |
| 48 | font-size: 92px; |
| 49 | font-weight: 800; |
| 50 | line-height: 1.2; |
| 51 | text-shadow: 0 6px 22px rgba(0,0,0,0.6), |
| 52 | -2px -2px 0 #000, |
| 53 | 2px -2px 0 #000, |
| 54 | -2px 2px 0 #000, |
| 55 | 2px 2px 0 #000; |
| 56 | /* 使用 Ma Shan Zheng 毛笔字体 */ |
| 57 | font-family: 'Ma Shan Zheng', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', cursive; |
| 58 | letter-spacing: 4px; |
| 59 | } |
| 60 | |
| 61 | /* 底部字幕覆盖在图片底部 */ |
| 62 | .text { |
| 63 | position: absolute; |
| 64 | bottom: 300px; |
| 65 | z-index: 1; |
| 66 | width: 100%; /* 稍微调整以适应全宽图片 */ |
| 67 | padding: 0 60px; |
| 68 | text-align: center; |
| 69 | font-size: 40px; |
| 70 | font-weight: 400; |
| 71 | line-height: 1.2; |
| 72 | color: #ffffff; |
| 73 | font-family: 'ArtisticFont', 'Noto Serif SC', 'Noto Sans SC', 'PingFang SC', serif; |
| 74 | letter-spacing: 2px; |
| 75 | text-shadow: 0 6px 22px rgba(0,0,0,0.6), |
| 76 | -1px -1px 0 #000, |
| 77 | 1px -1px 0 #000, |
| 78 | -1px 1px 0 #000, |
| 79 | 1px 1px 0 #000; |
| 80 | } |
| 81 | |
| 82 | /* Footer */ |
| 83 | .footer { |
| 84 | display: flex; |
| 85 | align-items: center; |
| 86 | justify-content: space-between; |
| 87 | width: 100%; |
| 88 | padding: 25px 20px 0 20px; |
| 89 | position: absolute; |
| 90 | bottom: 20px; |
| 91 | color: #fff; |
| 92 | text-shadow: -1px -1px 0 #000, |
| 93 | 1px -1px 0 #000, |
| 94 | -1px 1px 0 #000, |
| 95 | 1px 1px 0 #000; |
| 96 | } |
| 97 | |
| 98 | .author { |
| 99 | display: flex; |
| 100 | flex-direction: column; |
| 101 | gap: 6px; |
| 102 | letter-spacing: 2px; |
| 103 | } |
| 104 | |
| 105 | .author-name { |
| 106 | font-size: 30px; |
| 107 | font-weight: 600; |
| 108 | display: flex; |
| 109 | align-items: center; |
| 110 | gap: 10px; |
| 111 | } |
| 112 | |
| 113 | .author-mark { |
| 114 | width: 8px; |
| 115 | height: 8px; |
| 116 | /* border-radius: 50%; */ |
| 117 | /* background: rgba(149, 165, 166, 0.7); */ |
| 118 | } |
| 119 | |
| 120 | .author-desc { |
| 121 | font-size: 22px; |
| 122 | /* color: #5d6d7e; */ |
| 123 | line-height: 1.3; |
| 124 | font-weight: 400; |
| 125 | } |
| 126 | |
| 127 | .logo-section { |
| 128 | display: flex; |
| 129 | flex-direction: column; |
| 130 | align-items: flex-end; |
| 131 | gap: 8px; |
| 132 | } |
| 133 | |
| 134 | .logo { |
| 135 | font-size: 24px; |
| 136 | font-weight: 500; |
| 137 | } |
| 138 | |
| 139 | .logo-marks { |
| 140 | display: flex; |
| 141 | gap: 5px; |
| 142 | } |
| 143 | |
| 144 | .logo-mark { |
| 145 | width: 6px; |
| 146 | height: 6px; |
| 147 | border-radius: 50%; |
| 148 | background: rgba(149, 165, 166, 0.45); |
| 149 | } |
| 150 | |
| 151 | .logo-mark.active { |
| 152 | background: rgba(149, 165, 166, 0.75); |
| 153 | } |
| 154 | </style> |
| 155 | </head> |
| 156 | <body> |
| 157 | <div class="bg"> |
| 158 | <div class="media-bg">{{media}}</div> |
| 159 | <div class="title">{{title}}</div> |
| 160 | <div class="text">{{text}}</div> |
| 161 | </div> |
| 162 | <div class="footer"> |
| 163 | <div class="author"> |
| 164 | <div class="author-name"> |
| 165 | <span class="author-mark"></span> |
| 166 | <div class="logo">{{author=HITsz-TMG}}</div> |
| 167 | </div> |
| 168 | <div class="author-desc">{{describe=开源视频生成智能体}}</div> |
| 169 | </div> |
| 170 | <div class="logo-section"> |
| 171 | <div class="logo">{{brand=Video-Claw}}</div> |
| 172 | <div class="logo-marks"> |
| 173 | <div class="logo-mark"></div> |
| 174 | <div class="logo-mark active"></div> |
| 175 | <div class="logo-mark"></div> |
| 176 | <div class="logo-mark"></div> |
| 177 | </div> |
| 178 | </div> |
| 179 | </div> |
| 180 | </body> |
| 181 | </html> |
| 182 |