css ressource

This commit is contained in:
2024-10-11 15:56:42 +02:00
parent 376f9e955d
commit 50343fc83b
2 changed files with 46 additions and 34 deletions
+24 -22
View File
@@ -2149,8 +2149,8 @@ a {
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-images {
width: fit-content;
margin: auto;
padding-right: 2rem;
padding-left: 30%;
}
@media screen and (min-width: 1100px) {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-images {
@@ -2159,6 +2159,11 @@ a {
align-self: start; /* S'assurer qu'il commence en haut */
}
}
@media (max-width: 1100px) {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-images {
padding-left: 13%;
}
}
.page-node-type-ressource .layout__region--top .block-region-top .block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-type-de-ressource,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodetitle,
@@ -2170,7 +2175,7 @@ a {
width: 100%;
margin-left: 13%;
}
@media (max-width: 810px) {
@media (max-width: 1099px) {
.page-node-type-ressource .layout__region--top .block-region-top .block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-type-de-ressource,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodetitle,
@@ -2179,8 +2184,8 @@ a {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s-,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs {
margin-left: 9%;
margin-right: 9%;
width: auto;
margin-right: 15%;
}
}
@media screen and (min-width: 1100px) {
@@ -2193,7 +2198,7 @@ a {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs {
width: auto;
margin-left: 0;
margin-left: 5%;
margin-right: 15%;
grid-column: 2/3;
align-self: start; /* S'assurer qu'il commence en haut */
@@ -2210,6 +2215,19 @@ a {
margin: 0;
}
}
@media (max-width: 810px) {
.page-node-type-ressource .layout__region--top .block-region-top .block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-type-de-ressource,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodetitle,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-sous-titre,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s-,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution,
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs {
margin-left: 9%;
margin-right: 9%;
}
}
.page-node-type-ressource .layout__region--top .block-region-top .block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640 {
width: 100%;
font-family: "Source Code Pro";
@@ -2225,31 +2243,20 @@ a {
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-type-de-ressource {
margin-top: 2rem;
margin-left: 13%;
color: rgb(0, 158, 227);
text-transform: uppercase;
font-weight: 800;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodetitle {
margin-left: 13%;
font-size: 2rem;
font-weight: 600;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-sous-titre {
margin-left: 13%;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-sous-titre .field--name-field-edition p {
margin-bottom: 0;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition {
margin-left: 13%;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition .field--name-field-edition p {
margin-bottom: 0;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s- {
margin-left: 13%;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s- .field--name-field-auteur-s- {
font-size: 1.5rem;
font-weight: 800;
@@ -2257,12 +2264,6 @@ a {
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s- .field--name-field-auteur-s- p {
margin: 0;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution {
margin-left: 13%;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs {
margin-left: 13%;
}
.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs .field--name-field-mots-clefs {
display: inline-flex;
margin-top: 2rem;
@@ -2359,6 +2360,7 @@ a {
.page-node-type-ressource .layout__region--second {
flex: 0 1 80%;
margin: auto;
margin-top: 2rem;
}
}
.page-node-type-ressource .layout__region--third {