index page projets
This commit is contained in:
@@ -1,57 +1,77 @@
|
||||
.paragraph--type--membre-equipe {
|
||||
height: auto;
|
||||
display: grid;
|
||||
grid-template-columns: 30vw auto 1fr;
|
||||
grid-auto-rows: auto;
|
||||
margin-bottom: 5vh;
|
||||
> div:first-of-type {
|
||||
grid-row: 1 / 3;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
> div {
|
||||
width: 20vw;
|
||||
height: 20vw;
|
||||
overflow: hidden;
|
||||
height: auto;
|
||||
display: grid;
|
||||
grid-template-columns: 30vw auto 1fr;
|
||||
grid-auto-rows: auto;
|
||||
margin-bottom: 5vh;
|
||||
padding: 0 3vw !important;
|
||||
&:first-of-type {
|
||||
margin-top: 5vh;
|
||||
}
|
||||
> div:first-of-type {
|
||||
grid-row: 1 / 3;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
> div {
|
||||
width: 20vw;
|
||||
height: 20vw;
|
||||
position: relative;
|
||||
img {
|
||||
border-radius: 10vw;
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
&::after {
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
content: '';
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-image: url('/themes/erabletheme/assets/cercle_dessin.svg');
|
||||
background-size: cover;
|
||||
display: block;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> div:nth-of-type(2),
|
||||
> div:nth-of-type(3) {
|
||||
margin-bottom: 2vh;
|
||||
align-self: flex-end;
|
||||
@include sous_titre();
|
||||
}
|
||||
|
||||
> div:nth-of-type(3) {
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
|
||||
> div:last-of-type {
|
||||
grid-column: 2 / 4;
|
||||
@include main_text_content();
|
||||
> div > p {
|
||||
margin-top: 0 !important;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
grid-template-columns: 10vw auto 1fr;
|
||||
> div:first-of-type > div {
|
||||
width: 10vw;
|
||||
height: 10vw;
|
||||
border-radius: 5vw;
|
||||
}
|
||||
|
||||
> div:nth-of-type(2),
|
||||
> div:nth-of-type(3) {
|
||||
margin-bottom: 2vh;
|
||||
align-self: flex-end;
|
||||
@include sous_titre();
|
||||
> div:nth-of-type(2) {
|
||||
padding-left: 3vw;
|
||||
}
|
||||
|
||||
> div:nth-of-type(3) {
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
|
||||
> div:last-of-type {
|
||||
grid-column: 2 / 4;
|
||||
@include main_text_content();
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
grid-template-columns: 10vw auto 1fr;
|
||||
> div:first-of-type > div {
|
||||
width: 10vw;
|
||||
height: 10vw;
|
||||
border-radius: 5vw;
|
||||
}
|
||||
|
||||
> div:nth-of-type(2) {
|
||||
padding-left: 3vw;
|
||||
}
|
||||
|
||||
> div:last-of-type {
|
||||
padding-left: 3vw;
|
||||
}
|
||||
> div:last-of-type > div > p {
|
||||
padding-left: 3vw;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user