faq design

This commit is contained in:
2021-11-29 23:10:31 +01:00
parent e812fda99d
commit 438a3e5430
6 changed files with 149 additions and 45 deletions
+67 -9
View File
@@ -8,15 +8,11 @@
// margin: auto;
.node-type-question_reponse{
border-bottom: 1px solid $blue-light;
}
padding-bottom: 2rem;
.field--name-title{
display: none;
// font-family: 'Source Code Pro' !important;
// font-weight: 500 !important;
// color: $blue-dark !important;
display: none;
}
.field--name-field-question{
p{
font-family: 'Source Code Pro' ;
@@ -28,9 +24,71 @@
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;
}
}
}
}
.field--name-field-reponse{
.panel-heading{
display: none;
}
}
.opened{
display: block;
}
.field--name-field-fichiers{
span:nth-of-type(2){
display: none;
}
.file--mime-application-pdf{
span:nth-of-type(2){
display: none;
}
::before{
display: inline-block;
content: url("../images/pictos/noun_Download_file_307900.svg");
width: 30px;
height: 30px;
padding-right: 0.8rem;
}
a{
display: inline-flex;
align-items: center;
color: $black;
font-weight: 800;
}
}
}
.field--name-field-liens{
a{
&:before{
display: inline-block;
content: url("../images/pictos/noun_External Link_674151.svg");
width: 30px;
height: 30px;
padding-right: 0.8rem;
}
display:flex;
flex-direction: row;
justify-content: left;
align-items: center;
color: $black;
font-weight: 800;
}
svg{
display: none;
}
}
.field--name-field-ress{
margin-top: 0.5rem;
a{
color: $black;
text-decoration: underline;
font-weight: 800;
}
}
}
}
}
+1 -1
View File
@@ -44,7 +44,7 @@
}
}
.field--name-field-accroche{
display: none;
// display: none;
}
.field--name-title{
grid-column: 2;