-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<fix>[src]:<Footer não está mais estático e logo do projeto adicionada>
Co-Authored-By: MM4k <125222370+MM4k@users.noreply.github.com>
- Loading branch information
Showing
4 changed files
with
44 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,63 @@ | ||
*{ | ||
/* Estilo global */ | ||
* { | ||
padding: 0; | ||
margin: 0; | ||
box-sizing: border-box; | ||
font-family: Arial, Helvetica, sans-serif; | ||
} | ||
|
||
p { | ||
color: #161617; | ||
} | ||
|
||
/* Estilo para o corpo */ | ||
body { | ||
background-color: #fafafc; /* Substitua pelo tom de cinza desejado */ | ||
margin: 0; /* Remove margens padrão do navegador */ | ||
padding: 0; /* Remove paddings padrão do navegador */ | ||
} | ||
|
||
header, footer{ | ||
width: 100vw; /* Garante que o header e footer ocupem toda a largura da página */ | ||
background-color: #fafafc; /* Fundo da página */ | ||
margin: 0; | ||
padding: 0; | ||
min-height: 100vh; /* Altura mínima igual à altura da tela */ | ||
display: flex; | ||
flex-direction: column; /* Layout flex para alinhar o rodapé no fim */ | ||
} | ||
|
||
footer{ | ||
background-color: #c9c9c9; | ||
/* Estilo para o cabeçalho */ | ||
header { | ||
background-color: #ffffff; | ||
color: #161617; | ||
position: absolute; /* Altera a posição para 'relative' ou remova a posição absoluta */ | ||
bottom: 0; | ||
text-align: center; | ||
font-size: 22px; | ||
padding: 30px 0; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-around; | ||
width: 100%; /* Garante que ocupe toda a largura */ | ||
} | ||
|
||
header h2{ | ||
header h2 { | ||
font-size: 30px; | ||
} | ||
|
||
header{ | ||
background-color: #ffffff; | ||
color: #161617; | ||
nav ul { | ||
list-style: none; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-around; | ||
padding: 0; | ||
} | ||
|
||
nav ul li{ | ||
background-color: #ffffff; | ||
color: #161617; | ||
list-style: none; | ||
display: inline-block; | ||
nav ul li { | ||
margin: 0 15px; | ||
} | ||
|
||
nav ul li a{ | ||
nav ul li a { | ||
text-decoration: none; | ||
color: #161617; | ||
font-size: 18px; | ||
padding: 0 15px; | ||
} | ||
|
||
/* Estilo para o conteúdo principal */ | ||
main { | ||
flex: 1; /* Expande o main para ocupar o espaço restante */ | ||
padding: 20px; /* Espaçamento interno */ | ||
} | ||
|
||
/* Estilo para o rodapé */ | ||
footer { | ||
background-color: #c9c9c9; | ||
color: #161617; | ||
text-align: center; | ||
font-size: 22px; | ||
padding: 30px 0; | ||
width: 100%; /* Garante que o rodapé ocupe toda a largura */ | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters