page ressource

This commit is contained in:
2024-06-20 00:43:42 +02:00
parent 8d5445a9ba
commit c2abcbc79f
8 changed files with 472 additions and 22 deletions
+94
View File
@@ -343,6 +343,11 @@ header .region-header #block-reha-navigationprincipale ul {
flex-direction: row;
justify-content: space-evenly;
}
@media (max-width: 1400px) {
header .region-header #block-reha-navigationprincipale ul {
flex-direction: column;
}
}
header .region-header #block-reha-navigationprincipale ul a {
font-weight: 800;
}
@@ -1998,4 +2003,93 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
.page-node-site .block-region-second ul.links::after {
content: url("../../dist/images/noun-arrow-1569918-black.svg");
padding-left: 0.5rem;
}
.page-ressources .view-ressources {
flex-direction: column;
padding: 5rem;
}
.page-ressources .view-ressources #views-exposed-form-ressources-page-1 {
width: 100%;
margin: auto;
display: flex;
flex-direction: column;
padding: 1rem;
}
.page-ressources .view-ressources #views-exposed-form-ressources-page-1::before {
content: "FILTRER :";
}
.page-ressources .view-ressources #views-exposed-form-ressources-page-1 .form-item-field-type-de-ressource-target-id {
order: 1;
}
.page-ressources .view-ressources #views-exposed-form-ressources-page-1 .js-form-item-field-site-target-id {
order: 2;
}
.page-ressources .view-ressources #views-exposed-form-ressources-page-1 #edit-actions {
order: 3;
}
.page-ressources .view-ressources .views-row .node-type-ressource {
display: flex;
flex-direction: column;
}
.page-ressources .view-ressources .views-row .node-type-ressource .field--name-field-image {
order: 1;
max-width: 100%;
}
.page-ressources .view-ressources .views-row .node-type-ressource .field--name-field-image img {
height: 200px;
width: auto;
}
.page-ressources .view-ressources .views-row .node-type-ressource .filtered-content {
display: flex;
flex-direction: column;
}
.page-ressources .view-ressources .views-row .node-type-ressource .filtered-content h2 {
order: 2;
margin: 0;
font-size: 1.5rem;
font-weight: 600;
}
.page-ressources .view-ressources .views-row .node-type-ressource .filtered-content .field--name-field-sous-titre {
order: 3;
font-size: 1.3rem;
}
.page-ressources .view-ressources .views-row .node-type-ressource .filtered-content .field--name-field-auteur {
order: 4;
font-weight: 900;
padding-top: 1rem;
}
.page-ressources .view-ressources .views-row .node-type-ressource .filtered-content .field--name-field-type-de-ressource {
order: 1;
text-transform: uppercase;
font-size: 1.2rem;
}
.page-ressources .view-ressources .views-row .node-type-ressource .filtered-content .field--name-field-site {
order: 5;
}
.page-ressources .view-ressources .views-row .node-type-ressource .filtered-content ul.links {
order: 6;
display: none;
}
.page-node-site .node-type-ressource {
width: 80%;
margin: auto;
display: flex;
}
.page-node-site .node-type-ressource .image-site {
width: 40%;
height: fit-content;
margin-right: 2rem;
}
.page-node-site .node-type-ressource .image-site img {
width: 100%;
height: auto;
}
.page-node-site .node-type-ressource .filtered-content {
width: 40%;
}
.page-node-site .node-type-ressource .body-content {
width: 100%;
margin-top: 2rem;
}