Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

major improvements in UI, improve UX #12

Merged
merged 9 commits into from
Jan 6, 2021
66 changes: 51 additions & 15 deletions public/css/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;1,300&display=swap');

body {
font-family: "Montserrat";
font-family: 'Open Sans', sans-serif;
background-color: #282a34 !important;
text-align: center;
}
Expand Down Expand Up @@ -54,39 +56,46 @@ body {
}

.nav-link {
font-size: 1.2rem;
font-family: "Monserrat-Light";
font-family: 'Open Sans', sans-serif;
font-size: 1.3rem;
margin: 1rem 0.5rem;
transition: all 0.2s ease;
}

.nav-link:hover {
background-color: #00acfc;
color: rgb(255, 255, 255);
}

#title .jumbotron{
padding: 0;
}

.bg-img{
height:40rem;
width: 100%;
height:40rem;
width: 100%;
}

.dropdown-item {
transition: all 0.3s ease;
}

/* Courses */
#courses .jumbotron{
margin: 1% 10%;
background-size: cover;
background-color: rgba(0,0,0,0) !important;
}
}

#courses .jumbotron h1{
#courses .jumbotron h1{
color:#fff;
}
}

/* cards */
.card{
background-color: #3C3F51 !important;
color:#fff;
box-shadow: 5px 5px 5px 2px #1c1e29;
transition: all 0.1s ease;
}

.card-description{
Expand All @@ -97,13 +106,13 @@ width: 100%;
.card-img{
height:15rem;
padding: 1rem 0;
/* border-radius: 40px !important; */
border-radius: 50% !important;
/* border-radius: calc(2rem - 25px) !important; */
}

/* card-buttons */
/* .course-btn{
text-align:center;
margin-left: 30%;
} */

/* .cdgrnd-btn{
Expand All @@ -118,7 +127,7 @@ width: 100%;
}

.modal-header, .modal-footer{
background-color: #282A34;
background-color: #282A34;
}

.modal-body{
Expand All @@ -130,13 +139,19 @@ background-color: #282A34;
.modal-body .list-group-item{
background-color: #E2336B;
color:#fff;
transition: 0.4s all ease;
}

.modal .list-group-item:hover{
background-color: #FCAC46;
color:#fff;
}

#staticBackdrop > div > div > div.modal-header > button > span {
color: aliceblue;
transition: 0.4s all ease;
}

/* scrollbar */
::-webkit-scrollbar {
width: 12px;
Expand Down Expand Up @@ -172,6 +187,12 @@ background-color: #282A34;

.fa {
color: #fff;
padding: 0 20px 0;
transition: all 0.2s ease;
}

.fa:hover {
color: #00acfc;
}

.footer-description hr {
Expand All @@ -183,11 +204,21 @@ ul.text-center{
margin: 0 !important;
}

.list-inline-item {
width: 2rem;
li.list-inline-item {
padding: 0 1em 0;
}

.copyright {
margin: 1em;
}

.copyright a{
color: #fff;
font-size: larger;
text-decoration: none;
transition: transform all 3s ease;


/* Glassmorphism */

.overlay-div {
Expand All @@ -205,6 +236,11 @@ ul.text-center{
/* border: 1px solid rgba( 255, 255, 255, 0.18 ); */
}

.copyright a:hover{
color: #fff;
text-decoration: none;
border-bottom: 1px solid #fff;
}

/* DEMO-SPECIFIC STYLES */
.typewriter h1 {
Expand Down Expand Up @@ -251,4 +287,4 @@ ul.text-center{
/* Decorations */
.col-3 {
color: #fff;
}
}
15 changes: 9 additions & 6 deletions views/partials/footer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@
<div class="row">
<div class="col-lg-12">
<ul class="text-center ">
<li class="list-inline-item"><a href="https://www.facebook.com"><i class="fa fa-facebook"></i></a></li>
<li class="list-inline-item"><a href="https://www.twitter.com"><i class="fa fa-twitter"></i></a></li>
<li class="list-inline-item"><a href="https://www.instagram.com"><i class="fa fa-instagram"></i></a></li>
<li class="list-inline-item"><a href="https://mail.google.com/mail/?view=cm&fs=1&to=[email protected]"
<li class="list-inline-item"><a href="https://www.facebook.com" target="_blank"><i class="fa fa-facebook"></i></a></li>
<li class="list-inline-item"><a href="https://www.twitter.com" target="_blank"><i class="fa fa-twitter"></i></a></li>
<li class="list-inline-item"><a href="https://www.instagram.com" target="_blank"><i class="fa fa-instagram"></i></a></li>
<li class="list-inline-item"><a href="mailto:[email protected]"
target="_blank"><i class="fa fa-envelope"></i></a></li>
</ul>
</div>
</div>
<div class=" text-center text-white">
<p class="h3"><u><a href="#">HashCode</a></u></p>
<p class="h5">© HashCode</p>
<p class="copyright">
© <a href="https://github.com/inaxia/hashcode_web">
HashCode
</a>
</p>
</div>
</div>

Expand Down
6 changes: 3 additions & 3 deletions views/partials/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@
Practice
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="https://repl.it/@NISHANTMISHRA6/ExtrovertedFamiliarOs?lite=true">C++</a>
<a class="dropdown-item" href="https://repl.it/@NISHANTMISHRA6/ExtrovertedFamiliarOs?lite=true" target="_blank">C++</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item"
href="https://repl.it/@NISHANTMISHRA6/ExtrovertedFamiliarOs?lite=true">Python</a>
href="https://repl.it/@NISHANTMISHRA6/ExtrovertedFamiliarOs?lite=true" target="_blank">Python</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item"
href="https://repl.it/@NISHANTMISHRA6/JoyfulJubilantCleaninstall?lite=true">Html</a>
href="https://repl.it/@NISHANTMISHRA6/JoyfulJubilantCleaninstall?lite=true" target="_blank">HTML</a>
</div>
</div>
</nav>
Expand Down