-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
210 lines (203 loc) · 7.18 KB
/
Copy pathindex.html
File metadata and controls
210 lines (203 loc) · 7.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Открытки</title>
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=JetBrains+Mono:wght@300;400&display=swap" rel="stylesheet">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
--bg: #08070d;
--fg: #ece6db;
--mute: #6e6678;
--accent: #e9b8c5;
}
body {
background: var(--bg);
color: var(--fg);
font-family: 'Cormorant Garamond', Georgia, serif;
min-height: 100vh;
padding: 80px 24px 120px;
}
.wrap { max-width: 1080px; margin: 0 auto; }
header { text-align: center; margin-bottom: 72px; }
h1 {
font-size: clamp(40px, 6vw, 72px);
font-weight: 300;
letter-spacing: 6px;
margin-bottom: 16px;
}
.lede {
color: var(--mute);
font-size: clamp(14px, 1.6vw, 18px);
letter-spacing: 2px;
max-width: 560px;
margin: 0 auto;
font-style: italic;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 22px;
}
.card {
position: relative;
display: block;
aspect-ratio: 4 / 5;
border-radius: 6px;
overflow: hidden;
text-decoration: none;
color: inherit;
background: #14101a;
transition: transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s ease;
box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.card .art {
position: absolute; inset: 0;
background-size: cover; background-position: center;
transition: transform 1.2s ease;
}
.card:hover .art { transform: scale(1.06); }
.card .veil {
position: absolute; inset: 0;
background: linear-gradient(180deg, transparent 40%, rgba(8,7,13,0.92) 100%);
}
.card .meta {
position: absolute; left: 24px; right: 24px; bottom: 22px;
z-index: 2;
}
.card .ttl {
font-size: 26px;
font-weight: 400;
letter-spacing: 4px;
margin-bottom: 6px;
}
.card .sub {
font-size: 12px;
color: var(--mute);
letter-spacing: 3px;
text-transform: uppercase;
font-family: 'JetBrains Mono', monospace;
}
.pion .art { background: radial-gradient(circle at 50% 38%, #e9b8d2 0%, #b35c8a 22%, #3a1c2e 55%, #07060a 100%); }
.sozv .art { background: radial-gradient(circle at 50% 45%, #ffe4c4 0%, #8a6da0 18%, #1a1530 60%, #05060d 100%); }
.serd .art { background: radial-gradient(circle at 50% 50%, #ffb4c4 0%, #c44a6a 18%, #3a1020 55%, #0a0509 100%); }
.pism .art { background: linear-gradient(140deg, #2a1a10 0%, #5c3a22 30%, #8a6a48 55%, #1a1108 100%); }
.svet .art { background: radial-gradient(ellipse at 50% 55%, #f0d878 0%, #8a6a30 12%, #2a3848 38%, #0a1014 75%, #03050a 100%); }
.chas .art { background: radial-gradient(circle at 50% 50%, #b8c8e8 0%, #5e6a9a 25%, #181a2e 60%, #06080d 100%); }
.hint {
margin-top: 64px;
text-align: center;
color: var(--mute);
font-size: 13px;
letter-spacing: 3px;
line-height: 1.8;
font-family: 'JetBrains Mono', monospace;
}
.hint code {
background: #14101a;
padding: 2px 8px;
border-radius: 3px;
color: var(--accent);
font-size: 12px;
}
.hint a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(233, 184, 197, 0.3); }
.footer {
margin-top: 80px;
padding-top: 36px;
border-top: 1px solid #1e1824;
display: flex;
flex-direction: column;
align-items: center;
gap: 18px;
}
.footer .note {
color: var(--mute);
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
letter-spacing: 2px;
text-align: center;
}
.footer .actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: center;
}
.footer .btn {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 10px 20px;
border-radius: 4px;
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
letter-spacing: 2px;
text-decoration: none;
transition: opacity 0.2s, transform 0.2s;
}
.footer .btn:hover { opacity: 0.8; transform: translateY(-2px); }
.footer .btn-star { background: #1e1824; color: #e8e4cd; border: 1px solid #2e2838; }
.footer .btn-tip { background: #1c1418; color: #e9b8c5; border: 1px solid #2e1c22; }
.footer .btn-boost{ background: #1a1518; color: #e8c4b0; border: 1px solid #2e201a; }
@media (max-width: 540px) {
body { padding: 48px 16px 80px; }
header { margin-bottom: 44px; }
}
</style>
</head>
<body>
<div class="wrap">
<header>
<h1>открытки</h1>
<div class="lede">шесть генеративных открыток · выбери, открой, перешли</div>
</header>
<div class="grid">
<a class="card svet" href="cards/svetlyachki/">
<div class="art"></div><div class="veil"></div>
<div class="meta"><div class="ttl">светлячки</div><div class="sub">июльский вечер</div></div>
</a>
<a class="card pion" href="cards/pion/">
<div class="art"></div><div class="veil"></div>
<div class="meta"><div class="ttl">пион</div><div class="sub">3D · цветение</div></div>
</a>
<a class="card sozv" href="cards/sozvezdie/">
<div class="art"></div><div class="veil"></div>
<div class="meta"><div class="ttl">созвездие</div><div class="sub">небо · сердце</div></div>
</a>
<a class="card serd" href="cards/serdtse/">
<div class="art"></div><div class="veil"></div>
<div class="meta"><div class="ttl">сердце</div><div class="sub">частицы · пульс</div></div>
</a>
<a class="card pism" href="cards/pismo/">
<div class="art"></div><div class="veil"></div>
<div class="meta"><div class="ttl">письмо</div><div class="sub">бумага · пыль</div></div>
</a>
<a class="card chas" href="cards/chasy/">
<div class="art"></div><div class="veil"></div>
<div class="meta"><div class="ttl">часы</div><div class="sub">ленты · дата</div></div>
</a>
</div>
<div class="hint">
персонализируй: <code>cards/sozvezdie/?name=Аня&text=моё небо</code><br>
инструкции и параметры — в <a href="https://github.com/vincere-mori/love#readme">README</a>
</div>
<div class="footer">
<div class="note">понравилось? поддержи проект</div>
<div class="actions">
<a class="btn btn-star" href="https://github.com/vincere-mori/love" target="_blank">
★ поставить звезду
</a>
<a class="btn btn-tip" href="https://pay.cloudtips.ru/p/6c077990" target="_blank">
♡ чаевые
</a>
</div>
</div>
</div>
</body>
</html>