-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
247 lines (227 loc) · 8.41 KB
/
index.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
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
<!DOCTYPE html>
<html lang="or">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sri Damodara Jyotishalaya</title>
<link rel="stylesheet" href="styles.css">
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 0;
}
.sub-heading {
text-align: center;
color: goldenrod;
font-size: 14px;
margin-top: 5px;
font-weight: bold;
background-color: #fff;
padding: 5px;
position: sticky;
top: 0;
z-index: 1000;
}
header {
background-color: #333;
color: #fff;
padding: 10px 0;
text-align: center;
}
header h1, header h2 {
margin: 0;
}
header h1 {
font-size: 36px;
}
header h2 {
font-size: 18px;
}
.english-letter {
color: yellow;
font-size: 18px;
display: block;
}
.odia-letter {
color: red;
}
nav ul {
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
}
nav ul li {
display: inline;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-size: 18px;
}
nav ul li a:hover {
color: #ffcc00;
}
.expandable-section {
background-color: #fff;
padding: 20px;
margin: 20px 10px;
border-radius: 10px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
border: 1px solid #ccc;
}
.expandable-section h2 {
cursor: pointer;
background-color: #ffcc00;
padding: 10px;
border-radius: 5px;
text-align: center;
}
.expandable-content {
display: none;
margin-top: 10px;
}
.yellow-red-line {
text-align: center;
color: yellow;
background-color: red;
padding: 5px;
border-radius: 5px;
margin-top: 20px;
}
.jagannath-image {
display: block;
margin: 20px auto;
width: 200px;
}
/* Style for Panjika */
#maa_tara_tarini_panjika .expandable-content {
display: inline-block; /* Single line display */
margin-top: 0;
}
/* Additional styling for a professional look (adjust to your liking) */
.expandable-section h2 {
font-weight: bold;
}
.expandable-section form {
display: flex;
flex-direction: column;
align-items: center;
}
.expandable-section label {
margin-bottom: 5px;
}
.expandable-section input {
padding: 5px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.expandable-section input[type="submit"] {
background-color: #ffcc00;
color: #333;
border: none;
border-radius: 5px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="sub-heading">** ଓଁ ଶ୍ରୀ ଶୁଭମସ୍ତୁ **</div>
<header>
<h1><span class="odia-letter">ଶ୍ରୀ ଦାମୋଦର ଜ୍ୟୋତିଷାଳୟ</span></h1>
<h2 class="english-letter">Sri Damodara Jyotishalaya</h2>
<nav>
<ul>
<li><a href="#janma_kundali">ଜନ୍ମ କୁଣ୍ଡଳୀ</a></li>
<li><a href="#prajapati_melaka">ପ୍ରଜାପତି ମେଳକ</a></li>
<li><a href="https://yourlivewebsite.com" target="_blank">ଜ୍ୟୋତିଷଙ୍କ ସହ ସମ୍ବାଦ</a></li>
<li><a href="#maa_tara_tarini_panjika">ମା ତାରା ତାରିଣୀ ପଞ୍ଜିକା</a></li>
<li><a href="#muhurtha">ମୁହୁର୍ତ</a></li>
</ul>
</nav>
</header>
<img src="babb0a4032d39649a6dec6ff7a753c0f.jpg" alt="Lord Jagannath" class="jagannath-image">
<main>
<section class="expandable-section" id="janma_kundali">
<h2>ଜନ୍ମ କୁଣ୍ଡଳୀ / Generate Birth Chart</h2>
<div class="expandable-content">
<!-- Input fields for birth chart generation -->
<form>
<label for="name">Name:</label>
<input type="text" id="name" name="name"><br><br>
<label for="dob">Date of Birth:</label>
<input type="date" id="dob" name="dob"><br><br>
<label for="time">Time of Birth:</label>
<input type="time" id="time" name="time"><br><br>
<label for="place">Place of Birth:</label>
<input type="text" id="place" name="place"><br><br>
<input type="submit" value="Generate">
</form>
</div>
</section>
<section class="expandable-section" id="prajapati_melaka">
<h2>ପ୍ରଜାପତି ମେଳକ</h2>
<div class="expandable-content">
<!-- Input fields for groom and bride details -->
<form>
<h3>Groom's Details</h3>
<label for="groom_name">Name:</label>
<input type="text" id="groom_name" name="groom_name"><br><br>
<label for="groom_dob">Date of Birth:</label>
<input type="date" id="groom_dob" name="groom_dob"><br><br>
<label for="groom_time">Time of Birth:</label>
<input type="time" id="groom_time" name="groom_time"><br><br>
<label for="groom_place">Place of Birth:</label>
<input type="text" id="groom_place" name="groom_place"><br><br>
<h3>Bride's Details</h3>
<label for="bride_name">Name:</label>
<input type="text" id="bride_name" name="bride_name"><br><br>
<label for="bride_dob">Date of Birth:</label>
<input type="date" id="bride_dob" name="bride_dob"><br><br>
<label for="bride_time">Time of Birth:</label>
<input type="time" id="bride_time" name="bride_time"><br><br>
<label for="bride_place">Place of Birth:</label>
<input type="text" id="bride_place" name="bride_place"><br><br>
<input type="submit" value="Match">
</form>
</div>
</section>
<section class="expandable-section" id="maa_tara_tarini_panjika">
<h2>ମା ତାରା ତାରିଣୀ ପଞ୍ଜିକା</h2>
<div class="expandable-content">
<p>Content for Maa Tara Tarini Panjika will go here.</p>
</div>
</section>
<section class="expandable-section" id="muhurtha">
<h2>ମୁହୁର୍ତ</h2>
<div class="expandable-content">
<!-- Content for Muhurtha -->
<p>Content for Muhurtha will go here.</p>
</div>
</section>
<div class="yellow-red-line">
ଜ୍ୟୋତିଷ ଶ୍ରୀ ଦାମୋଦର ଦାଶ ଶର୍ମା ଙ୍କ ଆଶୀର୍ବାଦ
</div>
</main>
<footer>
</footer>
<script>
// JavaScript to toggle expandable sections
document.addEventListener("DOMContentLoaded", function() {
var expandableSections = document.querySelectorAll('.expandable-section');
expandableSections.forEach(function(section) {
var heading = section.querySelector('h2');
var content = section.querySelector('.expandable-content');
heading.addEventListener('click', function() {
content.classList.toggle('expanded');
content.style.display = content.style.display === "block" ? "none" : "block";
});
});
});
</script>
</body>
</html>