Skip to content

Commit dfc3496

Browse files
committed
Added Schedule and 'An IEEE IES SCLA funded event' in the title
Signed-off-by: Akhil T <akhilneelamparambil@gmail.com>
1 parent 619cba5 commit dfc3496

3 files changed

Lines changed: 182 additions & 1 deletion

File tree

documents/NSRC Schedule.pdf

13.8 MB
Binary file not shown.

index.html

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<div class="hero-text">
125125
<div class="main">
126126
<h1>
127-
National Symposium &<br />Research Colloquium 2025<br />
127+
National Symposium &<br />Research Colloquium (NSRC) 2025<br /> (An IEEE IES SCLA funded event)<br />
128128
</h1>
129129
<h2>
130130
Organised by IEEE SB NITC in association with<br />
@@ -136,6 +136,7 @@ <h2>
136136
<span class="date">October 4-5</span>
137137
<span class="location">| NIT, Calicut</span>
138138
</p>
139+
<button class="view-schedule-btn" onclick="openScheduleModal()">View Schedule</button>
139140
</div>
140141
</div>
141142

@@ -768,7 +769,41 @@ <h6 class="text-center mb-5 font-sizes-orange special-1">
768769
const sidebar = document.querySelector(".sidebar");
769770
sidebar.style.display = "none";
770771
}
772+
773+
function openScheduleModal() {
774+
document.getElementById('scheduleModal').style.display = 'block';
775+
}
776+
777+
function closeScheduleModal() {
778+
document.getElementById('scheduleModal').style.display = 'none';
779+
}
780+
781+
// Close modal when clicking outside of it
782+
window.onclick = function(event) {
783+
const modal = document.getElementById('scheduleModal');
784+
if (event.target == modal) {
785+
modal.style.display = 'none';
786+
}
787+
}
771788
</script>
772789
<script src="script.js"></script>
790+
791+
<!-- PDF Modal -->
792+
<div id="scheduleModal" class="modal">
793+
<div class="modal-content">
794+
<div class="modal-header">
795+
<h2>NSRC 2025 Schedule</h2>
796+
<span class="close" onclick="closeScheduleModal()">&times;</span>
797+
</div>
798+
<div class="modal-body">
799+
<embed src="documents/NSRC Schedule.pdf" type="application/pdf" width="100%" height="100%" />
800+
<p style="text-align: center; margin-top: 10px;">
801+
<a href="documents/NSRC Schedule.pdf" target="_blank" style="color: #ff6b35; text-decoration: none;">
802+
Open in new tab
803+
</a>
804+
</p>
805+
</div>
806+
</div>
807+
</div>
773808
</body>
774809
</html>

styles.css

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,147 @@ nav li:first-child {
284284
font-family: "Montserrat", serif;
285285
}
286286

287+
.view-schedule-btn {
288+
background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
289+
border: none;
290+
color: white;
291+
padding: 12px 30px;
292+
font-size: 16px;
293+
font-weight: 600;
294+
font-family: "Montserrat", sans-serif;
295+
border-radius: 25px;
296+
cursor: pointer;
297+
margin-top: 20px;
298+
transition: all 0.3s ease;
299+
box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
300+
}
301+
302+
.view-schedule-btn:hover {
303+
transform: translateY(-2px);
304+
box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
305+
background: linear-gradient(90deg, #f7931e 0%, #ff6b35 100%);
306+
}
307+
308+
.view-schedule-btn:active {
309+
transform: translateY(0);
310+
box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
311+
}
312+
313+
/* Modal Styles */
314+
.modal {
315+
display: none;
316+
position: fixed;
317+
z-index: 1000;
318+
left: 0;
319+
top: 0;
320+
width: 100%;
321+
height: 100%;
322+
overflow: auto;
323+
background-color: rgba(0, 0, 0, 0.8);
324+
}
325+
326+
.modal-content {
327+
background-color: #1a1a1a;
328+
margin: 1% auto;
329+
padding: 0;
330+
border: none;
331+
width: 90%;
332+
max-width: 1000px;
333+
height: 95vh;
334+
border-radius: 10px;
335+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
336+
display: flex;
337+
flex-direction: column;
338+
}
339+
340+
.modal-header {
341+
padding: 20px;
342+
background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
343+
color: white;
344+
border-radius: 10px 10px 0 0;
345+
display: flex;
346+
justify-content: space-between;
347+
align-items: center;
348+
}
349+
350+
.modal-header h2 {
351+
margin: 0;
352+
font-family: "Montserrat", sans-serif;
353+
font-size: 24px;
354+
font-weight: 600;
355+
}
356+
357+
.close {
358+
color: white;
359+
font-size: 28px;
360+
font-weight: bold;
361+
cursor: pointer;
362+
line-height: 1;
363+
}
364+
365+
.close:hover,
366+
.close:focus {
367+
color: #ccc;
368+
text-decoration: none;
369+
}
370+
371+
.modal-body {
372+
padding: 20px;
373+
background-color: #1a1a1a;
374+
border-radius: 0 0 10px 10px;
375+
flex: 1;
376+
display: flex;
377+
flex-direction: column;
378+
}
379+
380+
.modal-body embed {
381+
border-radius: 5px;
382+
background-color: white;
383+
flex: 1;
384+
min-height: 0;
385+
}
386+
387+
/* Modal responsive styles */
388+
@media (max-width: 768px) {
389+
.modal-content {
390+
width: 95%;
391+
margin: 1% auto;
392+
height: 97vh;
393+
}
394+
395+
.modal-header {
396+
padding: 15px;
397+
}
398+
399+
.modal-header h2 {
400+
font-size: 20px;
401+
}
402+
403+
.modal-body {
404+
padding: 15px;
405+
}
406+
}
407+
408+
@media (max-width: 480px) {
409+
.modal-content {
410+
width: 98%;
411+
margin: 0.5% auto;
412+
height: 98vh;
413+
}
414+
415+
.modal-header {
416+
padding: 12px;
417+
}
418+
419+
.modal-header h2 {
420+
font-size: 18px;
421+
}
422+
423+
.modal-body {
424+
padding: 12px;
425+
}
426+
}
427+
287428
.hero-text h1 {
288429
font-size: 35px;
289430
font-weight: 700;
@@ -330,6 +471,11 @@ nav li:first-child {
330471
font-size: 12px;
331472
margin-bottom: 10px;
332473
}
474+
.view-schedule-btn {
475+
padding: 10px 25px;
476+
font-size: 14px;
477+
margin-top: 15px;
478+
}
333479
.date,
334480
.location {
335481
font-size: 10px;

0 commit comments

Comments
 (0)