-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
365 lines (330 loc) · 11.3 KB
/
index.html
File metadata and controls
365 lines (330 loc) · 11.3 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
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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Open Letter</title>
<style>
/* General Reset */
body {
margin: 0;
padding: 0;
font-family: "Courier New", Courier, monospace;
background-color: #ffffff;
color: #000000;
display: flex;
flex-direction: column;
align-items: center; /* Center items horizontally */
}
/* Full-Screen Overlay */
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
cursor: pointer;
text-align: center;
}
/* Envelope Container */
.envelope-container {
position: relative; /* So we can absolutely position text inside */
max-width: 80vw; /* Make the envelope image responsive */
width: 600px; /* or a fixed width if you prefer */
}
.envelope-container img {
width: 100%;
height: auto;
display: block;
}
/* Positioning the text inside the envelope flap */
.envelope-text {
position: absolute;
/* Adjust these to move your text within the flap area: */
top: 22%; /* Adjust to move text up/down inside the flap */
left: 50%;
transform: translateX(-50%);
font-size: 1.2rem;
font-weight: bold;
max-width: 80%;
}
/* Letter Container */
.letter {
width: 80%;
max-width: 600px;
padding: 20px;
border: 1px solid #000000;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
font-size: 18px;
line-height: 1.6;
margin-top: 40pt;
margin-bottom: 20px; /* Add space between pages */
}
.text {
width: 80%;
max-width: 600px;
padding: 20px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
font-size: 18px;
line-height: 1.6;
margin-bottom: 80px;
text-align: center;
}
/* Indent Style for Specific Paragraph */
.indented {
text-indent: 40px; /* Only applies to this class */
}
/* Date and Signature */
.date {
text-align: right;
font-style: italic;
margin-bottom: 20px;
}
.signature {
margin-top: 30px;
text-align: right;
font-style: italic;
}
.image-div img{
width: 500px;
height: auto;
display: block;
}
@media only screen and (max-width: 480px) {
.image-div img {
width: 100%; /* Make images responsive to screen size */
max-width: 300px; /* Limit maximum width */
height: auto; /* Maintain aspect ratio */
}
.envelope-text {
position: absolute;
/* Adjust these to move your text within the flap area: */
top: 10%; /* Adjust to move text up/down inside the flap */
left: 50%;
transform: translateX(-50%);
font-size: 1.2rem;
font-weight: bold;
max-width: 80%;
}
}
</style>
</head>
<body>
<!-- Audio Element -->
<audio id="background-song" loop>
<source src="Audio/Acoustics.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<!-- Full-Screen Overlay with Envelope Image -->
<div id="overlay">
<div class="envelope-container">
<img src="Images/image.png" alt="Envelope" />
<div class="envelope-text">
Tap anywhere to open the letter
</div>
</div>
</div>
<!-- Letter Content -->
<div class="letter">
<div class="date" id="current-date"></div>
<p>
My Dearest Allie,
</p>
<p class="indented">
A part of your soul lingers in my bedroom, day and night, as the thought of you hasn't left my head.
The memories created by our love are all that's left as your scent on my pillow and the indent
on my mattress have long since faded just like the invisible force that once attracted us to each other.
And yet, despite the distance now between us, I've learned that love is real and what we had will never be forgotten.
</p>
<p class="indented">
From our first picnic date to our last sushi dinner and every "I love you" in between,
I will forever remember my first love, Allison.
</p>
<p class="indented">
There's so much I could write about, so many words to pour out onto this page.
But the truth is, out of eight billion people, the only one I want is you.
The only eyes I want to look into, the only fingertips I want combing my hair.
The lesson I've learned from losing you tastes bitter, but it has shown me how to be the man you deserve and desire.
And if you choose to keep this distance, just know that I'm not chasing you out of a lack of self respect,
but because you are worth every ounce of hope I have left. You always have been.
</p>
<div class="signature">
Sincerely,<br>
Baby Boy
</div>
</div>
<br>
<div class="letter">
<p>A list I owe you...</p>
<p>Reasons why I loved you</p>
<p>
1. Your name.<br>
2. Your Style.<br>
3. The way you looked at me.<br>
4. How quickly I got lost in your eyes.<br>
5. That beautiful hair.<br>
6. Your Smile.<br>
7. The love you radiated.<br>
8. The texts of how proud you were of me.<br>
9. Your gifts.<br>
10. Your drive for a successful life.<br>
11. The way you carry yourself.<br>
12. I felt loved for once.<br>
13. How you cleaned the room before I came over to have less dog hair.<br>
14. Drove 3 hours home and back just to see me.<br>
15. Spent the little money you had on me.<br>
16. The comfort from hugging you.<br>
17. The warmth from your soul.<br>
18. Your hugs.<br>
19. Quit vaping because I didn't like it.<br>
20. Started to call me baby boy because I liked it.<br>
21. How comfortable yet how nervous I was around you.<br>
22. How clean you are.<br>
23. The way you motivated me and continue to do.<br>
24. The love you have for my culture.<br>
25. Your scent.<br>
26. Your family.<br>
27. Your confidence.<br>
28. Your laugh.<br>
29. Your independence.<br>
30. Your mental strength.<br>
31. Your loyalty.<br>
32. Your teeth.<br>
33. Your face.<br>
34. Looked good in everything you wore.<br>
35. Your ability to sleep better around me.<br>
36. Your Organized.<br>
37. Saved the flowers I bought you.<br>
38. Our goodnight saying.<br>
39. Our nicknames.<br>
40. Your aesthetically pleasing.<br>
41. Your tattoo's.<br>
42. Your car.<br>
43. Your love to God.<br>
44. Your music taste.<br>
45. Your standards.<br>
46. The food you cooked.<br>
47. You being silly.<br>
48. Your morning hair.<br>
49. Your understandingness <br>
50. Your aesthetic sense.<br>
51. Your empathy.<br>
52. Your appreciation.<br>
53. How you remembered everything about me.<br>
54. Seeing your face on facetime while at school.<br>
55. How you wiped tears off my face.<br>
56. Your competitiveness.<br>
57. Not giving up.<br>
58. Your cute pouting face.<br>
59. You being the passenger princess.<br>
60. Seeing your happiness around your sisters<br>
61. Getting to paint your toenails.<br>
62. You opened my eyes.<br>
63. Being a starbucks girl.<br>
64. When I got to shower you.<br>
65. Seeing your Goodmorning texts.<br>
66. Your Height.<br>
67. Thinking you were the only women on this planet.<br>
68. How much you cared about me.<br>
69. Getting to pick flowers for you.<br>
70. Eating fastfood with you.<br>
71. When you got upset you had to go back to school.<br>
72. Your well spoken.<br>
73. You trusted me.<br>
74. How you held my arm.<br>
75. How you slept on my chest.<br>
76. Your beliefs.<br>
77. How you turned into a soft girl around me.<br>
78. How you respected me.<br>
79. You made time for us.<br>
80. Your eyebrows.<br>
81. Your nose.<br>
82. Your ears.<br>
83. When you asked me for help.<br>
84. You like wine.<br>
85. Your love for food.<br>
86. Your list of date ideas.<br>
87. Your desire to spoil me.<br>
88. Time went by quick with you.<br>
89. You liking mcchickens with cheese and pickles.<br>
90. Your middle name.<br>
91. Your last name.<br>
92. Your random phone calls.<br>
93. Playing games on discord.<br>
94. How you love your family<br>
95. How supportive you were.<br>
96. When you ranted to me.<br>
97. Your voice.<br>
98. Only girl I find attractive.<br>
99. Your kisses.<br>
100. When you sniffed my armpits.<br>
</p>
</div>
<div class="image-div">
<img src="Images/1.JPG"/>
<br>
<img src="Images/2.JPG"/>
<br>
<img src="Images/3.JPG"/>
<br>
<img src="Images/4.JPG"/>
<br>
<img src="Images/5.JPG"/>
<br>
<img src="Images/6.JPG"/>
<br>
<img src="Images/7.JPG"/>
<br>
<img src="Images/8.JPG"/>
<br>
<img src="Images/9.JPG"/>
<br>
<br>
</div>
<p class="text">
Doing it right this time
<br>
<br>
A foundation cemented by God, where trust replaces jealousy and patience silences fear. A bond no longer shaken by insecurity, but strengthened by faith and commitment.
A partnership where we lift each other higher toward success, toward peace, toward a future.
<br>
<br>
Just two people working toward a life filled with love, purpose, and growth every single day.
</p>
<p class="text">
If there's any doubt in your mind that I didn't write this.
Know these words are entirely my own, giving voice to what my heart struggles to say out loud.
<br>
<br>
The date updates to the current day to symbolize what I've written isn't just a fleeting thought, its something I feel everyday. No matter how much time passes, these words remain true.
<br>
<br>
<b>There's an undeniable truth that you still hold a place in my heart.</b>
</p>
<script>
// Display Real-Time Date
function updateDate() {
const dateElement = document.getElementById('current-date');
const options = { year: 'numeric', month: 'long', day: 'numeric' };
const today = new Date().toLocaleDateString(undefined, options);
dateElement.textContent = today;
}
updateDate();
// Audio and Overlay
const audio = document.getElementById('background-song');
const overlay = document.getElementById('overlay');
// Play music & remove the envelope overlay on first click
document.body.addEventListener('click', function () {
if (audio.paused) {
audio.play();
overlay.style.display = 'none';
}
});
</script>
</body>
</html>