Skip to content

Commit

Permalink
feat: fix: adicionada página de formulário submetido e feito pequenos…
Browse files Browse the repository at this point in the history
… ajustes gerais
  • Loading branch information
zolppy committed May 12, 2024
1 parent 07f3fb2 commit 11ee419
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 17 deletions.
12 changes: 6 additions & 6 deletions dist/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ <h1 class="app__title">Formulário de Cadastro de Magos</h1>
<textarea
class="app__textarea"
placeholder="Sua resposta"
maxlength="100"
maxlength="200"
></textarea>
</div>
<div class="app__form-container">
Expand All @@ -226,7 +226,7 @@ <h1 class="app__title">Formulário de Cadastro de Magos</h1>
<textarea
class="app__textarea"
placeholder="Sua resposta"
maxlength="100"
maxlength="200"
></textarea>
</div>
<div class="app__form-container">
Expand All @@ -251,7 +251,7 @@ <h1 class="app__title">Formulário de Cadastro de Magos</h1>
<textarea
class="app__textarea"
placeholder="Sua resposta"
maxlength="100"
maxlength="200"
></textarea>
</div>
<div class="app__form-container">
Expand All @@ -262,7 +262,7 @@ <h1 class="app__title">Formulário de Cadastro de Magos</h1>
<textarea
class="app__textarea"
placeholder="Sua resposta"
maxlength="100"
maxlength="200"
></textarea>
</div>
<button type="submit" class="app__button">Enviar</button>
Expand Down
5 changes: 2 additions & 3 deletions src/scss/module/app/app-container.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.app__container {
max-width: 640px;
min-width: 320px;
padding: 1em 1.2em;
width: clamp(320px, 100%, 640px);
padding: 1em;
margin-inline: auto;
gap: 1em;
min-height: 100svh;
Expand Down
3 changes: 1 addition & 2 deletions src/scss/module/app/app-input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
.app__input {
border: none;
border-bottom: 1px solid $border-color;
padding-bottom: 0.4em;
padding-bottom: 0.3em;
outline: none;
font-family: $roboto-font;
font-size: 1rem;
color: $text-color;
width: 100%;

Expand Down
4 changes: 3 additions & 1 deletion src/scss/module/app/app-textarea.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
@import "../../base/variables.scss";

.app__textarea {
font-size: 1rem;
border-radius: 5px;
padding: 0.5em;
outline: none;
height: 100px;
color: $text-color;
border: 1px solid $border-color;
resize: none;

&:focus {
border-width: 2px;
Expand Down
35 changes: 35 additions & 0 deletions submit.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Formulário de cadastro de magos da região."
/>
<title>Cadastro de Magos</title>
<link rel="shortcut icon" href="dist/img/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="dist/css/style.css" />
<script defer src="dist/js/main.js"></script>
</head>
<body>
<main>
<div class="app__container">
<img
src="dist/img/header.png"
alt="imagem interiamente de cor roxa, de uma flor roxa"
title="flor roxa"
class="app__header"
/>
<div class="app__form-container p-relative">
<h1 class="app__title">Formulário de Cadastro de Magos</h1>
<p class="app__description">
Obrigado por compartilhar seus segredos mágicos conosco! Que as
energias arcanas continuem fluindo em seu caminho!
</p>
<div class="app__decoration"></div>
</div>
</div>
</main>
</body>
</html>

0 comments on commit 11ee419

Please sign in to comment.