-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpurpose.html
196 lines (172 loc) · 7.33 KB
/
purpose.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Purpose of onlyforherforever.</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<meta name="keywords" content="तू होती तो इतनी ख़ुशी होती कि ख़ुशी मुझसे दुखी होती।">
<meta name="description" content="A poetic web project celebrating love, life, and the beauty found in everyday moments. It's an ode to a special person and the unique connection shared between two souls.">
<link href="image_assets/hers.ico" rel="icon">
<style>
@font-face {
font-family: 'Magensburg';
src: url('/fonts/magensburg.ttf') format('woff');
}
body {
font-family: 'Magensburg', sans-serif;
}
.floating-box {
position: fixed;
top: 55%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(255, 255, 255, 0.9);
border: 2px solid #d4af37;
padding: 55px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
border-radius: 15px;
width: 70%;
max-width: 1350px;
text-align: center;
font-family: 'Magensburg', Times, serif;
}
.floating-box h2 {
font-size: 3em;
margin-bottom: 15px;
color: #d4af37;
font-weight: bold;
}
.floating-box p {
font-size: 1.8em;
color: #555;
font-weight: bold;
}
/* Adjustments for mobile devices */
@media (max-width: 767px) {
.floating-box {
width: 85%; /* Reduced width for a better fit */
height: calc(60% + 20vh); /* Adjust height only from the bottom */
padding: 15px;
margin-left: auto;
margin-right: auto;
overflow-y: auto; /* Add scroll if content overflows */
}
.floating-box h2 {
font-size: 2.3em;
}
.floating-box p {
font-size: 1.4em;
}
}
/* Adjustments for tablets */
@media (min-width: 768px) and (max-width: 1024px) {
.floating-box {
width: 80%; /* Adjust width for tablets */
height: auto;
padding: 30px; /* Adjust padding for better spacing */
}
.floating-box h2 {
font-size: 2.6em; /* Slightly smaller font size */
}
.floating-box p {
font-size: 1.6em; /* Adjust font size */ }
}
/* Adjustments for iPhone SE (1st and 2nd generation) and similar devices */
@media (max-width: 375px) {
.floating-box {
width: 85%; /* Further reduced width */
height: calc(55% + 20vh); /* Increased height */
padding: 10px; /* Smaller padding */
}
.floating-box h2 {
font-size: 2.2em; /* Smaller heading */
}
.floating-box p {
font-size: 1.2em; /* Smaller text */
}
}
</style>
</head>
<body>
<!-- Header Section -->
<header>
<div class="container">
<!-- Logo -->
<div class="logo">
<a>onlyforherforever♡</a>
</div>
<!-- Menu Icon for Sidebar -->
<div class="menu-icon" onclick="toggleSidebar()">
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
</div>
</div>
</header>
<!-- Sidebar -->
<div class="sidebar">
<button class="back-button" onclick="closeSidebar()">←</button>
<div class="sidebar-content">
<!-- Sidebar Banner -->
<a href="/" target="_blank">
<img src="image_assets/hers.png" alt="Banner" class="sidebar-banner" width="300" height="250">
</a>
<!-- Navigation Links -->
<ul class="nav-links">
<li><a href="purpose.html">Purpose Of This Project</a></li>
<li><a href="https://github.com/onlyforherforever/onlyforherforever.github.io/blob/main/docs/howtousethisproject.md#how-to-use-this-project">Make Your Own Story</a></li>
<li><a href="https://github.com/onlyforherforever/onlyforherforever.github.io">Go To The Source</a></li>
<li><a href="https://github.com/onlyforherforever/onlyforherforever.github.io/issues/new?assignees=ShitijHalder&labels=aintainer+application&projects=&template=maintainers-application.yml&title=Maintainer+Application%3A+%5BYour+Name%5D">Maintainership</a></li>
<li><a href="https://github.com/onlyforherforever">Go To ORG</a></li>
<button class="theme-toggle" onclick="toggleTheme()" aria-label="Switch to Bright Mode">Switch to Bright Mode</button>
</ul>
</div>
</div>
<div class="floating-box">
<h2>Purpose of This Project</h2>
<p>This project, much like the journey of life itself, is an exploration of the unknown, a pursuit of beauty in the mundane. It's a celebration of those little bursts of joy, the "खुशियाँ", that make life worthwhile. She's like that, you know? Like the way the scent of "रात रानी का फूल" can instantly lift your mood, her presence just makes everything better.
<br>
<br>
तू होती तो इतनी ख़ुशी होती कि ख़ुशी मुझसे दुखी होती।
<br>
<br>
It's not about grand romantic gestures or anything cliché like that. It's the effortless "नज़ाकत" in her every action, the mischievous glint of "शैतानी" in her eyes when she laughs. She's a walking contradiction, a whirlwind of energy one moment and a picture of serenity the next, a perfect balance of "शांति" and chaos.
<br>
<br>
This is for her, a Gift of God, an ode to the unspoken "प्यार" that hangs between us, a silent understanding that feels like a shared "सपना". She's the missing piece of my puzzle, the "रोशनी" that guides me through life's uncertainties.
<br>
<br>
"वह चार दीवारों से घिरी जगहों से डरती है, और मैं समुद्र की गहराइयों से। शायद इसीलिए हम एक-दूसरे की अनंतता में खोए रहते हैं।"</p>
</div>
<script>
// Function to toggle between dark mode and bright mode
function toggleTheme() {
document.body.classList.toggle('bright-mode');
const button = document.querySelector('.theme-toggle');
if (document.body.classList.contains('bright-mode')) {
button.textContent = 'Switch to Dark Mode';
} else {
button.textContent = 'Switch to Bright Mode';
}
}
// Toggle the sidebar open and closed when the button is clicked
const sidebarToggle = document.querySelector('.theme-toggle');
sidebarToggle.addEventListener('click', () => {
const sidebar = document.querySelector('.sidebar');
sidebar.classList.toggle('open'); // This will toggle the 'open' class on the sidebar
});
// Function to toggle the sidebar visibility
function toggleSidebar() {
const sidebar = document.querySelector('.sidebar');
sidebar.classList.toggle('open');
}
// Function to close the sidebar manually
function closeSidebar() {
const sidebar = document.querySelector('.sidebar');
sidebar.classList.remove('open');
}
</script>
</body>
</html>