Files
front-AT/app/Components/layout/Header/Header.module.css
T

116 lines
1.8 KiB
CSS
Raw Normal View History

2025-09-02 19:50:17 -04:00
.logo {
2025-09-24 14:05:51 -06:00
position: relative;
z-index: 3;
2025-12-08 18:02:33 -06:00
object-fit: contain;
2025-10-29 14:28:50 -06:00
}
2025-12-08 18:02:33 -06:00
.logoContainer {
position: relative;
width: 100%;
max-width: 250px;
min-width: 200px;
height: auto;
aspect-ratio: 250/70;
2025-09-02 19:50:17 -04:00
}
.cedetecContainer {
2025-09-24 14:05:51 -06:00
position: absolute;
top: 0;
right: 0;
2025-12-08 18:02:33 -06:00
width: 300px;
2025-09-24 14:05:51 -06:00
height: 100%;
z-index: -1;
2025-09-02 19:50:17 -04:00
}
.cedetecContainer::after {
2025-09-24 14:05:51 -06:00
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to right, #f9f9f9, rgba(128, 128, 128, 0));
2025-09-02 19:50:17 -04:00
}
.yellowPart {
2025-09-24 14:05:51 -06:00
position: absolute;
content: "";
top: 0;
left: -20px;
2025-10-29 14:28:50 -06:00
width: 100%;
height: 30px;
background: linear-gradient(to right, #bd8c01 40%, #fff 100%);
2025-09-24 14:05:51 -06:00
transform: skew(-45deg);
z-index: 0;
2025-09-02 19:50:17 -04:00
}
2025-09-24 17:51:54 -06:00
2025-12-08 18:02:33 -06:00
.header {
width: 100vw;
background-color: #fff;
display: grid;
grid-template-columns: auto 1fr;
padding: 0 10px;
position: relative;
z-index: 1;
align-items: end;
}
.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;
}
.containerBarNav {
display: flex;
width: 100%;
height: 100%;
padding-left: 110px;
max-height: 60%;
align-items: end;
}
2025-09-24 17:51:54 -06:00
@media (max-width: 800px) {
.yellowPart {
2025-12-08 18:02:33 -06:00
left: 0;
2025-09-24 17:51:54 -06:00
background: #bd8c01;
2025-12-08 18:02:33 -06:00
transform: skew(0deg);
}
.header::after {
left: -100px;
}
.header::before {
left: -80px;
}
}
@media (max-width: 400px) {
.header::after {
min-width: 100%;
transform: skew(25deg);
}
.header::before {
min-width: 100%;
transform: skew(25deg);
}
.containerBarNav {
padding-left: 0;
2025-09-24 17:51:54 -06:00
}
}