image_life_insights_light.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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;500;700;900&display=swap" rel="stylesheet">
  13. <style>
  14. * { margin: 0; padding: 0; box-sizing: border-box; }
  15. html, body {
  16. width: 1080px;
  17. height: 1920px;
  18. overflow: hidden;
  19. }
  20. body {
  21. font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
  22. background: #F5F1E8; /* 浅色温暖的米黄色背景 */
  23. position: relative;
  24. display: flex;
  25. flex-direction: column;
  26. align-items: center;
  27. overflow: hidden;
  28. }
  29. /* 背景花纹装饰层 */
  30. .bg-pattern {
  31. position: absolute;
  32. top: 0;
  33. left: 0;
  34. width: 100%;
  35. height: 100%;
  36. z-index: 0;
  37. pointer-events: none;
  38. overflow: hidden;
  39. }
  40. /* 点状纹理图案 */
  41. .dot-pattern {
  42. position: absolute;
  43. top: 0;
  44. left: 0;
  45. width: 100%;
  46. height: 100%;
  47. background-image:
  48. radial-gradient(circle, rgba(120, 90, 70, 0.15) 1.5px, transparent 1.5px),
  49. radial-gradient(circle, rgba(100, 75, 60, 0.12) 1px, transparent 1px);
  50. background-size: 40px 40px, 80px 80px;
  51. background-position: 0 0, 20px 20px;
  52. opacity: 0.8;
  53. }
  54. /* 网格纹理图案 */
  55. .grid-pattern {
  56. position: absolute;
  57. top: 0;
  58. left: 0;
  59. width: 100%;
  60. height: 100%;
  61. background-image:
  62. linear-gradient(rgba(110, 85, 65, 0.12) 1px, transparent 1px),
  63. linear-gradient(90deg, rgba(110, 85, 65, 0.12) 1px, transparent 1px);
  64. background-size: 60px 60px;
  65. opacity: 0.7;
  66. }
  67. /* 装饰性圆形元素 */
  68. .decorative-circle {
  69. position: absolute;
  70. border-radius: 50%;
  71. border: 1.5px solid rgba(110, 85, 65, 0.15);
  72. background: rgba(140, 110, 90, 0.08);
  73. }
  74. .circle-1 {
  75. width: 400px;
  76. height: 400px;
  77. top: -150px;
  78. right: -100px;
  79. }
  80. .circle-2 {
  81. width: 300px;
  82. height: 300px;
  83. bottom: -100px;
  84. left: -80px;
  85. }
  86. .circle-3 {
  87. width: 200px;
  88. height: 200px;
  89. top: 50%;
  90. left: -50px;
  91. transform: translateY(-50%);
  92. }
  93. /* 波浪纹理(可选,更柔和) */
  94. .wave-pattern {
  95. position: absolute;
  96. top: 0;
  97. left: 0;
  98. width: 100%;
  99. height: 100%;
  100. background-image:
  101. repeating-linear-gradient(
  102. 45deg,
  103. transparent,
  104. transparent 10px,
  105. rgba(110, 85, 65, 0.08) 10px,
  106. rgba(110, 85, 65, 0.08) 20px
  107. );
  108. opacity: 0.6;
  109. }
  110. /* 顶部标题区域 */
  111. .header {
  112. margin-top: 200px;
  113. text-align: center;
  114. position: relative;
  115. z-index: 2;
  116. }
  117. .title {
  118. font-size: 80px;
  119. font-weight: 900;
  120. line-height: 1.4;
  121. color: #1A1611; /* 深棕色/黑色 */
  122. letter-spacing: 3px;
  123. text-shadow:
  124. 1px 1px 0 rgba(0, 0, 0, 0.2),
  125. 2px 2px 2px rgba(0, 0, 0, 0.15);
  126. /* 模拟略微纹理效果 */
  127. background: linear-gradient(135deg, #1A1611 0%, #2C2416 50%, #1A1611 100%);
  128. -webkit-background-clip: text;
  129. -webkit-text-fill-color: transparent;
  130. background-clip: text;
  131. filter: contrast(1.1) brightness(0.9);
  132. }
  133. .content {
  134. display: flex;
  135. flex: 1;
  136. justify-content: center;
  137. align-items: center;
  138. position: relative;
  139. z-index: 2;
  140. }
  141. .content img {
  142. width: 600px;
  143. height: 600px;
  144. object-fit: contain;
  145. position: relative;
  146. z-index: 1;
  147. }
  148. /* 底部文字区域 */
  149. .bottom-section {
  150. /* padding: 60px 80px 160px; */
  151. padding: 0 40px;
  152. text-align: center;
  153. position: relative;
  154. z-index: 2;
  155. margin-bottom: 200px;
  156. }
  157. .content-text {
  158. font-size: 50px;
  159. font-weight: 400;
  160. color: #000;
  161. line-height: 1.8;
  162. margin-bottom: 30px;
  163. }
  164. .author {
  165. width: 100%;
  166. font-size: 30px;
  167. font-family: 'Liu Jian Mao Cao', 'ZCOOL KuaiLe', cursive;
  168. text-shadow: -1px -1px 0 #000,
  169. 1px -1px 0 #000,
  170. -1px 1px 0 #000,
  171. 1px 1px 0 #000;
  172. margin : 0 20px 20px 0;
  173. text-align: right;
  174. position: relative;
  175. z-index: 2;
  176. }
  177. </style>
  178. </head>
  179. <body>
  180. <!-- 背景花纹层 -->
  181. <div class="bg-pattern">
  182. <!-- 点状纹理 -->
  183. <div class="dot-pattern"></div>
  184. <!-- 网格纹理 -->
  185. <div class="grid-pattern"></div>
  186. <!-- 波浪纹理(可选,如需更柔和效果可取消注释) -->
  187. <!-- <div class="wave-pattern"></div> -->
  188. <!-- 装饰性圆形 -->
  189. <div class="decorative-circle circle-1"></div>
  190. <div class="decorative-circle circle-2"></div>
  191. <div class="decorative-circle circle-3"></div>
  192. </div>
  193. <!-- 顶部标题 -->
  194. <div class="header">
  195. <div class="title">{{title}}</div>
  196. </div>
  197. <!-- 中央插图 -->
  198. <div class="content">
  199. <img
  200. src="{{image}}"
  201. />
  202. </div>
  203. <!-- 底部文字 -->
  204. <div class="bottom-section">
  205. <div class="content-text">{{text}}</div>
  206. </div>
  207. <div class="author">{{author=@Pixelle.AI}}</div>
  208. </body>
  209. </html>