返回 oh-my-ppt
preview.html
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: #333333;
11 background: linear-gradient(135deg, #F0F8F6 0%, #E6F5F2 100%);
12 }
13
14 /* 三色顶部带 */
15 .trio-bar {
16 position: absolute; top: 0; left: 0; width: 100%; height: 14px;
17 display: flex;
18 }
19 .trio-bar div { flex: 1; }
20 .tb1 { background: #7BCFA6; }
21 .tb2 { background: #66A9C9; }
22 .tb3 { background: #D9D2C5; }
23
24 /* 几何山峦装饰 */
25 .geo { position: absolute; right: 0; bottom: 0; width: 700px; height: 500px; }
26
27 /* 左上标签 */
28 .tag {
29 position: absolute; top: 80px; left: 140px;
30 font-size: 16px; color: #4A4A4A; letter-spacing: 6px;
31 font-family: "Helvetica Neue",sans-serif;
32 }
33 .tag::before { content:""; display:inline-block; width:28px; height:2px; background:#C0392B; vertical-align:middle; margin-right:12px; }
34
35 /* 标题 */
36 .title { position: absolute; top: 150px; left: 140px; }
37 .main-title {
38 font-size: 108px; font-weight: 800; color: #333333;
39 letter-spacing: 14px; line-height: 1.1;
40 }
41 .main-title .g { color: #7BCFA6; }
42 .main-title .b { color: #66A9C9; }
43 .sub-title {
44 font-size: 28px; color: #4A4A4A; letter-spacing: 10px;
45 margin-top: 26px; font-family: "STKaiti",serif;
46 }
47
48 /* 三色大卡 */
49 .trio {
50 position: absolute; top: 470px; left: 140px;
51 display: flex; gap: 28px;
52 }
53 .tcard {
54 width: 220px; height: 260px; padding: 28px;
55 display: flex; flex-direction: column; justify-content: space-between;
56 color: #FFFFFF;
57 }
58 .tc1 { background: #7BCFA6; }
59 .tc2 { background: #66A9C9; }
60 .tc3 { background: #333333; }
61 .tcard .num { font-size: 56px; font-weight: 800; font-family:"Helvetica Neue",sans-serif; line-height:1; }
62 .tcard .lab { font-size: 22px; letter-spacing: 4px; margin-top: 12px; }
63 .tcard .hex { font-size: 14px; opacity: 0.8; font-family:"Helvetica Neue",sans-serif; margin-top:6px;}
64 .tcard .desc { font-size: 15px; opacity: 0.9; letter-spacing: 1px; line-height: 1.6; }
65
66 /* 右上印章 */
67 .seal {
68 position: absolute; top: 80px; right: 140px;
69 width: 76px; height: 76px; background: #C0392B;
70 display:flex; align-items:center; justify-content:center;
71 color: #F0F8F6; font-size: 20px; font-weight: bold;
72 text-align:center; line-height:1.1; letter-spacing:1px;
73 font-family:"STKaiti",serif;
74 }
75
76 /* 右侧引文 */
77 .quote {
78 position: absolute; top: 200px; right: 140px;
79 width: 360px; font-size: 22px; line-height: 2;
80 color: #4A4A4A; letter-spacing: 2px; text-align: right;
81 }
82 .quote .em { color: #C0392B; font-weight: bold; }
83
84 /* 底部 */
85 .footer {
86 position: absolute; left: 140px; bottom: 60px;
87 font-size: 16px; color: #4A4A4A; letter-spacing: 4px;
88 font-family:"Helvetica Neue",sans-serif;
89 }
90 .footer .pipe { margin: 0 14px; color: #B0B0B0; }
91 </style>
92 </head>
93 <body>
94 <div class="canvas">
95 <div class="trio-bar"><div class="tb1"></div><div class="tb2"></div><div class="tb3"></div></div>
96
97 <!-- 几何山峦 -->
98 <svg class="geo" viewBox="0 0 700 500" preserveAspectRatio="none">
99 <path d="M0,500 L0,300 L150,180 L300,320 L450,160 L600,280 L700,220 L700,500 Z" fill="#7BCFA6" opacity="0.55"/>
100 <path d="M0,500 L0,380 L120,280 L280,380 L420,260 L580,360 L700,320 L700,500 Z" fill="#66A9C9" opacity="0.5"/>
101 <path d="M0,500 L0,440 L200,400 L400,450 L600,410 L700,440 L700,500 Z" fill="#D9D2C5" opacity="0.6"/>
102 </svg>
103
104 <div class="tag">CHINESE TRIO COLOR · 三色协奏</div>
105
106 <div class="title">
107 <div class="main-title">青<span class="g">绿</span>湖<span class="b">蓝</span></div>
108 <div class="sub-title">三色一笔 · 写尽东方清韵</div>
109 </div>
110
111 <!-- 三色卡 -->
112 <div class="trio">
113 <div class="tcard tc1">
114 <div><div class="num">01</div><div class="lab">翠竹绿</div><div class="hex">#7BCFA6</div></div>
115 <div class="desc">取自新篁初翠,象征生机与希望</div>
116 </div>
117 <div class="tcard tc2">
118 <div><div class="num">02</div><div class="lab">湖蓝</div><div class="hex">#66A9C9</div></div>
119 <div class="desc">如碧潭映天,清冽而深远</div>
120 </div>
121 <div class="tcard tc3">
122 <div><div class="num">03</div><div class="lab">墨黑</div><div class="hex">#333333</div></div>
123 <div class="desc">以墨为骨,安定整体视觉重心</div>
124 </div>
125 </div>
126
127 <div class="seal">三色<br>协奏</div>
128
129 <div class="quote">
130 雨后青山映碧潭,<br>
131 三色一笔<span class="em">写清韵</span>。
132 </div>
133
134 <div class="footer">
135 VOL. 04 <span class="pipe">|</span> CHINESE FRESH TRIO <span class="pipe">|</span> 清朗国风
136 </div>
137 </div>
138 </body>
139 </html>
140
140 lines HTML