Compare commits

...

2 Commits

Author SHA1 Message Date
Nonimart
75cb493c0d FEATURE Introducing the interview component
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-28 16:18:57 +01:00
Nonimart
85f26bf206 STYLE Refining typography color and font-family on editor 2025-10-28 16:18:38 +01:00
3 changed files with 39 additions and 0 deletions

View File

@ -56,3 +56,4 @@
@import './blocks/wp-block-quote.css';
@import './blocks/statistics-datas.css';
@import './blocks/recommandations.css';
@import './blocks/interview.css';

View File

@ -0,0 +1,31 @@
.wp-block-dynamiques-blocks-interview-question {
@apply text-xl flex gap-3;
&:before {
@apply content-[''] block h-8 w-8 mb-4 shrink-0;
background-image: url('../resources/img/icons/cite-icon.svg');
}
}
.wp-block-dynamiques-blocks-interview-answer {
@apply mb-12 relative block;
.interviewed-person-name {
@apply float-left pr-2;
padding-top: 0.45rem;
@apply text-sm font-bold text-primary tracking-wide;
line-height: 1;
}
clear: both;
}
.wp-block-dynamiques-blocks-interview {
@apply my-6 mb-8;
.infos-interview {
@apply border-t border-neutral-200 pt-6 text-sm text-center;
&__label {
@apply uppercase text-sm font-bold mr-3 text-slate-800 tracking-wide mb-0;
}
}
}

View File

@ -26,3 +26,10 @@ body {
.acf-block-fields {
@apply max-w-screen-md mx-auto;
}
html :where(.editor-styles-wrapper) {
@apply text-carhop-gray;
div,
p {
font-family: 'Nunito Sans', sans-serif;
}
}