69 lines
1.1 KiB
CSS
69 lines
1.1 KiB
CSS
.logo {
|
|
position: relative;
|
|
z-index: 3;
|
|
margin: 5px;
|
|
}
|
|
|
|
.logoContainer {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 250px;
|
|
min-width: 200px;
|
|
height: auto;
|
|
aspect-ratio: 250/70;
|
|
margin: 10px 5px;
|
|
|
|
}
|
|
|
|
.yellowPart {
|
|
position: absolute;
|
|
content: "";
|
|
top: 0;
|
|
left: -20px;
|
|
width: 100%;
|
|
height: 30px;
|
|
background: linear-gradient(to right, #bd8c01 40%, #fff 100%);
|
|
transform: skew(-45deg);
|
|
z-index: 0;
|
|
}
|
|
|
|
.header {
|
|
z-index: 1;
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
padding: 0 10px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.header::after {
|
|
content: "";
|
|
top: 0;
|
|
left: -60px;
|
|
position: absolute;
|
|
background-color: #003e79;
|
|
height: 100%;
|
|
min-width: 350px;
|
|
transform: skew(45deg);
|
|
z-index: 2;
|
|
}
|
|
|
|
.header::before {
|
|
content: "";
|
|
top: 0;
|
|
left: -40px;
|
|
position: absolute;
|
|
background-color: rgb(1, 92, 184);
|
|
height: 100%;
|
|
width: 10%;
|
|
min-width: 350px;
|
|
transform: skew(45deg);
|
|
z-index: 2;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.yellowPart {
|
|
background: #bd8c01;
|
|
}
|
|
} |