ressource type-en-images, php js et css

This commit is contained in:
2025-05-26 12:46:26 +02:00
parent 36f6cebfd5
commit 08d8b37aa2
11 changed files with 560 additions and 61 deletions
@@ -10,6 +10,7 @@
@media (max-width: 550px) {
padding-top: 0rem;
}
.block-region-top{
display: flex;
flex-direction: column;
@@ -18,27 +19,31 @@
grid-template-columns: 1fr 2fr; /* 1/3 pour l'image, 2/3 pour le contenu */
gap: 0.5rem;
}
.block-entity-fieldnodefield-images{
.block-entity-fieldnodefield-images {
width: fit-content;
// padding-right: 2rem;
padding-left: 25%;
@media screen and (min-width:1100px) {
grid-column: 1;
grid-row: 1 /span 7; /* Prendre toutes les lignes disponibles */
align-self: start; /* S'assurer qu'il commence en haut */
justify-self: end;
margin-left: 2rem;
@media (min-width: 1100px) {
grid-column: 1;
grid-row: 1 / span 7;
align-self: start;
justify-self: end;
margin-left: 2rem;
}
@media (max-width: 1100px) {
padding-left: 13%;
padding-left: 13%;
}
@media (max-width: 550px) {
width: 100vw;
padding: 0;
width: 100vw;
padding: 0;
}
}
}
.block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640,
.block-entity-fieldnodefield-type-de-ressource,
.block-entity-fieldnodetitle,
@@ -164,6 +169,8 @@
}
.block-region-top:has(.type-de-media-video)
.block-region-top:has(.type-de-media-video){
}
@@ -181,6 +188,7 @@
display: none;
}
}
.layout__region--first{ // menu ancres a gauche
margin-top: 3rem;
position: relative;