228 lines
3.7 KiB
CSS
228 lines
3.7 KiB
CSS
/* Style de la bannière */
|
|
.banner {
|
|
margin-top: 3rem;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
min-height: 70vh;
|
|
}
|
|
|
|
.banner-accueil {
|
|
background-image: url('assets/img/CharlinePasteur-banniere.jpg');
|
|
}
|
|
|
|
.banner-droit-education {
|
|
background-image: url('assets/img/DroitddelEducation.jpg');
|
|
}
|
|
|
|
.banner-droit-etrangers {
|
|
background-image: url('assets/img/DroitdesEtrangers.jpg');
|
|
}
|
|
|
|
.banner-droit-penal-mineur {
|
|
background-image: url('assets/img/DroitPenaldesMineurs.jpg');
|
|
}
|
|
|
|
.banner-assistance-educative {
|
|
background-image: url('assets/img/AssistanceEducative.jpg');
|
|
}
|
|
|
|
.button {
|
|
border: 1px solid #F9E7DB;
|
|
color: #F9E7DB;
|
|
padding: 0.3rem 1rem;
|
|
cursor: pointer;
|
|
border-radius: 0.2rem;
|
|
}
|
|
|
|
.button:hover {
|
|
background-color: #F9E7DB;
|
|
color: #b00f2e;
|
|
}
|
|
|
|
.citation {
|
|
color: #734332;
|
|
font-size: 11pt;
|
|
font-weight: 700;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.citation span {
|
|
font-weight: 400;
|
|
align-self: flex-end;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Style pour téléphone portable*/
|
|
@media (max-width: 849px) {
|
|
.banner {
|
|
background-size: contain;
|
|
min-height: 50vh;
|
|
}
|
|
|
|
.banner-accueil {
|
|
background-image: url('assets/img/banniere-mobile.jpg');
|
|
}
|
|
|
|
.presentation {
|
|
flex-direction: column;
|
|
/* les enfants s'empilent verticalement */
|
|
align-items: center;
|
|
}
|
|
|
|
.portrait img,
|
|
.specialiste img {
|
|
max-width: 80%;
|
|
/* pour s'adapter au petit écran */
|
|
padding: 1rem;
|
|
}
|
|
|
|
.texte {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
.cards-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.cards-list li {
|
|
margin: auto;
|
|
width: 250px;
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cards-list li a {
|
|
display: block;
|
|
width: 100%;
|
|
height: 250px;
|
|
background-size: cover;
|
|
background-position: center;
|
|
border-radius: 8px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.cards-list li:hover a {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.cards-list li span {
|
|
margin-top: 1rem;
|
|
|
|
display: block;
|
|
text-align: center;
|
|
color: #b00f2e;
|
|
background-color: transparent;
|
|
font-size: 1.5em;
|
|
font-weight: bold;
|
|
/*margin: 1rem 0.7rem;*/
|
|
}
|
|
|
|
.presentation {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.portrait {
|
|
flex-grow: 3;
|
|
}
|
|
|
|
.portrait img {
|
|
padding: 2rem 2rem;
|
|
max-width: 250px;
|
|
}
|
|
|
|
.texte {
|
|
flex-grow: 6;
|
|
text-align: justify;
|
|
}
|
|
|
|
.specialiste {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.specialiste img {
|
|
padding: 2rem 2rem;
|
|
max-width: 100px;
|
|
}
|
|
|
|
.styled-list {
|
|
float: none;
|
|
list-style-type: disc;
|
|
list-style-position: inside;
|
|
padding-left: 1rem;
|
|
}
|
|
|
|
.styled-list li::marker {
|
|
color: #b00f2e;
|
|
}
|
|
|
|
.formulaire-contact {
|
|
display: flex;
|
|
justify-content: center;
|
|
/* Centre horizontalement */
|
|
align-items: center;
|
|
/* Centre verticalement si hauteur définie */
|
|
padding: 2rem 1rem;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.formulaire-contact iframe {
|
|
max-width: 100%;
|
|
width: 640px;
|
|
border: none;
|
|
}
|
|
|
|
.section-contact {
|
|
text-align: center;
|
|
margin: 3rem 0;
|
|
}
|
|
|
|
.btn-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn-contact,
|
|
.btn-phone {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 1rem;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
font-weight: bold;
|
|
transition: background-color 0.3s ease;
|
|
color: white;
|
|
background-repeat: no-repeat;
|
|
background-position-y: 6px;
|
|
background-position-x: 6px;
|
|
|
|
background-size: 40px 40px;
|
|
padding: 0.8rem 1rem 0.8rem 3rem;
|
|
background-color: #b00f2e;
|
|
}
|
|
|
|
.btn-phone {
|
|
background-image: url('assets/img/mobile.png');
|
|
}
|
|
|
|
.btn-contact {
|
|
background-image: url('assets/img/form.svg');
|
|
}
|
|
|
|
.btn-phone:hover,
|
|
.btn-contact:hover {
|
|
background-color: #d1776b;
|
|
} |