Skip to content

Commit

Permalink
Update ambientef2.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Html-Czllt authored Jul 26, 2024
1 parent 9118e80 commit c850c59
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions ambientef2.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ body {
}

header {
background-color: #333;
color: #fff;
background-color: #2c2c2c; /* Fundo de elementos secundários */
color: #f5f5f5; /* Texto secundário e cabeçalhos */
padding: 20px;
text-align: center;
}
Expand All @@ -16,16 +16,30 @@ header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap; /* Adiciona flex-wrap para permitir que os itens quebrem linha */
}

.logo img {
border-radius: 50%;
box-shadow: #002fffad 0px 0px 20px;
max-width: 100px;
width: 100px;
height: auto;
margin-left: 20%;
}

/* Media query para telas menores */
@media (max-width: 768px) {
.header-container {
flex-direction: column; /* Altera a direção do flex para coluna em telas menores */
align-items: center; /* Centraliza os itens na coluna */
}

.logo img {
margin-left: 0; /* Remove a margem à esquerda */
margin-bottom: 20px; /* Adiciona margem inferior para separar a logo dos botões */
}
}


nav {
text-align: center;
Expand Down Expand Up @@ -284,4 +298,4 @@ footer {
flex-direction: column;
align-items: stretch;
}
}
}

0 comments on commit c850c59

Please sign in to comment.