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

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +44 -27
index.html CHANGED
@@ -53,7 +53,9 @@
53
  }
54
 
55
  body {
 
56
  min-height: 100svh;
 
57
  background:
58
  linear-gradient(180deg, #fffdf8 0%, #f8f4ee 54%, #f3efe9 100%);
59
  }
@@ -64,6 +66,7 @@
64
 
65
  .screen {
66
  position: relative;
 
67
  min-height: 100svh;
68
  display: flex;
69
  justify-content: center;
@@ -97,30 +100,37 @@
97
  position: relative;
98
  z-index: 1;
99
  width: min(100%, 500px);
 
100
  min-height: 100svh;
101
- padding: max(30px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom));
102
  display: grid;
103
  grid-template-rows: auto 1fr auto;
 
104
  }
105
 
106
  .top-mark {
107
  display: flex;
108
  justify-content: center;
109
  align-items: center;
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 {
121
  align-self: center;
122
  text-align: center;
123
- padding: 10px 0 22px;
124
  }
125
 
126
  .script-title {
@@ -128,7 +138,7 @@
128
  max-width: 390px;
129
  color: var(--blue);
130
  font-family: var(--font-script);
131
- font-size: clamp(62px, 18vw, 108px);
132
  font-weight: 400;
133
  line-height: .76;
134
  letter-spacing: -.035em;
@@ -149,23 +159,23 @@
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 {
@@ -381,27 +391,32 @@
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;
397
- margin: clamp(28px, 6svh, 46px) auto 0;
398
  border-radius: 999px;
399
  background: var(--olive);
400
  opacity: .68;
401
  }
402
 
403
  .reveal-note {
404
- margin: 18px auto 0;
405
  max-width: 28ch;
406
  color: rgba(37, 75, 107, .66);
407
  font-size: 15px;
@@ -412,7 +427,7 @@
412
  .again {
413
  align-self: center;
414
  min-height: 52px;
415
- margin-top: clamp(28px, 6svh, 44px);
416
  border: 1px solid rgba(37, 75, 107, .14);
417
  border-radius: 999px;
418
  padding: 0 24px;
@@ -446,11 +461,13 @@
446
 
447
  @media (max-width: 380px) {
448
  .screen::before, .reveal::before { inset: 12px; border-radius: 24px; }
449
- .page { padding-left: 22px; padding-right: 22px; }
450
- .script-title { font-size: clamp(58px, 18vw, 92px); }
451
- .island-line { width: min(72vw, 290px); }
452
- input, .discover { min-height: 58px; }
453
- .table-name { font-size: clamp(68px, 22vw, 120px); }
 
 
454
  .table-name[data-long="true"] { font-size: clamp(52px, 17vw, 94px); }
455
  }
456
 
 
53
  }
54
 
55
  body {
56
+ height: 100svh;
57
  min-height: 100svh;
58
+ overflow: hidden;
59
  background:
60
  linear-gradient(180deg, #fffdf8 0%, #f8f4ee 54%, #f3efe9 100%);
61
  }
 
66
 
67
  .screen {
68
  position: relative;
69
+ height: 100svh;
70
  min-height: 100svh;
71
  display: flex;
72
  justify-content: center;
 
100
  position: relative;
101
  z-index: 1;
102
  width: min(100%, 500px);
103
+ height: 100svh;
104
  min-height: 100svh;
105
+ padding: max(22px, env(safe-area-inset-top)) 28px max(20px, env(safe-area-inset-bottom));
106
  display: grid;
107
  grid-template-rows: auto 1fr auto;
108
+ overflow: hidden;
109
  }
110
 
111
  .top-mark {
112
  display: flex;
113
  justify-content: center;
114
  align-items: center;
115
+ min-height: 38px;
116
+ background: transparent;
117
  }
118
 
119
  .logo {
120
+ width: 50px;
121
+ height: 50px;
122
  display: block;
123
  object-fit: contain;
124
+ background: transparent;
125
+ opacity: .86;
126
+ mix-blend-mode: multiply;
127
+ filter: contrast(1.08) saturate(.92);
128
  }
129
 
130
  .hero {
131
  align-self: center;
132
  text-align: center;
133
+ padding: 4px 0 14px;
134
  }
135
 
136
  .script-title {
 
138
  max-width: 390px;
139
  color: var(--blue);
140
  font-family: var(--font-script);
141
+ font-size: clamp(54px, 15.5vw, 92px);
142
  font-weight: 400;
143
  line-height: .76;
144
  letter-spacing: -.035em;
 
159
  }
160
 
161
  .island-line {
162
+ width: min(48vw, 220px);
163
+ max-height: 150px;
164
+ margin: clamp(18px, 3.5svh, 30px) auto 0;
165
+ overflow: hidden;
166
  }
167
 
168
  .island-img {
169
  width: 100%;
170
+ max-height: 150px;
171
  height: auto;
172
  display: block;
173
  object-fit: contain;
174
+ opacity: 1;
175
+ filter: none;
176
+ animation: none;
177
+ transform: none;
178
+ mix-blend-mode: multiply;
 
 
 
179
  }
180
 
181
  .form-area {
 
391
  }
392
 
393
  .reveal-island {
394
+ width: min(42vw, 180px);
395
+ max-height: 120px;
396
+ margin: clamp(18px, 3.5svh, 28px) auto 0;
397
+ overflow: hidden;
398
  }
399
 
400
  .reveal-island .island-img {
401
+ max-height: 120px;
402
+ opacity: .22;
403
  filter: none;
404
  animation: none;
405
+ transform: none;
406
+ mix-blend-mode: multiply;
407
  }
408
 
409
  .reveal-line {
410
  width: 88px;
411
  height: 2px;
412
+ margin: clamp(18px, 3.5svh, 28px) auto 0;
413
  border-radius: 999px;
414
  background: var(--olive);
415
  opacity: .68;
416
  }
417
 
418
  .reveal-note {
419
+ margin: 14px auto 0;
420
  max-width: 28ch;
421
  color: rgba(37, 75, 107, .66);
422
  font-size: 15px;
 
427
  .again {
428
  align-self: center;
429
  min-height: 52px;
430
+ margin-top: clamp(20px, 4svh, 30px);
431
  border: 1px solid rgba(37, 75, 107, .14);
432
  border-radius: 999px;
433
  padding: 0 24px;
 
461
 
462
  @media (max-width: 380px) {
463
  .screen::before, .reveal::before { inset: 12px; border-radius: 24px; }
464
+ .page { padding-left: 22px; padding-right: 22px; padding-top: max(18px, env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
465
+ .logo { width: 44px; height: 44px; }
466
+ .script-title { font-size: clamp(50px, 15vw, 78px); }
467
+ .island-line { width: min(44vw, 180px); max-height: 120px; margin-top: 18px; }
468
+ .island-img { max-height: 120px; }
469
+ input, .discover { min-height: 56px; }
470
+ .table-name { font-size: clamp(62px, 20vw, 104px); }
471
  .table-name[data-long="true"] { font-size: clamp(52px, 17vw, 94px); }
472
  }
473