home centrage bouton + display none ville-region en double

This commit is contained in:
2026-05-29 11:23:17 +02:00
parent 0b12405c00
commit ef5f79d5a9
2 changed files with 36 additions and 16 deletions
+14 -8
View File
@@ -1380,14 +1380,14 @@ svg.ext {
} }
.path-frontpage .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links { .path-frontpage .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links {
z-index: 95; z-index: 95;
align-self: flex-end; flex: 0 0 100%;
width: fit-content; width: 100%;
display: flex;
justify-content: center;
height: fit-content; height: fit-content;
padding: 0.4rem 1rem; padding: 0;
font-size: 0.8rem; font-size: 0.8rem;
margin: 0; margin: 0;
background-color: rgb(255, 255, 255);
border: 2px solid rgb(0, 158, 227);
list-style: none; list-style: none;
} }
.path-frontpage .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links a { .path-frontpage .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links a {
@@ -1396,6 +1396,11 @@ svg.ext {
color: rgb(0, 158, 227); color: rgb(0, 158, 227);
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
padding: 0.4rem 1rem;
font-size: 0.8rem;
margin: 0;
background-color: rgb(255, 255, 255);
border: 2px solid rgb(0, 158, 227);
} }
.path-frontpage .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links a:after { .path-frontpage .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links a:after {
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>'); content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
@@ -1624,11 +1629,12 @@ svg.ext {
color: rgb(0, 0, 0); color: rgb(0, 0, 0);
font-size: 0.7rem; font-size: 0.7rem;
} }
.path-frontpage .block-views-blockprojets-block-4 .view-projets .view-content .view-type-slide .views-row-wrapper .views-row .node-type-projet .ville-region {
display: none;
}
.path-frontpage .block-block-contentbfb4368c-4f85-4329-88f1-8769161aa66f { .path-frontpage .block-block-contentbfb4368c-4f85-4329-88f1-8769161aa66f {
display: flex; display: flex;
flex-flow: row-reverse;
background: rgba(0, 158, 227, 0.2); background: rgba(0, 158, 227, 0.2);
padding-right: 10%;
padding-top: 2rem; padding-top: 2rem;
padding-bottom: 4rem; padding-bottom: 4rem;
} }
@@ -1642,7 +1648,7 @@ svg.ext {
height: fit-content; height: fit-content;
padding: 0.4rem 1rem; padding: 0.4rem 1rem;
font-size: 0.8rem; font-size: 0.8rem;
margin: 0; margin: auto;
background-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
border: 2px solid rgb(0, 158, 227); border: 2px solid rgb(0, 158, 227);
list-style: none; list-style: none;
+22 -8
View File
@@ -291,14 +291,19 @@
.inline.links{ .inline.links{
z-index: 95; z-index: 95;
align-self: flex-end; // align-self: flex-end;
width: fit-content; // width: fit-content;
flex: 0 0 100%;
width: 100%;
display: flex;
justify-content: center;
height: fit-content; height: fit-content;
padding: 0.4rem 1rem; // padding: 0.4rem 1rem;
padding: 0;
font-size: 0.8rem; font-size: 0.8rem;
margin: 0; margin: 0;
background-color: $white; // background-color: $white;
border: 2px solid $blue-light; // border: 2px solid $blue-light;
list-style: none; list-style: none;
a{ a{
@@ -307,6 +312,11 @@
color: $blue-light; color: $blue-light;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
padding: 0.4rem 1rem;
font-size: 0.8rem;
margin: 0;
background-color: $white;
border: 2px solid $blue-light;
&:after{ &:after{
// display: block; // display: block;
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>'); content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
@@ -534,6 +544,9 @@
font-size: 0.7rem; font-size: 0.7rem;
} }
} }
.ville-region{
display: none;
}
} }
} }
} }
@@ -544,9 +557,9 @@
// bouton voir tous les projets du bandeau bleu // bouton voir tous les projets du bandeau bleu
.block-block-contentbfb4368c-4f85-4329-88f1-8769161aa66f{ .block-block-contentbfb4368c-4f85-4329-88f1-8769161aa66f{
display: flex; display: flex;
flex-flow: row-reverse; // flex-flow: row-reverse;
background: $background-actus; background: $background-actus;
padding-right:10%; // padding-right:10%;
padding-top: 2rem; padding-top: 2rem;
padding-bottom: 4rem; padding-bottom: 4rem;
@media(max-width:479px) { @media(max-width:479px) {
@@ -558,7 +571,8 @@
height: fit-content; height: fit-content;
padding: 0.4rem 1rem; padding: 0.4rem 1rem;
font-size: 0.8rem; font-size: 0.8rem;
margin: 0; margin: auto;
// margin: 0;
background-color: $white; background-color: $white;
border: 2px solid $blue-light; border: 2px solid $blue-light;
list-style: none; list-style: none;