-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
317 lines (268 loc) · 7.12 KB
/
index.html
File metadata and controls
317 lines (268 loc) · 7.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home | My Personal Blog</title>
<style>
/* Base Reset & Smooth UX */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
transition: all 0.3s ease-in-out;
}
html, body {
height: 100%;
scroll-behavior: smooth;
font-family: 'Georgia', serif;
background-image: url("https://i.pinimg.com/736x/c1/1d/78/c11d78c5f7e23676b95783cc6c3bffbf.jpg");
color: #2c3e50;
display: flex;
flex-direction: column;
background-size:cover;
background-position: center;
}
/* Header */
header {
background-image: url("https://i.pinimg.com/736x/c1/1d/78/c11d78c5f7e23676b95783cc6c3bffbf.jpg");
background-size: cover;
padding: 80px 20px;
text-align: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
header h1 {
font-size: 3.5rem;
font-weight: 700;
color: #000000;
}
header h2 {
font-size: 1.2rem;
color: #000000;
font-style: italic;
margin-top: 10px;
}
/* Navigation Bar */
nav {
background: #588971;
padding: 5px 0;
position: sticky;
top: 0;
z-index: 999;
display: flex;
justify-content: center;
}
nav a {
margin: 0 25px;
text-decoration: none;
color: #ffffff;
font-weight: 600;
font-size: 1rem;
padding: 8px 16px;
border-radius: 20px;
}
nav a:hover {
background-image: url("https://i.pinimg.com/736x/4b/6a/cf/4b6acfd5e7cdb7647be6593ee9b7071c.jpg");
color: #fff;
padding: 6px 16px;
border-radius: 100px;
}
/* Main Content */
main {
flex: 1;
width: 100%;
max-width: 1000px;
margin: 40px auto;
padding: 0 20px;
}
section {
margin-bottom: 20px;
background: #71a58b;
border-radius: 10px;
padding: 30px;
text-align: center;
}
section:hover {
transform: translateY(-5px);
}
section h3 {
font-size: 2rem;
color: #2c3e50;
margin-bottom: 15px;
}
/* Slideshow */
.slideshow-container {
max-width: 1000px;
height: 400px;
margin: 40px auto;
position: relative;
overflow: hidden;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
display: flex;
justify-content: center;
align-items: center;
}
.mySlides {
position: absolute;
width: 60%;
height: 100%;
opacity: 0;
object-fit: cover;
transition: opacity 1s ease-in-out;
}
.mySlides.show {
opacity: 1;
z-index: 1;
}
/* Footer */
footer {
background: #588971;
color: #ffffff;
text-align: center;
padding: 1.5rem;
font-size: 0.9rem;
margin-top: auto;
}
.audio-control {
margin-top: 30px;
text-align: center;
}
.toggle-btn {
background-color: #588971;
color: white;
border: none;
border-radius: 30px;
padding: 12px 24px;
font-size: 1.1rem;
cursor: pointer;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: background 0.3s, transform 0.2s;
}
.toggle-btn:hover {
background-color: #71a58b;
transform: scale(1.05);
}
.video-container {
display: flex;
gap: 20px; /* space between videos */
justify-content: center; /* center horizontally */
flex-wrap: wrap; /* wrap on smaller screens */
margin-top: 20px;
}
video {
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
max-width: 100%;
height: auto;
}
</style>
</head>
<body>
<audio id="clickSound" src="audio.html\click.mp3" preload="auto"></audio>
<script>
const clickSound = document.getElementById('clickSound');
document.addEventListener('click', () => {
// Rewind to start in case it's still playing
clickSound.currentTime = 0;
clickSound.play();
});
</script>
<header>
<div class="container">
<h1>My Personal Blog</h1>
<h2>Like Water, Life Flows</h2>
<br>
<div id="datetime"></div>
<br>
</header>
<script>
function updateDateTime() {
const now = new Date();
const options = {
weekday: 'long',
year: 'numeric',
month: 'long',
day: 'numeric',
hour: '2-digit',
minute: '2-digit'
};
document.getElementById("datetime").textContent = " " + now.toLocaleString('en-US', options);
}
setInterval(updateDateTime, 1000);
updateDateTime();
</script>
<nav>
<a href="index.html">Home</a>
<a href="myself.html">Myself</a>
<a href="education.html">Education</a>
<a href="family.html">Family</a>
</nav>
<main>
<div class="container">
<section>
<marquee>⋆. 𐙚˚࿔ Oel ngati kameie 𝜗𝜚˚⋆</marquee>
<h3>~ Hello Stranger ~</h3>
<p>𐙚 Let the leaves fall where they may𐙚</p>
<p>Welcome to my blog. A little corner dedicated to me. This website began as an assignment, but I decided to have some fun with it and turn it into a platform where I can share snippets of my personality, reflections, and whatever else represents me. Think of it as a digital snapshot of my identity, captured in a post or two! and guys.... digital footprint is haunting me with this one</p>
<div class="slideshow-container">
<img class="mySlides show" src="image.html\car.jpg" alt="Slide 1">
<img class="mySlides" src="image.html\takde eybrow.jpg" alt="Slide 2">
<img class="mySlides" src="image.html\enuil.jpg" alt="Slide 3">
</div>
<div class="video-container">
<video width="640" height="360" autoplay muted loop poster="images/thumb.jpg">
<source src="video.html/wahh.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
<video width="640" height="360" autoplay muted loop poster="images/thumb.jpg">
<source src="video.html/whutt.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
<div class="audio-control">
<button class="toggle-btn" id="toggleAudioBtn">▶ Play</button>
<audio id="song">
<source src="audio.html/Ева - Vintage (Lonely Lonely TikTok Version x Dante).mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</div>
<script>
const song = document.getElementById("song");
const toggleBtn = document.getElementById("toggleAudioBtn");
toggleBtn.addEventListener("click", function () {
if (song.paused) {
song.play();
toggleBtn.textContent = "⏸ Pause";
} else {
song.pause();
toggleBtn.textContent = "▶ Play";
}
});
</script>
</p>
<script>
let index = 0;
const slides = document.getElementsByClassName("mySlides");
function showSlides() {
for (let i = 0; i < slides.length; i++) {
slides[i].classList.remove("show");
}
index = (index + 1) % slides.length;
slides[index].classList.add("show");
setTimeout(showSlides, 3000); // Switch every 3 seconds
}
// Initially show the first slide
if (slides.length > 0) {
slides[0].classList.add("show");
setTimeout(showSlides, 3000);
}
</script>
</section>
</main>
<footer>
<div class="container">
© 2025 Ainul. Connected through the Water.
</footer>
</body>
</html>