image_full.html 5.3 KB

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