120 lines
1.9 KiB
SCSS
120 lines
1.9 KiB
SCSS
@font-face {
|
|
font-family: itrFont;
|
|
src: url("../../public/LeagueSpartan-ExtraBold.ttf");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: itrFontMedium;
|
|
src: url("../../public/LeagueSpartan-Medium.ttf");
|
|
}
|
|
|
|
.navbar {
|
|
width: 100vw;
|
|
height: 70px;
|
|
top: 0px;
|
|
left: 0px;
|
|
position: fixed;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: transparent;
|
|
overflow: hidden;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
z-index: 1000;
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.navbar-logo {
|
|
width: 100px;
|
|
height: 60%;
|
|
color: white;
|
|
font-size: 50px;
|
|
font-family: itrFont;
|
|
transition: 0.5s;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
margin-left: 30px;
|
|
margin-right: 0px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.navbar-logo:hover {
|
|
color: red;
|
|
}
|
|
|
|
.navbar-links {
|
|
width: auto;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.navbar-link,
|
|
.navbar-hamburger {
|
|
width: auto;
|
|
height: 70%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
color: rgb(216 216 216);
|
|
text-decoration: none;
|
|
font-family: itrFontMedium;
|
|
font-size: 20px;
|
|
transition: 0.3s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.navbar-link:hover,
|
|
.navbar-hamburger:hover {
|
|
color: white;
|
|
}
|
|
|
|
.navbar-hamburger {
|
|
border: none;
|
|
width: 100px;;
|
|
font-size: 40px;
|
|
margin-right: 30px;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
@media screen and (width <=912px) {
|
|
// Tablets
|
|
}
|
|
|
|
@media screen and (width <=650px) {
|
|
// Phones
|
|
}
|
|
|
|
@keyframes navbar-logo {
|
|
|
|
0%,
|
|
100% {
|
|
background-position: 0 0;
|
|
}
|
|
|
|
50% {
|
|
background-position: 100% 0;
|
|
}
|
|
}
|
|
|
|
@keyframes glow {
|
|
0% {
|
|
background-position: 0 0;
|
|
}
|
|
|
|
50% {
|
|
background-position: 400% 0;
|
|
}
|
|
|
|
100% {
|
|
background-position: 0 0;
|
|
}
|
|
} |