Skip to content

Commit

Permalink
adicionando responsividade no footer e na section ondeTrabalhamos
Browse files Browse the repository at this point in the history
  • Loading branch information
buuninbee committed Aug 15, 2023
1 parent 2a38ad4 commit edc0b53
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 4 deletions.
38 changes: 37 additions & 1 deletion css/global/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,42 @@ footer a:hover {
}

.qr-code{
grid-column: 2;
display: none;
}
}

@media (max-width:1200px) {
.card {
width: 140px;
justify-items: left;
justify-content: left;
}

.meios{
justify-content: right;
}
}

@media (max-width:919px) {
.conteudo-footer h2::after {
left: -92px;
top: -20px;
}

}

@media (max-width:780px) {
.conteudo-footer {
grid-template-columns: 1fr;
}

.meios{
justify-content: left;
grid-row: 2;
width: 100%;
}

.conteudo-footer h2{
grid-row: 3;
}
}
7 changes: 6 additions & 1 deletion css/global/header.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
.header-bg {
/* background: linear-gradient(180deg, #141414 20%, #182017 70%); */
background-color: #121b10;
padding: 14px 0;
}

.logo{
margin-top: 15px;
}

nav {
display: flex;
place-content: center;
align-items: center;
flex-wrap: wrap;
margin: 0 120px;
justify-content: space-between;
}
Expand Down
2 changes: 1 addition & 1 deletion css/home/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
align-content: center;
width: 80%;
height: 900px;
padding-left: 220px;
padding-left: 320px;
color: #fff;
}

Expand Down
18 changes: 18 additions & 0 deletions css/home/ondeTrabalhamos.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,22 @@
display: flex;
justify-content: center;
align-content: center;
}

@media (max-width: 900px) {
.bg-trabalhos{
grid-template-columns: 1fr;
gap: 32px;
}

.bg-trabalhos h2{
margin: 0;
padding: 0;
}

.bg-trabalhos p{
margin: 0;
padding-bottom: 10px;
max-width: 52ch;
}
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h2 class="titulo">Vacinamos mais de 4.288 crianças contra Hepatite B, Polio in
<div class="carousel-item slide3">
<div class="img-slide3">
<div class="text-img">
<h2 class="titulo">Lutamos para que até 2028 tenha mais de 100 escolas para os indígenas</h2>
<h2 class="titulo">Lutamos para que até 2028 tenha mais de 100 escolas nas aldeias indígenas</h2>
<button>
<div class="text">
<span>Ver</span>
Expand Down

0 comments on commit edc0b53

Please sign in to comment.