Skip to content

Instantly share code, notes, and snippets.

@douglasabnovato
Created March 19, 2025 23:01
Show Gist options
  • Save douglasabnovato/d2ea7775fc5c41dcc3fd7c3193d6d8b8 to your computer and use it in GitHub Desktop.
Save douglasabnovato/d2ea7775fc5c41dcc3fd7c3193d6d8b8 to your computer and use it in GitHub Desktop.
Estrutura v2 de css para lp de síndico
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
}
header {
background-color: #f2f2f2;
text-align: center;
padding: 20px;
}
#hero {
background-color: #333;
color: #fff;
display: flex;
align-items: center;
justify-content: space-around;
padding: 50px;
}
#hero img {
max-width: 300px;
border-radius: 50%;
}
#hero div {
max-width: 500px;
}
.botao {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
text-decoration: none;
display: inline-block;
}
section {
padding: 50px;
}
section h2 {
text-align: center;
margin-bottom: 30px;
}
#servicos ul {
list-style: none;
padding: 0;
}
#servicos li {
margin-bottom: 10px;
}
#depoimentos .depoimento {
background-color: #f2f2f2;
padding: 20px;
margin-bottom: 20px;
}
#contato form {
display: flex;
flex-direction: column;
max-width: 400px;
margin: 0 auto;
}
#contato input,
#contato textarea {
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px;
}
footer .redes-sociais img {
width: 30px;
margin: 0 10px;
}
/* Responsividade */
@media (max-width: 768px) {
#hero {
flex-direction: column;
text-align: center;
}
#hero img {
margin-bottom: 20px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment