style(header): substituindo elementos HTML

This commit is contained in:
Ana Carolina Duarte Cavalcante 2022-12-29 09:47:14 -03:00
parent 7c02455aa7
commit c3586b5a99
3 changed files with 46 additions and 32 deletions

View File

@ -24,7 +24,7 @@ header {
}
.Logo {
width: 12.589%;
height: 25.86px;
height: 25.87px;
list-style: none;
display: flex;
@media (min-width: 2500px) {
@ -37,7 +37,7 @@ header {
height: 100%;
& img {
width: 100%;
height: 25.86px;
height: 25.87px;
@media (min-width: 2500px) {
height: 50.5px;
}
@ -135,10 +135,13 @@ header {
height: 43.01px;
display: flex;
justify-content: center;
padding-left: 0;
margin-top: 0;
margin-bottom: 0;
@media (min-width: 2500px) {
height: 60.01px;
}
.Nav__Bar {
.Nav__Bar {
padding-left: 0;
width: 84.378%;
display: flex;
@ -146,23 +149,32 @@ header {
@media (min-width: 2500px) {
width: 92.002%;
}
& li {
margin-right: 55px;
@media (min-width: 2500px) {
margin-right: 55.71px;
}
& a {
font-family: "Roboto";
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
color: $white;
text-decoration: none;
& ul {
display: flex;
align-items: center;
margin-top: 0;
margin-bottom: 0;
padding-left: 0;
& li:not(:nth-child(3n)) {
margin-right: 55px;
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
margin-right: 55.71px;
}
}
& li {
& a {
font-family: "Roboto";
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
color: $white;
text-decoration: none;
@media (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
}
}
}

View File

@ -8,9 +8,9 @@ const Header = () => {
<ul className={styles["Header__Top"]}>
<HeaderContentTop />
</ul>
<nav className={styles["Header__Bottom"]}>
<div className={styles["Header__Bottom"]}>
<HeaderContentBottom />
</nav>
</div>
</header>
);
};

View File

@ -3,17 +3,19 @@ import styles from "./Header.module.scss";
const HeaderContentBottom = () => {
return (
<>
<ul className={styles["Nav__Bar"]}>
<li>
<a href="/">Cursos</a>
</li>
<li>
<a href="/">Saiba Mais</a>
</li>
<li>
<a href="/">Institucionais</a>
</li>
</ul>
<nav className={styles["Nav__Bar"]}>
<ul>
<li>
<a href="/">Cursos</a>
</li>
<li>
<a href="/">Saiba Mais</a>
</li>
<li>
<a href="/">Institucionais</a>
</li>
</ul>
</nav>
</>
);
};