-
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.
Added the Navbar en footer to the contactpage
- Loading branch information
Showing
5 changed files
with
322 additions
and
147 deletions.
There are no files selected for viewing
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,65 @@ | ||
.footer { | ||
padding: 2rem 3rem; | ||
background-image: linear-gradient(#c5c5c550, #91919150); | ||
border-radius: 25px; | ||
} | ||
|
||
.footer-nav { | ||
list-style: none; | ||
display: flex; | ||
justify-content: center; | ||
margin-bottom: 5rem; | ||
} | ||
|
||
.footer-item { | ||
margin-right: 2.5%; | ||
margin-left: 2.5%; | ||
} | ||
|
||
.footer-link { | ||
font-size: 1.6rem; | ||
color: rgb(0, 0, 0); | ||
text-decoration: none; | ||
} | ||
|
||
.footer-link:hover { | ||
color: rgb(116, 116, 116); | ||
} | ||
|
||
.footer-logo { | ||
height: 8rem; | ||
display: block; | ||
margin: 0 auto; | ||
margin-bottom: 5rem; | ||
} | ||
|
||
.footer-copyright { | ||
font-size: 1.4rem; | ||
color: rgb(0, 0, 0); | ||
text-align: center; | ||
} | ||
|
||
.footer-copyright .footer-link { | ||
font-size: 1.4rem; | ||
} | ||
|
||
@media only screen and (max-width: 768px) { | ||
.footer-link { | ||
font-size: 1.2rem; | ||
} | ||
.footer-item { | ||
margin-right: 2rem; | ||
} | ||
.footer-logo { | ||
margin-bottom: 1rem; | ||
} | ||
.footer-nav { | ||
margin-bottom: 1rem; | ||
} | ||
.footer-copyright { | ||
font-size: 1.2rem; | ||
} | ||
.footer-copyright .footer-link { | ||
font-size: 1.2rem; | ||
} | ||
} |
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,104 @@ | ||
.nav-logo { | ||
height: 8rem; | ||
width: auto; | ||
} | ||
|
||
.nav-links { | ||
display: flex; | ||
align-items: center; | ||
list-style: none; | ||
} | ||
|
||
.center { | ||
transition: 0.3s; | ||
margin-left: 15px; | ||
width: 140px; | ||
height: 25px; | ||
background: #002ca56c; | ||
padding: 10px; | ||
text-align: center; | ||
border-radius: 5px; | ||
color: white; | ||
font-weight: bold; | ||
line-height: 25px; | ||
} | ||
|
||
.center:hover { | ||
background: #002ca59f; | ||
box-shadow: 0px 0px 2px 2px #888888; | ||
transition: 0.3s; | ||
} | ||
|
||
.nav-link:link, | ||
.nav-link:visited { | ||
font-size: 1.7rem; | ||
font-weight: 400; | ||
color: inherit; | ||
text-decoration: none; | ||
display: block; | ||
transition: all 0.3s; | ||
} | ||
|
||
.bar { | ||
display: block; | ||
width: 25px; | ||
height: 3px; | ||
margin: 5px auto; | ||
-webkit-transition: all 0.3s ease-in-out; | ||
transition: all 0.3s ease-in-out; | ||
background-color: #101010; | ||
} | ||
|
||
.hamburger { | ||
display: none; | ||
} | ||
|
||
.navbar { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
padding: 1rem 1.5rem; | ||
} | ||
|
||
/* Navbar for mobile */ | ||
@media only screen and (max-width: 768px) { | ||
.nav-links { | ||
position: fixed; | ||
right: -150%; | ||
top: 8rem; | ||
flex-direction: column; | ||
background-color: rgba(65, 65, 65, 0.637); | ||
width: 60%; | ||
border-radius: 10px; | ||
text-align: center; | ||
justify-content: center; | ||
transition: 0.3s; | ||
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); | ||
} | ||
|
||
.nav-links.active { | ||
right: 0; | ||
z-index: 3; | ||
} | ||
|
||
.center { | ||
margin: 2.5rem 0; | ||
} | ||
|
||
.hamburger { | ||
display: block; | ||
cursor: pointer; | ||
} | ||
|
||
.hamburger.active .bar:nth-child(2) { | ||
opacity: 0; | ||
} | ||
|
||
.hamburger.active .bar:nth-child(1) { | ||
transform: translateY(8px) rotate(45deg); | ||
} | ||
|
||
.hamburger.active .bar:nth-child(3) { | ||
transform: translateY(-8px) rotate(-45deg); | ||
} | ||
} |
Oops, something went wrong.