2024-03-10 12:03:31 +01:00
|
|
|
#main-header {
|
2024-01-26 11:03:42 +01:00
|
|
|
position: fixed;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: calc(var(--unit--vertical) * 5);
|
|
|
|
|
padding: var(--unit--vertical) var(--unit--horizontal);
|
|
|
|
|
transition: height 0.2s ease-in-out;
|
|
|
|
|
}
|
2024-03-10 12:03:31 +01:00
|
|
|
#main-header.minimized {
|
2024-01-26 11:03:42 +01:00
|
|
|
height: calc(var(--unit--vertical) * 3);
|
|
|
|
|
}
|
|
|
|
|
#logo {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-10 12:03:31 +01:00
|
|
|
#main-header.open #actuel {
|
2024-01-26 11:03:42 +01:00
|
|
|
color: var(--color-background);
|
|
|
|
|
}
|
|
|
|
|
#logo #actuel {
|
|
|
|
|
color: var(--color-primary--transparent);
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
#logo #inactuel {
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 0;
|
|
|
|
|
color: var(--color-secondary);
|
|
|
|
|
bottom: -48%;
|
|
|
|
|
transition: bottom 0.2s ease-in-out;
|
|
|
|
|
}
|
2024-03-10 12:03:31 +01:00
|
|
|
#main-header.minimized #logo #inactuel {
|
2024-01-26 11:03:42 +01:00
|
|
|
bottom: 0%;
|
|
|
|
|
}
|
2024-03-10 12:03:31 +01:00
|
|
|
|
|
|
|
|
.page-cover {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
2024-03-10 19:24:24 +01:00
|
|
|
padding-top: calc(8 * var(--unit--vertical));
|
|
|
|
|
padding-bottom: calc(5 * var(--unit--vertical));
|
2024-03-10 12:03:31 +01:00
|
|
|
}
|
|
|
|
|
|
2024-03-10 19:24:24 +01:00
|
|
|
@media screen and (min-width: 640px) {
|
|
|
|
|
#main-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
#logo {
|
|
|
|
|
width: 37vw;
|
|
|
|
|
}
|
|
|
|
|
#logo * {
|
|
|
|
|
font-size: 11vw;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#main-header.minimized {
|
|
|
|
|
height: calc(var(--unit--vertical) * 4.3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-cover {
|
|
|
|
|
padding: calc(10 * var(--unit--vertical)) 0;
|
|
|
|
|
}
|
2024-03-10 12:03:31 +01:00
|
|
|
}
|