image_simple_line_drawing.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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: #000;
  21. }
  22. .title-wrapper {
  23. position: absolute;
  24. width: 900px;
  25. top: 25%;
  26. left: 50%;
  27. transform: translate(-50%, -50%);
  28. font-size: 60px;
  29. font-weight: 600;
  30. text-align: center;
  31. z-index: 10;
  32. }
  33. .title {
  34. display: inline;
  35. color: #333;
  36. background-color: #fff;
  37. padding: 4px 6px;
  38. /* line-height: 1; */
  39. /* 让每一行都独立应用背景和padding */
  40. box-decoration-break: clone;
  41. -webkit-box-decoration-break: clone;
  42. }
  43. /* 中部图片区(图片居中,填满宽度) */
  44. .image-center {
  45. position: absolute;
  46. top: 50%;
  47. left: 50%;
  48. transform: translate(-50%, -50%);
  49. width: 100%;
  50. height: 40%;
  51. z-index: 2;
  52. padding: 0 0; /* 无左右内边距 */
  53. }
  54. /* Footer */
  55. .footer {
  56. display: flex;
  57. align-items: center;
  58. justify-content: space-between;
  59. width: 100%;
  60. padding: 25px 20px 0 20px;
  61. position: absolute;
  62. bottom: 20px;
  63. color: #fff;
  64. text-shadow: -1px -1px 0 #000,
  65. 1px -1px 0 #000,
  66. -1px 1px 0 #000,
  67. 1px 1px 0 #000;
  68. }
  69. .author {
  70. display: flex;
  71. flex-direction: column;
  72. gap: 6px;
  73. letter-spacing: 2px;
  74. }
  75. .author-name {
  76. font-size: 30px;
  77. font-weight: 600;
  78. display: flex;
  79. align-items: center;
  80. gap: 10px;
  81. }
  82. .author-mark {
  83. width: 8px;
  84. height: 8px;
  85. /* border-radius: 50%; */
  86. /* background: rgba(149, 165, 166, 0.7); */
  87. }
  88. .author-desc {
  89. font-size: 22px;
  90. /* color: #5d6d7e; */
  91. line-height: 1.3;
  92. font-weight: 400;
  93. }
  94. .logo-section {
  95. display: flex;
  96. flex-direction: column;
  97. align-items: flex-end;
  98. gap: 8px;
  99. }
  100. .logo {
  101. font-size: 24px;
  102. font-weight: 500;
  103. }
  104. .logo-marks {
  105. display: flex;
  106. gap: 5px;
  107. }
  108. .logo-mark {
  109. width: 6px;
  110. height: 6px;
  111. border-radius: 50%;
  112. background: rgba(149, 165, 166, 0.45);
  113. }
  114. .logo-mark.active {
  115. background: rgba(149, 165, 166, 0.75);
  116. }
  117. </style>
  118. </head>
  119. <body>
  120. <div class="title-wrapper">
  121. <span class="title">{{text}}</span>
  122. </div>
  123. <image src="{{image}}" class="image-center" />
  124. <div class="footer">
  125. <div class="author">
  126. <div class="author-name">
  127. <span class="author-mark"></span>
  128. <div class="logo">{{author=@Pixelle.AI}}</div>
  129. </div>
  130. <div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
  131. </div>
  132. <div class="logo-section">
  133. <div class="logo">{{brand=Pixelle-Video}}</div>
  134. <div class="logo-marks">
  135. <div class="logo-mark"></div>
  136. <div class="logo-mark active"></div>
  137. <div class="logo-mark"></div>
  138. <div class="logo-mark"></div>
  139. </div>
  140. </div>
  141. </div>
  142. </body>
  143. </html>