change region lien site et doc

This commit is contained in:
2024-11-08 20:44:39 +01:00
parent cefa8f0acd
commit 7e518c5d90
5 changed files with 241 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@@ -3002,7 +3002,7 @@ body {
}
}
.node-type-site .layout--threecol-25-50-25 .layout__region--first {
flex: 1 0 20%;
flex: 0 1 25%;
display: flex;
flex-direction: column;
align-items: center;
@@ -3043,6 +3043,9 @@ body {
height: fit-content;
}
}
.node-type-site .layout--threecol-25-50-25 .layout__region--first h2 {
display: none;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) {
margin-bottom: 0.2rem;
}
@@ -3244,7 +3247,7 @@ body {
font-family: "gilroy-light";
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third {
flex: 0 1 15% !important;
flex: 0 1 25% !important;
height: fit-content;
margin-top: 1rem;
}
@@ -3279,6 +3282,87 @@ body {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .block-region-third div .next-site::before {
content: url("../img/next.svg");
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .documents-liens-wrapper {
display: flex;
flex-direction: column !important;
padding-top: 2rem;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .documents-liens-wrapper .field--name-field-documents, .node-type-site .layout--threecol-25-50-25 .layout__region--third .documents-liens-wrapper .field_field_documents > div:nth-child(2) > div:nth-child(1) > span:nth-child(2) {
display: none;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .documents-liens-wrapper .field_field_liens_site > div:nth-child(2) > div:nth-child(1) {
display: flex;
flex-direction: column !important;
width: fit-content;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .documents-liens-wrapper .field_field_liens_site > div:nth-child(2) {
flex-direction: column;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .documents-liens-wrapper .field_field_documents {
margin-bottom: 0.5rem;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site {
display: flex;
flex-direction: column !important;
}
@media (max-width: 810px) {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site {
max-width: 50%;
margin: auto;
}
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a {
display: inline-flex;
align-items: center;
color: white;
background: black;
padding-left: 0.5rem;
text-transform: uppercase;
font-size: 0.6rem;
margin-bottom: 0.3rem;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a svg {
display: none;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a::after {
display: inline-flex;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.2rem;
padding-left: 0.2rem;
padding-bottom: 0.2rem;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .file--mime-application-pdf {
width: fit-content;
padding-left: 0.5rem;
background: black;
}
@media (max-width: 810px) {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .file--mime-application-pdf {
margin-left: 0;
}
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .file--mime-application-pdf a {
display: inline-flex;
align-items: center;
color: white;
text-transform: uppercase;
font-size: 0.6rem;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .file--mime-application-pdf a svg {
display: none;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .file--mime-application-pdf a::after {
display: inline-flex;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.2rem;
padding-left: 0.2rem;
padding-bottom: 0.2rem;
}
.field_field_liens_site > div:nth-child(2) > div:nth-child(1) {
display: flex;
flex-direction: column;
}
main {
background-color: #f6f7f3;