MatteoScript commited on
Commit
fd09726
·
verified ·
1 Parent(s): d010e12

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +30 -40
index.html CHANGED
@@ -110,21 +110,11 @@
110
  min-height: 44px;
111
  }
112
 
113
- .monogram {
114
- width: 48px;
115
- height: 48px;
116
- border-radius: 50%;
117
- border: 1px dashed rgba(208, 138, 122, .74);
118
- display: grid;
119
- place-items: center;
120
- color: var(--coral);
121
- background: rgba(255, 253, 248, .72);
122
- }
123
-
124
- .monogram svg {
125
- width: 28px;
126
- height: 28px;
127
  display: block;
 
128
  }
129
 
130
  .hero {
@@ -159,32 +149,25 @@
159
  }
160
 
161
  .island-line {
162
- width: min(72vw, 310px);
163
- margin: clamp(32px, 7svh, 54px) auto 0;
164
- color: var(--olive);
165
- opacity: .90;
166
  }
167
 
168
- .island-line svg {
169
  width: 100%;
170
  height: auto;
171
  display: block;
172
- overflow: visible;
 
 
 
173
  }
174
 
175
- .island-line path {
176
- fill: none;
177
- stroke: currentColor;
178
- stroke-width: 3;
179
- stroke-linecap: round;
180
- stroke-linejoin: round;
181
- stroke-dasharray: 850;
182
- stroke-dashoffset: 850;
183
- animation: draw 1.45s ease .2s forwards;
184
  }
185
 
186
- @keyframes draw { to { stroke-dashoffset: 0; } }
187
-
188
  .form-area {
189
  align-self: end;
190
  padding-bottom: clamp(6px, 2.4svh, 26px);
@@ -397,6 +380,17 @@
397
  font-size: clamp(58px, 18vw, 112px);
398
  }
399
 
 
 
 
 
 
 
 
 
 
 
 
400
  .reveal-line {
401
  width: 88px;
402
  height: 2px;
@@ -476,12 +470,7 @@
476
  <main class="screen">
477
  <div class="page">
478
  <div class="top-mark">
479
- <div class="monogram" aria-hidden="true">
480
- <svg viewBox="0 0 64 64" role="img">
481
- <path d="M18 35 C23 25 32 21 43 24 C37 27 34 31 35 40 C28 35 23 35 18 35 Z" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
482
- <path d="M29 39 C34 32 43 28 53 30" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
483
- </svg>
484
- </div>
485
  </div>
486
 
487
  <section class="hero" aria-label="Trova la tua cala">
@@ -491,9 +480,7 @@
491
  </h1>
492
 
493
  <div class="island-line" aria-hidden="true">
494
- <svg viewBox="0 0 420 300">
495
- <path d="M202 25 C226 38 241 62 238 83 C254 72 279 79 286 98 C302 98 323 113 319 132 C344 144 350 174 329 191 C313 204 316 224 291 229 C268 233 251 217 231 231 C215 242 198 271 170 262 C149 255 141 232 119 229 C93 226 78 201 91 179 C100 163 81 149 95 126 C108 106 129 109 142 93 C155 76 143 54 165 41 C176 34 190 35 202 25 Z" />
496
- </svg>
497
  </div>
498
  </section>
499
 
@@ -514,6 +501,9 @@
514
  <p class="hello" id="hello"></p>
515
  <p class="table-kicker">Il tuo tavolo è</p>
516
  <h2 class="table-name" id="tableName"></h2>
 
 
 
517
  <div class="reveal-line" aria-hidden="true"></div>
518
  <p class="reveal-note">In che cala cenerai? L’hai appena scoperto.</p>
519
  <button class="again" id="again" type="button">Cerca un altro nome</button>
 
110
  min-height: 44px;
111
  }
112
 
113
+ .logo {
114
+ width: 64px;
115
+ height: 64px;
 
 
 
 
 
 
 
 
 
 
 
116
  display: block;
117
+ object-fit: contain;
118
  }
119
 
120
  .hero {
 
149
  }
150
 
151
  .island-line {
152
+ width: min(78vw, 340px);
153
+ margin: clamp(30px, 6svh, 50px) auto 0;
 
 
154
  }
155
 
156
+ .island-img {
157
  width: 100%;
158
  height: auto;
159
  display: block;
160
+ object-fit: contain;
161
+ opacity: .94;
162
+ filter: drop-shadow(0 14px 26px rgba(37, 75, 107, .08));
163
+ animation: islandIn .75s ease .12s both;
164
  }
165
 
166
+ @keyframes islandIn {
167
+ from { opacity: 0; transform: translateY(10px) scale(.98); }
168
+ to { opacity: .94; transform: translateY(0) scale(1); }
 
 
 
 
 
 
169
  }
170
 
 
 
171
  .form-area {
172
  align-self: end;
173
  padding-bottom: clamp(6px, 2.4svh, 26px);
 
380
  font-size: clamp(58px, 18vw, 112px);
381
  }
382
 
383
+ .reveal-island {
384
+ width: min(72vw, 320px);
385
+ margin: clamp(24px, 5svh, 38px) auto 0;
386
+ }
387
+
388
+ .reveal-island .island-img {
389
+ opacity: .28;
390
+ filter: none;
391
+ animation: none;
392
+ }
393
+
394
  .reveal-line {
395
  width: 88px;
396
  height: 2px;
 
470
  <main class="screen">
471
  <div class="page">
472
  <div class="top-mark">
473
+ <img class="logo" src="logo.png" alt="Logo matrimonio" />
 
 
 
 
 
474
  </div>
475
 
476
  <section class="hero" aria-label="Trova la tua cala">
 
480
  </h1>
481
 
482
  <div class="island-line" aria-hidden="true">
483
+ <img class="island-img" src="isola.png" alt="" />
 
 
484
  </div>
485
  </section>
486
 
 
501
  <p class="hello" id="hello"></p>
502
  <p class="table-kicker">Il tuo tavolo è</p>
503
  <h2 class="table-name" id="tableName"></h2>
504
+ <div class="reveal-island" aria-hidden="true">
505
+ <img class="island-img" src="isola.png" alt="" />
506
+ </div>
507
  <div class="reveal-line" aria-hidden="true"></div>
508
  <p class="reveal-note">In che cala cenerai? L’hai appena scoperto.</p>
509
  <button class="again" id="again" type="button">Cerca un altro nome</button>