-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
410 additions
and
200 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
html,body{ | ||
margin: 0; | ||
padding: 0; | ||
background-color: rgb(249,249,249); | ||
font-family: 'sans-serif'; | ||
} | ||
|
||
.title{ | ||
text-align: center; | ||
font-size: 4.5em; | ||
padding: 5px; | ||
margin-top: 6vh; | ||
letter-spacing: 0.2em; | ||
} | ||
|
||
.jumbo-container{ | ||
margin-top: 5vh; | ||
} | ||
|
||
.welcomehead{ | ||
font-size: 3em; | ||
} | ||
|
||
.first-scholarship{ | ||
margin-top: 3vh; | ||
} | ||
|
||
.scholarship-name{ | ||
font-size: 1.7em; | ||
} | ||
|
||
.scholarship-details{ | ||
margin-left: 2vw; | ||
margin-top: 2vh; | ||
font-size: 1.1em; | ||
} | ||
|
||
@media only screen and (max-width: 500px) { | ||
|
||
.title{ | ||
font-size: 2.5em; | ||
} | ||
|
||
.jumbo-container{ | ||
margin-top: 2vh; | ||
} | ||
|
||
.welcomehead{ | ||
font-size: 2em; | ||
} | ||
|
||
.scholarship-name{ | ||
font-size: 1.46em; | ||
} | ||
|
||
.scholarship-details{ | ||
font-size: 1em; | ||
} | ||
|
||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
const part_1 = document.querySelector('.part-1'); | ||
const part_2 = document.querySelector('.part-2'); | ||
const part_3 = document.querySelector('.part-3'); | ||
const main = document.querySelector('.main'); | ||
|
||
main.addEventListener('click',hideContent); | ||
|
||
function hideContent(e){ | ||
let val; | ||
if(e.target.tagName != 'I') return | ||
val = e.target.getAttribute('data-id') | ||
switch(val){ | ||
case '1': part_1.classList.toggle("hide") | ||
e.target.classList.toggle('fa-caret-down'); | ||
e.target.classList.toggle('fa-caret-up'); | ||
break; | ||
case '2': part_2.classList.toggle("hide") | ||
e.target.classList.toggle('fa-caret-down'); | ||
e.target.classList.toggle('fa-caret-up'); | ||
break; | ||
case '3': part_3.classList.toggle("hide") | ||
e.target.classList.toggle('fa-caret-down'); | ||
e.target.classList.toggle('fa-caret-up'); | ||
break; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
extends ./layout.pug | ||
|
||
block append head | ||
title Home | Scholarship Portal | ||
link(rel='stylesheet', href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css', integrity='sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u', crossorigin='anonymous') | ||
link(rel="stylesheet", href="/css/home.css") | ||
|
||
block content | ||
h1.title Scholarship Portal | ||
.container.jumbo-container | ||
.jumbotron.jumbo-class | ||
h3(class="welcomehead") Welcome to NITT Scholarship Portal | ||
div | ||
.row | ||
.col-md-1 | ||
.col-md-9 | ||
div(class="scholarship-name first-scholarship") Abundant Cauvery Delta Education Fund Scholarship | ||
div(class="scholarship-details") Abundant Cauvery Delta Education Fund Scholarship Scholarship is awarded by Abundant Cauvery Delta Foundation (a Trust run by 1980 RECT Batch of Alumni). The scholarship amount is Rs.75,000/- per student, per academic year. | ||
hr.mt-auto.mb-0(style='background: #bbb; height: 1px; width: 100%; border: 0') | ||
.col-md-2 | ||
.row | ||
.col-md-1 | ||
.col-md-9 | ||
div(class="scholarship-name") RECAL Scholarships to the Students | ||
div(class="scholarship-details") Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eligendi non quis exercitationem culpa nesciunt nihil aut nostrum explicabo reprehenderit optio amet ab temporibus asperiores quasi cupiditate. Voluptatum ducimus voluptates voluptas? | ||
hr.mt-auto.mb-0(style='background: #bbb; height: 1px; width: 100%; border: 0') | ||
.col-md-2 | ||
.row | ||
.col-md-1 | ||
.col-md-9 | ||
div(class="scholarship-name") Student Aid Fund | ||
div(class="scholarship-details") Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eligendi non quis exercitationem culpa nesciunt nihil aut nostrum explicabo reprehenderit optio amet ab temporibus asperiores quasi cupiditate. Voluptatum ducimus voluptates voluptas? | ||
hr.mt-auto.mb-0(style='background: #bbb; height: 1px; width: 100%; border: 0') | ||
.col-md-2 | ||
.row | ||
.col-md-1 | ||
.col-md-9 | ||
div(class="scholarship-name") Silver 72 | ||
div(class="scholarship-details") Silver 72 Scholarship is Instituted by 1972 batch of Alumni. NITT Students are awarded merit / need-based scholarship every year. | ||
.col-md-2 | ||
div(style="text-align: center;") | ||
button(class="btn btn-success") Register |
Empty file.
Oops, something went wrong.