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