Skip to content

Commit

Permalink
correçao da tela inicial para que fique centralizada #7
Browse files Browse the repository at this point in the history
  • Loading branch information
biancabsouza23 committed Aug 6, 2024
1 parent 5bf4d8e commit c927a86
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 13 deletions.
32 changes: 21 additions & 11 deletions Frontend/src/App.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
/* Reset básico e estilo inicial */
html, body, #root {
height: 100%;
margin: 0;
}

/* Estilo para o App */
.App {
text-align: center;
display: flex;
flex-direction: column;
min-height: 100vh; /* Garante que o App ocupe toda a altura da viewport */
}

.App-header {
background-color: #282c34;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex-grow: 1; /* Faz com que o header ocupe o espaço disponível */
font-size: calc(10px + 2vmin);
color: white;
}

.App-logo {
Expand All @@ -13,17 +34,6 @@
}
}

.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}

.App-link {
color: #61dafb;
}
Expand Down
5 changes: 4 additions & 1 deletion Frontend/src/componentes/inicial.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ main {
.centralized-section {
display: flex;
flex-direction: column;
align-items: center;
align-items: center; /* Garante que o conteúdo dentro da seção fique centralizado horizontalmente */
text-align: center; /* Centraliza o texto */
width: 100%;
}

.centralized-section h1 {
Expand All @@ -76,6 +78,7 @@ main {
margin-bottom: 20px;
}


button {
background: linear-gradient(to left bottom, #e4186a, #1f9fca);
color: white;
Expand Down
3 changes: 2 additions & 1 deletion Frontend/src/componentes/inicial.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ function Inicial() {
</button>
</div>
</section>
</main>
</main>


<footer>
<p>todos os modelos são do CANVA</p>
Expand Down

0 comments on commit c927a86

Please sign in to comment.