71 lines
No EOL
1.3 KiB
CSS
71 lines
No EOL
1.3 KiB
CSS
.avocat {
|
|
overflow: hidden;
|
|
width: 100%;
|
|
height: 30rem;
|
|
display: flex;
|
|
background-image: url("../assets/saoult_bg_arbre_full.jpg");
|
|
background-position-y: 50%;
|
|
background-size: cover;
|
|
position: relative;
|
|
}
|
|
|
|
.avocat-text {
|
|
flex: 1;
|
|
width: 100%;
|
|
padding: 0 0 0 2rem;
|
|
z-index: 1;
|
|
font-size: larger;
|
|
position: relative;
|
|
top: 40%;
|
|
}
|
|
|
|
@media screen and (min-width: 1000px) {
|
|
.block {
|
|
padding: 2rem 2rem;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.parcours img {
|
|
max-width: 30rem;
|
|
margin: 2rem 2rem;
|
|
height: auto;
|
|
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
|
|
}
|
|
|
|
.source {
|
|
display: flex;
|
|
float: right;
|
|
margin: 0 2rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1000px) {
|
|
.block {
|
|
padding: 2rem 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.parcours img {
|
|
max-width: 25rem;
|
|
margin: 2rem 2rem;
|
|
height: auto;
|
|
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
|
|
}
|
|
|
|
.source {
|
|
display: flex;
|
|
font-size: x-small;
|
|
float: center;
|
|
margin: 0 2rem;
|
|
}
|
|
}
|
|
|
|
.parcours em {
|
|
color: var(--color-dark);
|
|
} |