-
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
4 changed files
with
410 additions
and
9 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
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,292 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;600&display=swap'); | ||
|
||
@font-face { | ||
font-family: JFont; | ||
src: url(../assets/Fonts/Thunder-VF.ttf); | ||
} | ||
|
||
*{ | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
html { | ||
--scroll-behavior: smooth; | ||
scroll-behavior: smooth; | ||
scroll-padding-top: 50px; | ||
} | ||
|
||
body { | ||
background-color: #ffffff; | ||
color: #000000; | ||
} | ||
body::after{ | ||
content: ''; | ||
height: 2px; | ||
position: fixed; | ||
top: calc(50% - 1px); | ||
left: 0; | ||
right: 0; | ||
background-color: #892222; | ||
z-index: 10; | ||
opacity: 0; | ||
} | ||
|
||
nav div.burgerNav-container{ | ||
opacity: 0; | ||
width: 0; | ||
} | ||
|
||
nav .link{ | ||
overflow: hidden; | ||
opacity: 0; | ||
height: 0; | ||
} | ||
|
||
nav div.verticalnav-container{ | ||
opacity: 1; | ||
width: 100%; | ||
} | ||
|
||
nav{ | ||
height: 50px; | ||
position: -webkit-sticky; /* Safari */ | ||
position: sticky; | ||
top: 0; | ||
overflow: hidden; | ||
background-color: #000000; | ||
z-index: 10; | ||
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; | ||
} | ||
|
||
nav ul { | ||
font-family: 'Roboto', sans-serif; | ||
height: 50px; | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-around; | ||
align-items: center; | ||
width: 100%; | ||
} | ||
|
||
nav ul li{ | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: center; | ||
list-style: none; | ||
font-size: 20px; | ||
} | ||
|
||
nav ul li a{ | ||
padding: 0px 10px; | ||
margin: 0px 10px; | ||
color: #fff; | ||
text-decoration: none; | ||
float: left; | ||
transition: all ease-in-out .2s; | ||
border:none; | ||
position: relative; | ||
} | ||
|
||
nav ul a::after{ | ||
content: ''; | ||
position: absolute; | ||
width: 0px; | ||
height: 2px; | ||
left: 50%; | ||
bottom:0; | ||
margin-top: 1px; | ||
background-color: rgb(255, 255, 255); | ||
transition: all ease-in-out .3s; | ||
} | ||
|
||
nav ul li:hover a:after{ | ||
width: 100%; | ||
left: 0; | ||
} | ||
|
||
header div.main-content { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: center; | ||
height: 90vh; | ||
} | ||
|
||
header div.arrow { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
} | ||
|
||
@keyframes arrowAnimation{ | ||
0%{ | ||
transform: translateY(0px); | ||
} | ||
50%{ | ||
transform: translateY(-50px); | ||
} | ||
100%{ | ||
transform: translateY(0px); | ||
} | ||
} | ||
|
||
header div.arrow a svg{ | ||
color: #fff; | ||
animation: arrowAnimation 2s ease-in-out infinite; | ||
} | ||
|
||
span { | ||
font-size: 500px; | ||
font-weight: bold; | ||
font-family: JFont; | ||
} | ||
|
||
@media screen and (max-width: 1200px) { | ||
span { | ||
font-size: 300px; | ||
} | ||
} | ||
|
||
@media screen and (max-width: 900px) { | ||
span { | ||
font-size: 200px; | ||
} | ||
} | ||
|
||
@media screen and (max-width: 480px) { | ||
nav{ | ||
height: auto; | ||
} | ||
nav div.burgerNav-container{ | ||
opacity: 1; | ||
width: 100%; | ||
} | ||
|
||
nav ul { | ||
height: 0px; | ||
} | ||
|
||
nav div.verticalnav-container{ | ||
overflow: hidden; | ||
opacity: 0; | ||
width: 0; | ||
} | ||
|
||
nav .burguerNav{ | ||
width: 100%; | ||
height: 50px; | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
nav .burguerNav a{ | ||
text-align: center; | ||
font-family: 'Roboto', sans-serif; | ||
text-decoration: none; | ||
color: rgb(255, 255, 255); | ||
margin-top: 15px; | ||
margin-bottom: 15px; | ||
} | ||
|
||
nav .burguerNav .burguer{ | ||
right: 15px; | ||
top: 0px; | ||
position: absolute; | ||
height: 50px; | ||
width: 50px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-end; | ||
justify-content: center; | ||
} | ||
|
||
nav .burguerNav .burguer .bar{ | ||
position: absolute; | ||
width: 30px; | ||
height: 3px; | ||
background-color: #fff; | ||
border-radius: 5px; | ||
transition: ease-in .3s; | ||
} | ||
|
||
nav .burguerNav .burguer .up{ | ||
transform: translateY(-10px); | ||
} | ||
|
||
nav .burguerNav .burguer .mid{ | ||
width: 25px; | ||
opacity: 1; | ||
} | ||
|
||
nav .burguerNav .burguer .down{ | ||
transform: translateY(10px); | ||
} | ||
|
||
nav .burguerNav .burguer .up.active{ | ||
width: 30px; | ||
transform: rotateZ(-45deg); | ||
} | ||
|
||
nav .burguerNav .burguer .mid.active{ | ||
opacity: 0; | ||
} | ||
|
||
nav .burguerNav .burguer .down.active{ | ||
width: 30px; | ||
transform: rotateZ(45deg); | ||
} | ||
|
||
nav .link{ | ||
overflow: hidden; | ||
opacity: 0; | ||
height: 0; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
transition: ease-in-out .3s; | ||
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;; | ||
} | ||
|
||
nav .link.active{ | ||
opacity: 1; | ||
height: auto; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; | ||
} | ||
|
||
nav .link a{ | ||
font-family: 'Roboto', sans-serif; | ||
text-decoration: none; | ||
color: #ffffff; | ||
transition: ease .3s; | ||
padding: 1px 10px; | ||
margin: 5px 1px; | ||
position: relative; | ||
} | ||
|
||
nav .link a::after{ | ||
content: ''; | ||
position: absolute; | ||
width: 0px; | ||
height: 2px; | ||
left: 50%; | ||
bottom:0; | ||
margin-top: 1px; | ||
background-color: rgb(255, 255, 255); | ||
transition: all ease-in-out .3s; | ||
} | ||
|
||
nav .link a:hover::after{ | ||
width: 100%; | ||
left: 0; | ||
} | ||
} |
Oops, something went wrong.