TEC : CSS padding

This commit is contained in:
Anthony Mahe
2025-05-19 21:18:47 +02:00
parent bb2f00a9a8
commit 23f9b448b4
3 changed files with 23 additions and 19 deletions

View File

@@ -1,21 +1,4 @@
/* Style de la bannière */
.contact {
top: 0;
position: fixed;
width: 100%;
display: flex;
flex-wrap: wrap;
row-gap: 10px;
column-gap: 0.7rem;
justify-content: center;
align-items: center;
background-color: #CC4331;
padding: 1rem 1rem;
color: #F9E7DB;
z-index: 100;
font-size: 11px;
}
.banner {
margin-top: 3rem;
background-size: contain;
@@ -72,8 +55,12 @@
align-self: flex-end;
font-style: italic;
}
/* Style pour téléphone portable*/
@media (max-width: 48em) {
.banner {
min-height: 40vh;
}
.presentation {
flex-direction: column;

View File

@@ -1,4 +1,21 @@
/* Style pour le header */
.contact {
top: 0;
position: fixed;
width: 100%;
display: flex;
flex-wrap: wrap;
row-gap: 10px;
column-gap: 0.7rem;
justify-content: center;
align-items: center;
background-color: #CC4331;
padding: 1rem 1rem;
color: #F9E7DB;
z-index: 100;
font-size: 11px;
}
.header {
background-color: #F9E7DB;
position: fixed;

View File

@@ -9,7 +9,7 @@ body {
}
main {
padding: 2rem;
padding: 0 1rem;
margin: 0 auto;
}