-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
333 lines (316 loc) · 12.6 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="theme-color" content="#0096ff"> <!-- Sets the color for Chrome -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home - Atma Ram Sanatan Dharma College</title>
<style>
body {
margin: 0;
padding: 0;
font-family: times;
background-color: white;
}
header {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
flex-direction: row; /* Stack elements vertically on small screens */
align-items: flex-start;
display: flex;
align-items: center;
background-color: #001f4d;
color: #fff;
padding: 10px;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-sizing: border-box;
margin-top: 0;
}
.menu-icon {
display: inline-block;
cursor: pointer;
padding: 10px;
margin-right: 10px;
}
.menu-icon div {
width: 20px;
height: 2px;
background-color: #fff;
margin: 6px 0;
transition: 0.4s;
}
.container {
max-width: 95%;
margin: 10px auto;
padding: 2%;
border-top-right-radius: 20px;
border-bottom-left-radius: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
background: linear-gradient(135deg, #a7c5eb 0%, #86a8e7 100%);
}
.spotlight-heading {
text-align: center;
color: #ffffff;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
margin-bottom: 20px;
}
.box {
width: 95%;
padding: 2%;
text-align: center;
line-height: 1;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: #ffffff;
margin-bottom: 20px;
}
.box img {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
width: 80px;
height: 80px;
border-radius: 50%;
margin-bottom: 20px;
margin-top: 10px;
}
.logo {
top: 0;
margin-right: 10px; /* Adjust margin as needed */
height: auto; /* Ensure the logo scales properly */
}
.heading-container {
flex-grow: 1;
text-align: center; /* Center text horizontally */
}
.heading {
margin: 0;
font-size: 75%;
line-height: 1.2;
margin-right: 20px;
white-space: nowrap; /* Prevents text from wrapping */
overflow: hidden; /* Hides overflowing text */
text-overflow: ellipsis; /* Adds ellipsis for overflowing text */
}
nav {
display: none;
background-color: rgba(0, 31, 77, 0.8);
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(4px);
position:fixed;
top: 0;
z-index: 1000;
width: 80%;
margin-top: 100px;
margin-left: 5%;
border-radius: 8px;
}
.content {
padding: 20px;
}
/* Default margin-top for mobile devices */
.nav {
margin-top: 20px;
}
/* Media query for larger screens (e.g., tablets and desktops) */
@media (min-width: 768px) {
.navigation {
margin-top: 50px; /* Adjust this value for larger screens */
}
}
@media (min-width: 1200px) {
.nav {
margin-top: 80px; /* Adjust this value for even larger screens */
}
}
nav a {
color: #fff;
text-decoration: none;
display: block;
padding: 10px;
border-bottom: 1px solid #00274D;
}
nav a:hover {
background-color: #00274D;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
.show-menu {
display: block;
}
footer {
background: #001f4d;
color: #fff;
text-align: center;
padding: 1%;
font-size: 80%;
position: relative;
bottom: 0;
width: 100%;
}
#backToTopBtn {
position: fixed;
bottom: 30px;
right: 20px;
z-index: 99;
border: 0;
background-color: rgba(0, 31, 77, 0.6);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
color: white;
cursor: pointer;
padding: 15px 18px;
border-radius: 50%;
}
#backToTopBtn:hover {
background-color: #555;
}
/* Media Query for Mobile Devices */
@media (max-width: 600px) {
.heading-container {
text-align: right; /* Align text to the left on smaller screens */
}
.menu-icon {
padding: 5px;
}
.menu-icon div {
margin: 4px 0;
}
}
.arrow-up {
border: solid white;
border-width: 0 3px 3px 0;
display: inline-block;
padding: 2.5px;
transform: rotate(-135deg);
-webkit-transform: rotate(-135deg);
}
</style>
</head>
<body>
<header>
<div class="menu-icon" onclick="toggleMenu()">
<div></div>
<div></div>
<div></div>
</div>
<img class="logo" width=60 src="logo_arsd.jpg">
<div class="heading-container">
<h5 class="heading">आत्मा राम सनातन धर्म महाविद्यालय</h5>
<h5 class="heading">Atma Ram Sanatan Dharma College</h5>
<h5 class="heading">University of Delhi</h5>
</div>
</header>
<nav id="navbar">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="About Us.html">About Us</a></li>
<li><a href="student registeration form.html
">Student Registration</a></li>
<li><a href="Contact Us.html">Contact Us</a></li>
</ul>
</nav>
<br><br><br><br><br><br>
<div style="padding: 2.5%;">
<marquee style="background-color: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); border-radius: 8px; padding: 8px; border: 2px solid #0047AB;">
Atma Ram Sanatan Dharma College is a prestigious institution committed to providing quality education and fostering holistic development. Our college offers a diverse range of courses and activities to nurture the intellectual and personal growth of our students.
</marquee>
<br><br><br>
<center><img width=100% src="https://static.theprint.in/wp-content/uploads/2023/06/Untitled-design-2023-06-08T174.png"></center>
<br><br>
<u><div style="background: linear-gradient(135deg, #CCFFCC 0%, #FFFFCC 100%); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); border-top-right-radius: 20px; border-bottom-right-radius: 20px; margin-left: 0%; padding: 10px;">
<h3 style="margin-left: 10px; margin-top: 10px;">About Us</h3></u>
<p style="margin-left: 10px; margin-right: 10px; text-align: justify; margin-bottom: 10px;">
Atma Ram Sanatan Dharma College is a premier educational institution of Delhi University which aims to nurture excellence in education. It emphasizes on fostering the quality of human resources and promoting productive ideas that benefit the students...<a href="About Us.html">Read more</a>
</p></div>
<br>
<div style="background: linear-gradient(135deg, #FFCCCC 0%, #FFFFCC 100%); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); border-top-left-radius: 20px; border-bottom-left-radius: 20px; margin-left: 0%; padding: 10px;">
<u><h3 style="margin-left: 10px; margin-top: 10px;">Faculty</h3></u>
<p style="margin-left: 10px; margin-right: 10px; text-align: justify; margin-bottom: 10px;">
Our faculty members are experts in their respective fields, bringing a wealth of knowledge and experience to the classroom. We are proud to have a team of educators who are passionate about shaping the future leaders of tomorrow.
</p>
</div>
<br>
<div class="container">
<h2 style="text-align: left;" class="spotlight-heading"><u>Alumni Spotlight</u></h2>
<div class="box">
<img align='left' src="https://www.thestatesman.com/wp-content/uploads/2017/10/20622081_1586582224726324_4625817859807715710_n.jpg" alt="Rajkumar Rao">
<h3>Rajkumar Rao</h3>
<p>Indian Actor</p>
</div>
<div class="box">
<img align='left' src="https://tfipost.com/wp-content/uploads/2022/01/Jaspreet_Jasz_singing-e1644036353530-600x375.jpg" alt="Jaspreet Jasz">
<h3>Jaspreet Jasz</h3>
<p>Indian Singer</p>
</div>
<div class="box">
<img align='left' src="https://img.etimg.com/thumb/width-640,height-480,imgsize-39652,res5200,resizemode-75,msid-92614127/news/new-updates/sudhir-chaudhary-quits-as-chief-executive-officer-of-zee-media-to-start-his-own-venture/1.jpg" alt="Sudhir Chaudhary">
<h3>Sudhir Chaudhary</h3>
<p>Editor of Aaj Tak</p>
</div>
<div class="box">
<img align='left' src="https://source.boomplaymusic.com/group10/M00/01/05/ba8372ddd3c5460f87b9afaa48137c40_464_464.webp" alt="Maithili Thakur">
<h3>Maithili Thakur</h3>
<p>Indian Singer</p>
</div>
</div>
<br>
</div>
<footer><br>
<img width=80 src="du100logo.png" alt='100 years of DU'>
<div>
<u><h3>Follow us on:</h3></u>
<a href="https://m.facebook.com/ARSDCOLLEGE.DU/" target="_blank" style="margin: 0 10px; color: #fff; text-decoration: none;">
<img src="https://upload.wikimedia.org/wikipedia/commons/5/51/Facebook_f_logo_%282019%29.svg" alt="Facebook" width="24">
</a>
<a href="https://x.com/arsdcollegedu?lang=en" target="_blank" style="margin: 0 10px; color: #fff; text-decoration: none;">
<img src="https://upload.wikimedia.org/wikipedia/commons/6/6f/Logo_of_Twitter.svg" alt="Twitter" width="24">
</a>
<a href="https://www.instagram.com/_arsdcollege_/?hl=en" target="_blank" style="margin: 0 10px; color: #fff; text-decoration: none;">
<img src="https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png" alt="Instagram" width="24">
</a>
<a href="https://www.linkedin.com/school/atma-ram-sanatan-dharma-college/" target="_blank" style="margin: 0 10px; color: #fff; text-decoration: none;">
<img src="https://upload.wikimedia.org/wikipedia/commons/c/ca/LinkedIn_logo_initials.png" alt="LinkedIn" width="24">
</a>
<br><br><br>
<a href="https://harshna044.github.io/Harsh-ARSD-Website-Project/index.html" style="margin: 0 1%; text-decoration: none; color:#fff;">Home</a><span>|</span>
<a href="https://harshna044.github.io/Harsh-ARSD-Website-Project/About%20Us.html" style="margin: 0 1%; text-decoration: none; color:#fff;">About Us</a><span>|</span>
<a href="https://harshna044.github.io/Harsh-ARSD-Website-Project/student%20registeration%20form.html" style="margin: 0 1%; text-decoration: none; color:#fff;">Student Registration</a><span>|</span>
<a href="https://harshna044.github.io/Harsh-ARSD-Website-Project/Contact%20Us.html" style="margin: 0 1%; text-decoration: none; color:#fff;">Contact Us</a>
<p style="margin-top: 10px;">Copyright © 2024 by ARSD College. All rights reserved.</p>
<p>Created by Harsh (BSc CS Prog.)</p>
</div>
</footer>
<button id="backToTopBtn"><span class="arrow-up"></span></button>
<script>
function toggleMenu() {
var navbar = document.getElementById("navbar");
if (navbar.classList.contains("show-menu")) {
navbar.classList.remove("show-menu");
} else {
navbar.classList.add("show-menu");
}
}
document.addEventListener("DOMContentLoaded", function() {
var backToTopButton = document.getElementById("backToTopBtn");
window.onscroll = function() {
scrollFunction();
};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
backToTopButton.style.display = "block";
} else {
backToTopButton.style.display = "none";
}
}
backToTopButton.addEventListener("click", function() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
});
});
</script>
</body>
</html>