fix bug sur home

This commit is contained in:
2021-11-29 21:20:59 +01:00
parent 895993c54d
commit e812fda99d
24 changed files with 554 additions and 51 deletions
+30 -29
View File
@@ -1,36 +1,37 @@
.block-region-content{
.block-views-blockfaq-block-1{
display: grid;
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
}
.block-views-blockfaq-block-1{
grid-column: 2 / span 3;
// width: 70%;
// margin: auto;
.node-type-question_reponse{
border-bottom: 1px solid $blue-light;
}
.field--name-title{
display: none;
// font-family: 'Source Code Pro' !important;
// font-weight: 500 !important;
// color: $blue-dark !important;
}
.field--name-field-question{
p{
font-family: 'Source Code Pro' ;
font-weight: 500 ;
color: $blue-dark ;
font-size: 1.5rem;
&:after{
display:inline-flex;
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)" rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
justify-self: flex-end;
}
div:first-child{
grid-column: 2 / span 3;
// width: 70%;
// margin: auto;
.node-type-question_reponse{
border-bottom: 1px solid $blue-light;
}
.field--name-title{
display: none;
// font-family: 'Source Code Pro' !important;
// font-weight: 500 !important;
// color: $blue-dark !important;
}
.field--name-field-question{
p{
font-family: 'Source Code Pro' ;
font-weight: 500 ;
color: $blue-dark ;
font-size: 1.5rem;
&:after{
display:inline-flex;
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)" rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
justify-self: flex-end;
}
}
}
}
}
+2 -1
View File
@@ -186,6 +186,7 @@
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
margin: auto;
padding-top: 2rem;
padding-bottom: 4rem;
.views-row:nth-of-type(1) { grid-column: 2; }
.node-type-actualite{
@@ -242,7 +243,7 @@
// }
}
.field--name-field-actu-type{
padding-top: 2rem;
padding-top: 1rem;
}
}
}
@@ -78,7 +78,7 @@
// }
}
.field--name-field-actu-type{
padding-top: 2rem;
padding-top: 1rem;
}
}
}