This commit is contained in:
parent
c9366168a7
commit
080c5244d5
|
|
@ -1,4 +1,5 @@
|
||||||
.card-grid {
|
.card-grid {
|
||||||
|
@apply px-4 md:px-0;
|
||||||
&--columns-2 .card-grid__innerblocks {
|
&--columns-2 .card-grid__innerblocks {
|
||||||
@apply md:grid-cols-2;
|
@apply md:grid-cols-2;
|
||||||
/* grid-template-columns: repeat(2, 1fr); */
|
/* grid-template-columns: repeat(2, 1fr); */
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,10 @@
|
||||||
@apply object-contain relative;
|
@apply object-contain relative;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
max-width: 100%; /* Empêche de dépasser son conteneur */
|
max-width: calc(100% - 2rem);
|
||||||
|
@screen md {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
&--large {
|
&--large {
|
||||||
|
|
@ -82,6 +85,11 @@
|
||||||
filter: saturate(0);
|
filter: saturate(0);
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
|
|
||||||
|
/* max-width: calc(100% - 2rem);
|
||||||
|
@screen md {
|
||||||
|
max-width: 100%;
|
||||||
|
} */
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
filter: saturate(1);
|
filter: saturate(1);
|
||||||
scale: 1.01;
|
scale: 1.01;
|
||||||
|
|
@ -92,7 +100,10 @@
|
||||||
&__background {
|
&__background {
|
||||||
@apply absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 h-full;
|
@apply absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 h-full;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
width: calc(100% - 30px);
|
@apply w-full;
|
||||||
|
@screen md {
|
||||||
|
width: calc(100% - 30px);
|
||||||
|
}
|
||||||
|
|
||||||
&--right {
|
&--right {
|
||||||
transform: scaleX(-1);
|
transform: scaleX(-1);
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,9 @@ article > *:not(.entry-content),
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-content {
|
.site-content {
|
||||||
|
> .carhop-heading {
|
||||||
|
@apply px-4 md:px-0;
|
||||||
|
}
|
||||||
p,
|
p,
|
||||||
li {
|
li {
|
||||||
strong {
|
strong {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user