| 1 | <!DOCTYPE html> |
| 2 | <html lang="zh-CN"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"> |
| 5 | <title>宋人生活 · 听雨</title> |
| 6 | <style> |
| 7 | * { margin: 0; padding: 0; box-sizing: border-box; } |
| 8 | html, body { width: 1600px; height: 900px; overflow: hidden; font-family:"Songti SC","STSong","SimSun",serif; } |
| 9 | .canvas { |
| 10 | width: 1600px; height: 900px; position: relative; color: #2E3A3B; |
| 11 | background: |
| 12 | radial-gradient(ellipse at 20% 30%, rgba(232,244,248,0.7) 0%, transparent 55%), |
| 13 | radial-gradient(ellipse at 80% 70%, rgba(197,232,213,0.5) 0%, transparent 55%), |
| 14 | linear-gradient(180deg, #FBFAF5 0%, #F2F4F3 100%); |
| 15 | } |
| 16 | |
| 17 | /* 雨丝 */ |
| 18 | .rain { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.4; pointer-events:none;} |
| 19 | |
| 20 | /* 屋檐 */ |
| 21 | .eaves { position: absolute; top: 0; right: 0; width: 600px; height: 280px; } |
| 22 | |
| 23 | /* 芭蕉叶 */ |
| 24 | .banana { position: absolute; bottom: 0; left: 0; width: 480px; height: 360px; } |
| 25 | |
| 26 | /* 印章 */ |
| 27 | .seal { |
| 28 | position: absolute; top: 80px; left: 140px; |
| 29 | width: 70px; height: 70px; background: #C0392B; |
| 30 | display:flex; align-items:center; justify-content:center; |
| 31 | color:#FBFAF5; font-size:18px; font-weight:bold; |
| 32 | text-align:center; line-height:1.1; letter-spacing:1px; |
| 33 | font-family:"STKaiti",serif; |
| 34 | } |
| 35 | |
| 36 | /* 标签 */ |
| 37 | .tag { |
| 38 | position: absolute; top: 95px; left: 240px; |
| 39 | font-size: 16px; color: #5A6E70; letter-spacing: 6px; |
| 40 | font-family:"Helvetica Neue",sans-serif; |
| 41 | } |
| 42 | |
| 43 | /* 标题 */ |
| 44 | .title { position: absolute; top: 230px; left: 140px; z-index:5; } |
| 45 | .en-tag { |
| 46 | font-size: 18px; color: #3A6B6E; letter-spacing: 6px; |
| 47 | margin-bottom: 20px; font-family:"Helvetica Neue",sans-serif; |
| 48 | } |
| 49 | .main-title { |
| 50 | font-size: 140px; font-weight: 800; color: #2E3A3B; |
| 51 | letter-spacing: 20px; line-height: 1.05; |
| 52 | } |
| 53 | .main-title .green { color: #6FAE8B; } |
| 54 | .sub-title { |
| 55 | font-size: 28px; color: #5A6E70; letter-spacing: 12px; |
| 56 | margin-top: 30px; font-family:"STKaiti",serif; |
| 57 | } |
| 58 | .sub-title .em { color: #C0392B; } |
| 59 | |
| 60 | /* 正文 */ |
| 61 | .body { |
| 62 | position: absolute; left: 140px; bottom: 160px; |
| 63 | width: 500px; font-size: 22px; line-height: 2.1; |
| 64 | color: #2E3A3B; letter-spacing: 2px; z-index:5; |
| 65 | } |
| 66 | .body strong { color: #6FAE8B; font-weight: 600; } |
| 67 | |
| 68 | /* 右侧诗句竖排 */ |
| 69 | .vert { |
| 70 | position: absolute; right: 200px; top: 200px; |
| 71 | writing-mode: vertical-rl; font-family:"STKaiti",serif; |
| 72 | font-size: 30px; color: #5A6E70; letter-spacing: 14px; |
| 73 | line-height: 2.2; z-index:5; |
| 74 | } |
| 75 | .vert .red { color: #C0392B; } |
| 76 | |
| 77 | /* 茶盏卡 */ |
| 78 | .tea-card { |
| 79 | position: absolute; right: 140px; bottom: 130px; z-index:5; |
| 80 | width: 260px; padding: 30px; background: rgba(251,250,245,0.8); |
| 81 | border-left: 4px solid #F5E6A3; |
| 82 | } |
| 83 | .tea-card .label { font-size: 16px; color: #5A6E70; letter-spacing: 4px; } |
| 84 | .tea-card .val { font-size: 24px; color: #2E3A3B; letter-spacing: 3px; margin-top: 8px; font-weight: 600;} |
| 85 | .tea-card .row { margin-bottom: 16px; } |
| 86 | .tea-card .row:last-child { margin-bottom: 0; } |
| 87 | |
| 88 | /* 底部 */ |
| 89 | .footer { |
| 90 | position: absolute; left: 140px; bottom: 60px; z-index:5; |
| 91 | font-size: 16px; color: #5A6E70; letter-spacing: 4px; |
| 92 | font-family:"Helvetica Neue",sans-serif; |
| 93 | } |
| 94 | </style> |
| 95 | </head> |
| 96 | <body> |
| 97 | <div class="canvas"> |
| 98 | <!-- 雨丝 --> |
| 99 | <svg class="rain" viewBox="0 0 1600 900" preserveAspectRatio="none"> |
| 100 | <g stroke="#3A6B6E" stroke-width="1" opacity="0.5"> |
| 101 | <line x1="200" y1="0" x2="190" y2="120"/> |
| 102 | <line x1="350" y1="0" x2="340" y2="150"/> |
| 103 | <line x1="500" y1="0" x2="490" y2="100"/> |
| 104 | <line x1="650" y1="0" x2="640" y2="130"/> |
| 105 | <line x1="800" y1="0" x2="790" y2="110"/> |
| 106 | <line x1="950" y1="0" x2="940" y2="140"/> |
| 107 | <line x1="1100" y1="0" x2="1090" y2="100"/> |
| 108 | <line x1="1250" y1="0" x2="1240" y2="130"/> |
| 109 | <line x1="1400" y1="0" x2="1390" y2="120"/> |
| 110 | <line x1="280" y1="200" x2="270" y2="320"/> |
| 111 | <line x1="720" y1="180" x2="710" y2="300"/> |
| 112 | <line x1="1180" y1="220" x2="1170" y2="340"/> |
| 113 | </g> |
| 114 | </svg> |
| 115 | |
| 116 | <!-- 屋檐 --> |
| 117 | <svg class="eaves" viewBox="0 0 600 280" preserveAspectRatio="none"> |
| 118 | <path d="M0,0 L0,120 Q300,180 600,120 L600,0 Z" fill="#2E3A3B" opacity="0.15"/> |
| 119 | <path d="M0,100 Q300,160 600,100 L600,80 Q300,140 0,80 Z" fill="#3A6B6E" opacity="0.5"/> |
| 120 | <path d="M0,150 Q300,200 600,150" stroke="#5A6E70" stroke-width="2" fill="none" opacity="0.4"/> |
| 121 | </svg> |
| 122 | |
| 123 | <!-- 芭蕉叶 --> |
| 124 | <svg class="banana" viewBox="0 0 480 360" preserveAspectRatio="none"> |
| 125 | <path d="M0,360 Q50,200 180,120 Q280,80 400,40 Q350,180 280,240 Q200,300 100,340 Z" |
| 126 | fill="#C5E8D5" opacity="0.7"/> |
| 127 | <path d="M40,340 Q120,240 220,180" stroke="#6FAE8B" stroke-width="2" fill="none" opacity="0.6"/> |
| 128 | <path d="M60,330 Q140,260 240,200" stroke="#6FAE8B" stroke-width="1.5" fill="none" opacity="0.5"/> |
| 129 | <path d="M0,360 Q80,280 180,220 Q260,180 360,150" stroke="#6FAE8B" stroke-width="1.5" fill="none" opacity="0.4"/> |
| 130 | </svg> |
| 131 | |
| 132 | <div class="seal">听雨<br>闲坐</div> |
| 133 | <div class="tag">SONG LIFE · 听雨</div> |
| 134 | |
| 135 | <div class="title"> |
| 136 | <div class="en-tag">A SONG DYNASTY AFTERNOON</div> |
| 137 | <div class="main-title">听<span class="green">雨</span></div> |
| 138 | <div class="sub-title">闲坐庭院 <span class="em">·</span> 一盏茶的光阴</div> |
| 139 | </div> |
| 140 | |
| 141 | <div class="body"> |
| 142 | 雨打<strong>芭蕉</strong>,风过青瓦。<br> |
| 143 | 一盏清茶,半卷诗书,<br> |
| 144 | 宋人的生活,<br> |
| 145 | 不过是把这些<strong>寻常</strong>,过成了诗。 |
| 146 | </div> |
| 147 | |
| 148 | <div class="vert">少年听雨歌楼上<br><span class="red">壮年听雨客舟中</span></div> |
| 149 | |
| 150 | <div class="tea-card"> |
| 151 | <div class="row"><div class="label">茶</div><div class="val">龙井 · 明前</div></div> |
| 152 | <div class="row"><div class="label">时</div><div class="val">午后 · 微雨</div></div> |
| 153 | <div class="row"><div class="label">境</div><div class="val">闲坐 · 听雨</div></div> |
| 154 | </div> |
| 155 | |
| 156 | <div class="footer">宋人生活图鉴 · VOL. 10 · LISTENING TO RAIN</div> |
| 157 | </div> |
| 158 | </body> |
| 159 | </html> |
| 160 |