Skip to content

Commit

Permalink
[feat] Ajustando responsividade
Browse files Browse the repository at this point in the history
Ajustando o básico da responsividade para mínima boa visualização do banner
  • Loading branch information
LoriaLawrenceZ committed Jun 7, 2024
1 parent ec976f4 commit 242e43a
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ main{
.main-banner-container{
height: 90vh;
width: 100%;
flex-wrap: wrap;
}

/*-| Imagem |-*/
Expand All @@ -46,10 +47,12 @@ main{
.banner-text-container{
height: 90%;
width: 90%;
position: absolute;
position: relative;
flex-direction: column;
align-items: flex-start;
flex-wrap: wrap;
color: white;
transform: translateY(-100%);
}
.banner-text-title{
width: 80%;
Expand All @@ -60,8 +63,9 @@ main{
.btn-contact-container{
height: 80%;
width: 100%;
position: absolute;
position: relative;
align-items: flex-end;
transform: translateX(-80%);
}
.btn-contact{
padding: 1em 2em;
Expand All @@ -70,6 +74,7 @@ main{
background-color: var(--aqua-medio);
color: var(--azul-medio);
transition: .1s all ease-in-out;
font-size: 16px;
}

/*-----===| EFEITOS |===-----*/
Expand All @@ -82,8 +87,18 @@ main{
/*---=| BanneBanner |=---*/
@media (max-width: 1200px) {
.main-banner-container{ height: 75vh; }
.banner-text-title{
width: 100%;
font-size: 64px;
}
.btn-contact{ font-size: 14px; }
}

@media (max-width: 767px) {
.main-banner-container{ height: 50vh; }
.banner-text-title{
width: 80%;
font-size: 48px;
}
.btn-contact{ font-size: 12px; }
}

0 comments on commit 242e43a

Please sign in to comment.