-
Notifications
You must be signed in to change notification settings - Fork 0
/
pageTemplate.html
333 lines (287 loc) · 9.34 KB
/
pageTemplate.html
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
<html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<div class="main cells-container">
<div class="flex-cell-long-small image-container">
<img class="logo image" src="https://raw.githubusercontent.com/LucaPizzagalli/jewelry/master/images/logo.jpg" alt="I Sella logo">
</div>
<div class="flex-cell-base image-container">
<img src="***productPic1***" class="image"
alt="ring front side" />
</div>
<div class="flex-cell-base text-container colored">
<p class="text">
***productDescription***
</p>
</div>
<div class="flex-cell-base image-container">
<img src="***productPic7***" class="image" alt="Model wearing the ring">
</div>
<div class="flex-cell-base cells-container">
<div class="sub-flex-cell">
<img src="***productPic3***" class="image" alt="ring view">
</div>
<div class="sub-flex-cell">
<img src="***productPic4***" class="image"
alt="ring view">
</div>
<div class="sub-flex-cell">
<img src="***productPic5***" class="image"
alt="ring view">
</div>
<div class="sub-flex-cell">
<img src="***productPic6***" class="image"
alt="ring view">
</div>
</div>
<div class="flex-cell-base title-container colored"
style="background-image: url(https://raw.githubusercontent.com/LucaPizzagalli/jewelry/master/images/shipping.svg?sanitize=true), linear-gradient(to top right, #20BF55, #A9E5C0);">
<h2 class="subtitle">Confezionamento & Spedizioni</h2>
</div>
<div class="flex-cell-base cells-container neutral">
<p class="sub-flex-cell-long text" style="padding: 2em 10%">Le spese di spedizione sono di €10 per l' Italia, €20 per l'Europa e variabili per il resto del mondo.<br />
Nel prezzo base del prodotto è compreso il sacchetto in juta. È possibile scegliere il cofanetto regalo con un sovrapprezzo di €5.
</p>
<div class="sub-flex-cell">
<img src="https://raw.githubusercontent.com/LucaPizzagalli/jewelry/master/images/bag.jpg" class="image"
alt="ring's bag">
</div>
<div class="sub-flex-cell">
<img src="https://raw.githubusercontent.com/LucaPizzagalli/jewelry/master/images/box.jpg" class="image"
alt="ring in the present box">
</div>
</div>
<div class="flex-cell-base image-container">
<img src="***productPic2***" class="image"
alt="ring front side" />
</div>
<div class="flex-cell-base image-container">
<img src="***productPic8***" class="image"
alt="ring front side" />
</div>
<div class="flex-cell-base text-container neutral">
<p class="text">
La bottega orafa della famiglia Sella nasce a Lecco nel lontano 1983, attualmente vi operano i fondatori Corrado e Margherita e il figlio Federico (
<span class="text-link piece">
<a href="https://www.reverbnation.com/7thbreak">apprezzato</a>
</span>
<span class="text-link piece">
<a href="https://www.rockit.it/7thBreak">musicista</a>
</span>
). Tutti i gioielli in vendita sono realizzati a mano nel loro atelier.<br />
Corrado Sella : orafo e disegno<br />Federico Sella : orafo e disegno<br />Margherita Piva : progettazione
</p>
</div>
<div class="flex-cell-base image-container">
<img src="https://raw.githubusercontent.com/LucaPizzagalli/jewelry/master/images/shop.jpg" class="image" alt="The shop">
</div>
<div class="flex-cell-long-small colored">
<h2 class="subtitle" style="padding: 5% 5%">Altri prodotti della nostra bottega</h2>
</div>
<div class="flex-cell-small image-container">
<a href="***suggestedUrl1***">
<img class="image-link image" src="***suggestedPic1***">
</a>
</div>
<div class="flex-cell-small image-container">
<a href="***suggestedUrl2***">
<img class="image-link image" src="***suggestedPic2***">
</a>
</div>
<div class="flex-cell-small image-container">
<a href="***suggestedUrl3***">
<img class="image-link image" src="***suggestedPic3***">
</a>
</div>
<div class="flex-cell-small image-container">
<a href="***suggestedUrl4***">
<img class="image-link image" src="***suggestedPic4***">
</a>
</div>
<div class="flex-cell-small image-container">
<a href="***suggestedUrl5***">
<img class="image-link image" src="***suggestedPic5***">
</a>
</div>
<div class="flex-cell-small image-container">
<a href="***suggestedUrl6***">
<img class="image-link image" src="***suggestedPic6***">
</a>
</div>
<div class="flex-cell-base title-container neutral"
style="background-image: url(https://raw.githubusercontent.com/LucaPizzagalli/jewelry/master/images/contacts.svg?sanitize=true);">
<h2 class="subtitle">Contatti</h2>
</div>
<div class="flex-cell-base text-container colored">
<p class="text" style="padding: 6em 10%">
GLITTER s.n.c. DI SELLA CORRADO & C<br />
Via Fratelli Cairoli 59<br />
23900 Lecco, Lago di Como, Italy<br />
P.I. 02240560132<br />
<!-- <span class="text-link piece">
<a href="mailto:gioielleriasella@gmail.com">gioielleriasella@gmail.com</a>
</span><br />
Tel: +39 0341 368613<br />
Facebook:
<span class="text-link piece">
<a href="https://www.facebook.com/sellagioielli/">iSella Bottega Orafa</a>
</span><br /> -->
</p>
</div>
</div>
<style>
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
.main {
max-width: 1160px;
margin: 0 auto;
}
.cells-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-content: space-around;
}
.flex-cell-base {
flex-basis: 50%;
align-items: stretch;
}
.flex-cell-small {
flex-basis: 33.333%;
align-items: stretch;
}
.image-link {
transition: 0.3s;
}
.image-link:hover,
.image-link:focus {
transform: scale(1.2);
transition: 0.3s;
}
.flex-cell-long-small {
min-height: 2em;
max-height: 24em;
flex-basis: 100%;
}
.sub-flex-cell {
flex-basis: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.sub-flex-cell-long {
flex-basis: 100%;
align-items: stretch;
}
.colored {
background-image:
linear-gradient(
to top right,
#20BF55, #A9E5C0
);
color: #FFFFFF;
}
.neutral {
background-color: #EEEEEE;
color: #202020;
}
.text-container {
display: flex;
align-items: center;
text-align: justify;
justify-content: center;
}
.title-container {
display: flex;
justify-content: center;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.image-container {
display: flex;
align-items: center;
justify-content: center;
}
img.image {
max-width: 100%;
max-height: 100%;
/* margin: 0 auto; */
display: inline-block;
}
.logo {
height: 75%;
}
.text {
font-family: 'Open Sans', sans-serif;
font-size: 1.1em;
line-height: 1.8;
padding: 0px 10%;
}
h2.subtitle {
font-family: 'Open Sans', sans-serif;
font-size: 1.8em;
text-align: center;
padding: 10% 10%;
}
/* div {
border: solid 1px #ff9999;
} */
@media screen and (max-width: 800px) {
.flex-cell-base {
flex-basis: 100%;
}
.flex-cell-base.title-container {
min-height: 30em;
}
}
@media screen and (min-width: 800px) {
.flex-cell-base {
min-height: 390px;
flex-basis: 50%;
}
}
@media screen and (max-width: 700px) {
.flex-cell-small {
flex-basis: 50%;
}
}
@media screen and (min-width: 700px) {
.flex-cell-small {
flex-basis: 33.333%;
min-height: 233px;
}
}
.piece {
position: relative;
text-decoration: none;
}
.text-link a {
color: #bb2020;
transition: color 0.3s;
}
.text-link a::after {
position: absolute;
left: 0;
width: 100%;
height: 2px;
background: black;
content: '';
opacity: 0;
transition: opacity 0.3s, transform 0.3s;
transform: translateY(-16px);
}
.text-link a::after {
bottom: 0;
transform: translateY(16px);
}
.text-link a:hover,
.text-link a:focus {
color: black;
}
.text-link a:hover::after,
.text-link a:focus::after {
opacity: 1;
transform: translateY(6px);
}
</style>
</html>