TEC : CSS padding
This commit is contained in:
21
class.css
21
class.css
@@ -1,21 +1,4 @@
|
|||||||
/* Style de la bannière */
|
/* 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 {
|
.banner {
|
||||||
margin-top: 3rem;
|
margin-top: 3rem;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
@@ -72,8 +55,12 @@
|
|||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style pour téléphone portable*/
|
/* Style pour téléphone portable*/
|
||||||
@media (max-width: 48em) {
|
@media (max-width: 48em) {
|
||||||
|
.banner {
|
||||||
|
min-height: 40vh;
|
||||||
|
}
|
||||||
|
|
||||||
.presentation {
|
.presentation {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
@@ -1,4 +1,21 @@
|
|||||||
/* Style pour le header */
|
/* 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 {
|
.header {
|
||||||
background-color: #F9E7DB;
|
background-color: #F9E7DB;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
Reference in New Issue
Block a user