css page consultation

This commit is contained in:
2024-07-04 15:10:33 +02:00
parent 7a39b7c42e
commit c58e19f189
8 changed files with 566 additions and 7 deletions

View File

@@ -133,6 +133,11 @@ h3 {
overflow: hidden;
display: flex;
flex-flow: row wrap;
-webkit-user-select: none;
-webkit-touch-callout: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.layout-container header {
flex: 0 0 100%;
@@ -886,4 +891,293 @@ footer span.totop #toTop .arrow-up::before {
}
#home .paragraph--type--static-parts:not(#paragraph-id--7) #svg1 {
display: none;
}
#consultation {
background-color: #f6f7f3;
}
#consultation .layout-content {
padding-top: 1rem;
}
#consultation .layout-content .content_container {
display: flex;
flex-direction: column;
align-items: center;
}
#consultation .layout-content .content_container #block-quartiers-de-demain-titredepage {
margin-top: 1rem;
width: fit-content;
}
#consultation .layout-content .content_container #block-quartiers-de-demain-titredepage h1 {
text-transform: none;
color: black;
font-size: 2rem;
font-weight: 500;
}
#consultation .layout-content .content_container .node-type-static {
width: 80%;
}
#consultation .layout-content .content_container .node-type-static::before {
content: "";
display: block;
border-bottom: solid 1px rgb(7, 50, 194);
width: 60%;
margin: auto;
}
#consultation .layout-content .content_container .node-type-static .paragraph--type--static-parts:not(#paragraph-id--7) #svg1 {
display: none;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--10 {
display: flex;
flex-direction: column;
align-items: center;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--10 .field_field_title {
padding: 1rem;
color: rgb(7, 50, 194);
font-size: 2.5rem;
font-weight: 500;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--10 .colone-picto {
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding: 1rem;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--10 .colone-picto p:not(:last-of-type) {
flex: 1 15%;
color: rgb(7, 50, 194);
padding: 0.5rem;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--10 .colone-picto p:not(:last-of-type)::before {
content: "";
display: block;
border-left: solid 1px rgb(7, 50, 194);
height: 30%;
margin-bottom: 0.5rem;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--10 .colone-picto p:last-of-type {
color: black;
width: 55%;
padding-top: 3rem;
margin: auto;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 {
width: 65%;
background-color: white;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
padding: 1rem;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .field_field_title {
color: rgb(7, 50, 194);
font-size: 1.2rem;
font-weight: 500;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto {
display: grid;
grid-template-columns: auto auto;
grid-template-rows: auto auto;
padding: 1rem;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto p {
flex: 1 15%;
padding: 0rem;
margin: 0;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto p:nth-of-type(1) {
grid-column: 1;
grid-row: 2;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto p:nth-of-type(2) {
grid-column: 2;
grid-row: 2;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto h5 {
font-size: 3rem;
font-weight: 500;
color: rgb(7, 50, 194);
margin: 0;
height: fit-content;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto h5:nth-of-type(1) {
grid-column: 1;
grid-row: 1;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto h5:nth-of-type(2) {
grid-column: 2;
grid-row: 1;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--12,
#consultation .layout-content .content_container .node-type-static #paragraph-id--13 {
width: 65%;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
padding: 1rem;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--12 .field_field_title,
#consultation .layout-content .content_container .node-type-static #paragraph-id--13 .field_field_title {
color: rgb(7, 50, 194);
font-size: 1.2rem;
font-weight: 500;
padding-bottom: 1.5rem;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--12::after {
content: "";
display: block;
border-bottom: solid 1px rgb(7, 50, 194);
width: 100%;
padding-bottom: 2rem;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--13 .field_field_texte .colone-picto {
display: flex;
flex-direction: row;
justify-content: space-between;
}
#consultation .layout-content .content_container .node-type-static #paragraph-id--13 .field_field_texte .colone-picto p {
width: 30%;
}
.partenaires .layout-content .content_container #block-quartiers-de-demain-titredepage {
grid-column: 3/span 9;
grid-row: 1;
margin-top: 3rem;
}
@media (max-width: 500px) {
.partenaires .layout-content .content_container #block-quartiers-de-demain-titredepage {
margin-top: 1rem;
grid-column: 2/span 9;
}
}
.partenaires .layout-content .content_container #block-quartiers-de-demain-titredepage h1 {
text-transform: uppercase;
color: rgb(247, 0, 43);
font-size: 1.6rem;
font-weight: 300;
}
.partenaires .layout-content .content_container .views-element-container {
grid-column: 3/span 9;
grid-row: 2;
}
@media (max-width: 500px) {
.partenaires .layout-content .content_container .views-element-container {
grid-column: 2/span 9;
}
}
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire {
width: 100%;
padding-bottom: 3rem;
display: grid;
grid-template-columns: repeat(9, 1fr);
grid-template-rows: repeat(auto-fill);
}
@media (max-width: 810px) {
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire {
display: flex;
flex-direction: column;
}
}
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_field_logo {
grid-column: 1/3;
grid-row: 1/span 3;
padding-right: 1rem;
margin: auto;
}
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_field_logo img {
object-fit: contain;
max-width: 200px;
max-height: 200px;
}
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_title {
grid-column: 3/span 8;
grid-row: 1;
font-weight: 500;
font-size: 0.6rem;
margin-left: 1rem;
}
@media (max-width: 810px) {
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_title {
margin-left: 0;
}
}
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_body {
grid-column: 3/span 8;
grid-row: 2;
margin-left: 1rem;
}
@media (max-width: 810px) {
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_body {
margin-left: 0;
}
}
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_field_lien {
grid-column: 3/span 8;
grid-row: 3;
border-bottom: 2px solid rgb(7, 50, 194);
width: fit-content;
padding-bottom: 0.5rem;
margin-left: 1rem;
}
@media (max-width: 810px) {
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_field_lien {
margin-left: 0;
}
}
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_field_lien a {
display: inline-flex;
align-items: center;
}
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_field_lien a svg {
display: none;
}
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_field_lien a::before {
display: inline-block;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.5rem;
padding-top: 0.2rem;
}
.node-type-static .layout-content {
grid-row: 1;
}
.node-type-static .layout-content .content_container {
margin-bottom: 3rem;
}
.node-type-static .layout-content .content_container #block-quartiers-de-demain-titredepage {
grid-column: 3/span 9;
grid-row: 1;
margin-top: 3rem;
}
@media (max-width: 500px) {
.node-type-static .layout-content .content_container #block-quartiers-de-demain-titredepage {
margin-top: 1rem;
grid-column: 2/span 9;
}
}
.node-type-static .layout-content .content_container #block-quartiers-de-demain-titredepage h1 {
text-transform: uppercase;
color: rgb(247, 0, 43);
font-size: 1.6rem;
font-weight: 300;
}
.node-type-static .layout-content .content_container article.node-type-static {
grid-column: 3/span 9;
grid-row: 2;
}
@media (max-width: 500px) {
.node-type-static .layout-content .content_container article.node-type-static {
grid-column: 2/span 9;
}
}
.node-type-static .layout-content .content_container article.node-type-static div.field_body h2 {
font-size: 0.8rem;
font-weight: 600;
margin-bottom: 0;
}
.node-type-static .layout-content .content_container article.node-type-static div.field_body p {
margin-top: 0;
}