Skip to content

Commit

Permalink
alterando cor do formulario
Browse files Browse the repository at this point in the history
  • Loading branch information
0302cmd committed Dec 12, 2023
1 parent 4d490ff commit cd769e1
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 15 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<h2 class="nome-completo">Oi, eu sou a Yasmim</h2>
<h1 class="profissao fade-in">FRONTEND<br>DEVELOPER</h1>
<div class="descricao-container">
<p class="descricao fade-in">Estou animada para trazer minhas habilidades<br>para impulsionar o sucesso de projetos inovadores.</p>
<p class="descricao fade-in">Estou animada para trazer minhas habilidades para impulsionar o sucesso de projetos inovadores.</p>
</div>
</div>

Expand Down Expand Up @@ -236,7 +236,6 @@ <h2>Cafeteria</h2>
</section>

<section id="contato" class="dark-bg">

<div>
<h1 class="topico fade-up">Contato</h1>
</div>
Expand All @@ -249,7 +248,7 @@ <h1 class="topico fade-up">Contato</h1>
</div>
<div class="form-group">
<label for="email">E-mail:</label>
<input type="email" id="email" name="email" required required placeholder="Digite seu e-mail">
<input type="email" id="email" name="email" required placeholder="Digite seu e-mail">
</div>
<div class="form-group">
<label for="message">Mensagem:</label>
Expand All @@ -263,6 +262,8 @@ <h1 class="topico fade-up">Contato</h1>
</form>
</div>
</section>


</main>
<footer class="main-footer">
<div class="main-container">
Expand Down
56 changes: 44 additions & 12 deletions style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -358,15 +358,21 @@ h1 {
.logo-bootstrap {
width: 100px;
}

.descricao-container {
max-width: 400px;
}
.descricao {
font-family: trebuchet ms;
color: rgb(78, 78, 78);
font-weight: bold;
font-size: 17px;
font-size: 16px;
text-align: justify;
word-spacing: -1px; /* Ajuste conforme necessário */
margin-left: 10px;
margin-right: 10px;
}

/*Formulario de contato*/
/*Formulario de contato**************************************************************/

.form-container {
display: flex;
Expand All @@ -377,38 +383,42 @@ h1 {
}

#contact-form {
background-color: #fff;
background-color: #f2f2f2;
padding: 30px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 4px #836fff;
}

.form-group {
margin-bottom: 20px;
}

label {
color: #3f3f3f;
color: #8758ff;
display: block;
font-weight: 600;
margin-bottom: 5px;
margin-left: 0%;
}

textarea {
padding-right: 30px; /* Espaço para o ícone dentro do campo de texto */
}

input,
textarea {
width: 100%;
padding: 10px;
border: 1px solid #e2e2e2;
border-radius: 5px;
border: 1px solid #836fff;
border-radius: 10px;
display: block;
margin-left: auto;
margin-right: auto;
font-family: "helvetica";
}

button[type="submit"] {
padding: 7px 30px;
padding: 8px 30px;
background-color: #836fff;
color: #fff;
font-size: 16px;
Expand All @@ -423,10 +433,12 @@ button[type="submit"] {
button[type="submit"]:hover {
background-color: #480999;
}

.icon-increase {
font-size: 50px; /* Tamanho padrão */
}
.dark-bg {
/*background-color: #eeeeee;*/
background-color: #f4f4f4;
background-color: #f2f2f2;
margin-bottom: 0px; /* Adiciona espaço entre a seção e o rodapé */
}

Expand Down Expand Up @@ -740,6 +752,11 @@ button[type="submit"]:hover {
}
.descricao {
font-size: 14px; /* Reduza o tamanho da fonte para se adequar à tela menor */
word-spacing: -3px; /* Ajuste conforme necessário */
padding-right: 12px;
padding-left: 12px;
margin-left: 20px;
margin-right: 20px;
}

.father {
Expand Down Expand Up @@ -841,7 +858,12 @@ button[type="submit"]:hover {
.back-to-top .seta {
width: 22px;
}

/* Media query para telas menores */
@media screen and (max-width: 768px) {
.icon-increase {
font-size: 16px; /* Reduz o tamanho para telas menores */
}
}
/*********************************/

.titulo-degrade {
Expand Down Expand Up @@ -1027,6 +1049,16 @@ body {
.profissao {
font-size: 50px;
}
.text-container {
flex-direction: column;
}
.descricao {
word-spacing: -3px; /* Ajuste conforme necessário */
padding-right: 12px;
padding-left: 12px;
margin-left: 10px;
margin-right: 10px;
}
}

/*nav mobile*/
Expand Down

0 comments on commit cd769e1

Please sign in to comment.