interstellar_ai/app/styles/header.css

103 lines
1.9 KiB
CSS
Raw Normal View History

2024-09-25 11:22:59 +02:00
header{
position: absolute;
padding: 0 20px;
2024-09-26 09:54:23 +02:00
top: 0;
2024-09-18 11:17:34 +02:00
left: 0;
2024-09-25 11:22:59 +02:00
width: 100%;
2024-09-27 16:48:17 +02:00
height: 10vh;
2024-09-24 14:54:39 +02:00
display: flex;
align-items: center;
2024-09-25 13:33:46 +02:00
font-size: 1em;
2024-09-30 10:46:03 +02:00
z-index: 999;
2024-09-18 11:17:34 +02:00
}
2024-09-24 14:54:39 +02:00
.hamburger{
2024-09-25 12:35:17 +02:00
position: absolute;
2024-09-24 14:54:39 +02:00
display: none;
2024-09-25 12:35:17 +02:00
flex-direction: column;
cursor: pointer;
2024-09-24 14:54:39 +02:00
}
2024-09-25 12:35:17 +02:00
.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);
}
2024-09-25 11:40:17 +02:00
.nav-links{
position: absolute;
2024-09-30 10:46:03 +02:00
left: 1vw;
2024-09-25 11:40:17 +02:00
display: flex;
2024-09-30 10:46:03 +02:00
gap: 0.5vw;
width:max-content;
2024-09-30 08:41:06 +02:00
height: 100%;
align-items: center;
2024-09-25 11:40:17 +02:00
}
.nav-btn{
2024-09-30 08:41:06 +02:00
background-color: var(--input-button-color);
2024-09-25 11:40:17 +02:00
border: none;
2024-09-25 13:33:46 +02:00
font-size: 0.9em;
2024-09-30 08:41:06 +02:00
height: 50%;
border-radius: 5px;
2024-09-30 10:46:03 +02:00
padding: 0.2em 15px;
font-family: var(--font-family);
2024-09-30 08:41:06 +02:00
}
.nav-btn:hover{
background-color: var(--input-button-hover-color);
2024-09-25 11:40:17 +02:00
}
.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;
}
2024-09-30 08:41:06 +02:00
.login-button-container{
2024-09-30 10:46:03 +02:00
position: absolute;
top: 0.2vh;
right: 1vw;
2024-09-30 08:41:06 +02:00
height: 100%;
display: flex;
align-items: center;
}
.header-login-button{
2024-09-30 10:46:03 +02:00
font-size: var(--font-size);
/* position: absolute;
2024-09-27 16:48:17 +02:00
top: 1.5vh;
2024-09-30 10:46:03 +02:00
right: 1vw; */
2024-09-25 11:22:59 +02:00
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;
2024-09-30 10:46:03 +02:00
font-family: var(--font-family);
2024-09-24 14:54:39 +02:00
}
2024-09-30 08:41:06 +02:00
.header-login-button:hover {
2024-09-25 11:22:59 +02:00
background-color: var(--input-button-hover-color);
2024-09-24 14:54:39 +02:00
}