80 lines
No EOL
1.4 KiB
CSS
80 lines
No EOL
1.4 KiB
CSS
header{
|
|
position: absolute;
|
|
padding: 0 20px;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 10vh;
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 1.5vh 0;
|
|
}
|
|
|
|
.hamburger{
|
|
position: absolute;
|
|
display: none;
|
|
flex-direction: column;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hamburger span{
|
|
width: 25px;
|
|
height: 3px;
|
|
background-color: white;
|
|
margin: 4px;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.hamburger.open span:nth-child(1){
|
|
transform: rotate(45deg) translate(5px, 10px);
|
|
}
|
|
.hamburger.open span:nth-child(2){
|
|
opacity: 0;
|
|
}
|
|
.hamburger.open span:nth-child(3){
|
|
transform: rotate(-45deg) translate(5px, -10px);
|
|
}
|
|
|
|
|
|
|
|
.nav-links{
|
|
position: absolute;
|
|
display: flex;
|
|
gap: 15px;
|
|
width: 25vw;
|
|
height: 5vh;
|
|
}
|
|
|
|
.nav-btn{
|
|
background-color: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.header-logo{
|
|
margin:auto;
|
|
width: 250px;
|
|
height: 5vh;
|
|
background-image: url(../../public/img/logo.png);
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
background-color: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.login-button .header-login-button{
|
|
position: absolute;
|
|
top: 2.5vh;
|
|
right: 1vw;
|
|
padding: 10px 20px;
|
|
background-color: var(--input-button-color);
|
|
color: var(--text-color);
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.login-button button:hover {
|
|
background-color: var(--input-button-hover-color);
|
|
} |