image_film.html 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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=1920, height=1080">
  8. <title>视频模板 - 电影风格</title>
  9. <style>
  10. * {
  11. margin: 0;
  12. padding: 0;
  13. box-sizing: border-box;
  14. }
  15. html,
  16. body {
  17. width: 1920px;
  18. height: 1080px;
  19. overflow: hidden;
  20. }
  21. body {
  22. background: black;
  23. font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  24. position: relative;
  25. color: #ffffff;
  26. display: flex;
  27. flex-direction: column;
  28. justify-content: center;
  29. align-items: center;
  30. }
  31. .main {
  32. width: 100%;
  33. height: 1000px;
  34. margin-bottom: 80px;
  35. }
  36. .top {
  37. width: 100%;
  38. height: 15%;
  39. display: flex;
  40. justify-content: center;
  41. align-items: center;
  42. padding: 0 60px;
  43. z-index: 1;
  44. }
  45. .title {
  46. width: 100%;
  47. /* 稍微调整以适应全宽图片 */
  48. text-align: center;
  49. font-size: 70px;
  50. font-weight: 800;
  51. line-height: 1.2;
  52. text-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
  53. letter-spacing: 4px;
  54. }
  55. .middle {
  56. width: 100%;
  57. height: 70%;
  58. /*display: block;*/
  59. }
  60. .middle img {
  61. width: 100%;
  62. height: 100%;
  63. object-fit: contain;
  64. /* 改为 cover 填满宽度 */
  65. display: block;
  66. }
  67. .bottom {
  68. width: 100%;
  69. height: 15%;
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. padding: 0 60px;
  74. z-index: 1;
  75. }
  76. .text {
  77. width: 100%;
  78. /* 稍微调整以适应全宽图片 */
  79. padding: 0 60px;
  80. text-align: center;
  81. font-size: 40px;
  82. font-weight: 400;
  83. line-height: 1.2;
  84. color: #ffffff;
  85. letter-spacing: 1px;
  86. text-shadow: 0 0 0 #000,
  87. -3px -3px 0 #000,
  88. 3px -3px 0 #000,
  89. -3px 3px 0 #000,
  90. 3px 3px 0 #000,
  91. 0 10px 24px rgba(0, 0, 0, 0.6);
  92. /* white-space: nowrap;
  93. overflow: hidden;
  94. text-overflow: ellipsis; */
  95. }
  96. /* Footer */
  97. .footer {
  98. display: flex;
  99. align-items: center;
  100. justify-content: space-between;
  101. width: 100%;
  102. padding: 25px 20px 0 20px;
  103. position: absolute;
  104. bottom: 20px;
  105. color: #fff;
  106. text-shadow: -1px -1px 0 #000,
  107. 1px -1px 0 #000,
  108. -1px 1px 0 #000,
  109. 1px 1px 0 #000;
  110. }
  111. .author {
  112. display: flex;
  113. flex-direction: column;
  114. gap: 6px;
  115. letter-spacing: 2px;
  116. }
  117. .author-name {
  118. font-size: 30px;
  119. font-weight: 600;
  120. display: flex;
  121. align-items: center;
  122. gap: 10px;
  123. }
  124. .author-mark {
  125. width: 8px;
  126. height: 8px;
  127. /* border-radius: 50%; */
  128. /* background: rgba(149, 165, 166, 0.7); */
  129. }
  130. .author-desc {
  131. font-size: 22px;
  132. /* color: #5d6d7e; */
  133. line-height: 1.3;
  134. font-weight: 400;
  135. }
  136. .logo-section {
  137. display: flex;
  138. flex-direction: column;
  139. align-items: flex-end;
  140. gap: 8px;
  141. }
  142. .logo {
  143. font-size: 24px;
  144. font-weight: 500;
  145. }
  146. .logo-marks {
  147. display: flex;
  148. gap: 5px;
  149. }
  150. .logo-mark {
  151. width: 6px;
  152. height: 6px;
  153. border-radius: 50%;
  154. background: rgba(149, 165, 166, 0.45);
  155. }
  156. .logo-mark.active {
  157. background: rgba(149, 165, 166, 0.75);
  158. }
  159. </style>
  160. </head>
  161. <body>
  162. <div class="main">
  163. <div class="top">
  164. <div class="title">{{title}}</div>
  165. </div>
  166. <div class="middle">
  167. <img src="{{image}}" alt="内容图片">
  168. </div>
  169. <div class="bottom">
  170. <div class="text">{{text}}</div>
  171. </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=@Pixelle.AI}}</div>
  178. </div>
  179. <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
  180. </div>
  181. <div class="logo-section">
  182. <div class="logo">{{brand=Pixelle-Video}}</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. </html>