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