88 lines
No EOL
2 KiB
CSS
Executable file
88 lines
No EOL
2 KiB
CSS
Executable file
.Header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--padding-default);
|
|
padding: var(--padding-default);
|
|
|
|
&:not(.lp) {
|
|
background: var(--color-main-darkest);
|
|
}
|
|
|
|
&.lp {
|
|
position: absolute;
|
|
background: rgba(0,0,0,.5);
|
|
backdrop-filter: blur(10px);
|
|
mask: linear-gradient(to top, transparent, black 30%);
|
|
width: 100%;
|
|
max-width: var(--page-max-width);
|
|
top: 0;
|
|
padding-bottom: var(--padding-xxl);
|
|
}
|
|
|
|
& .logo {
|
|
height: 40px;
|
|
}
|
|
|
|
& .burger-button {
|
|
all: unset;
|
|
color: var(--color-lightest);
|
|
}
|
|
|
|
& header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
font-weight: bold;
|
|
|
|
& a {
|
|
text-decoration: none;
|
|
color: var(--color-lightest);
|
|
}
|
|
|
|
& .header-text {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--padding-default);
|
|
|
|
& > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
& .big {
|
|
font-size: var(--font-size-xl);
|
|
}
|
|
|
|
& .small {
|
|
font-size: var(--font-size-s);
|
|
font-weight: 100;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:not(.lp) {
|
|
&:after, &:before {
|
|
content: '';
|
|
display: block;
|
|
position: absolute;
|
|
bottom: calc(-1 * var(--radius-border));
|
|
background: var(--color-blue-darkest);
|
|
width: var(--radius-border);
|
|
height: var(--radius-border);
|
|
}
|
|
|
|
&:after {
|
|
right: 0;
|
|
mask: radial-gradient(var(--radius-border) at 0 100%,#0000 98%,#000);
|
|
}
|
|
|
|
&:before {
|
|
left: 0;
|
|
mask: radial-gradient(var(--radius-border) at 100% 100%,#0000 98%,#000);
|
|
}
|
|
}
|
|
} |