Compare commits

...

4 Commits

Author SHA1 Message Date
Antoine M
869509820c STYLE Ajout de la règle d'alignement pour les éléments avec la classe alignwide dans le CSS de la boîte de contenu
All checks were successful
continuous-integration/drone/push Build is passing
2025-11-26 12:02:12 +01:00
Antoine M
a233d3830e FIX Refining spacings 2025-11-26 12:02:05 +01:00
Antoine M
da80fb34d5 FEATURE Enqueing the new wp-block heading style handling 2025-11-26 12:01:49 +01:00
Antoine M
1cdc73df2a FEATURE Handling a stroked after style variation 2025-11-26 12:01:32 +01:00
5 changed files with 27 additions and 2 deletions

View File

@ -72,7 +72,9 @@
@import './blocks/featured-news.css';
@import './blocks/notice-panel.css';
@import './blocks/wp-block-heading.css';
@import './blocks/wp-block-list.css';
@import './blocks/wp-block-table.css';
/* ########### LIBS ############ */
@import './libs/swiper.css';

View File

@ -1,4 +1,4 @@
.chapter-section + .content-box {
.chapter-section--width-full + .content-box {
margin-top: -80px;
}

View File

@ -11,6 +11,10 @@
background-color: var(--content-box-background-color, transparent);
}
&.alignwide {
@apply !mx-auto;
}
.wp-block-group {
}

View File

@ -1,7 +1,7 @@
.carhop-heading {
@apply pb-8;
&__innerblocks {
@apply alignwide !mx-auto flex flex-col justify-center gap-6;
@apply alignwide !mx-auto flex flex-col justify-center gap-6 !my-0;
}
&--align-center {
@ -62,6 +62,16 @@
@apply !text-4xl fjalla !tracking-wider font-normal;
}
}
&.is-style-stroked-after {
@apply flex items-end gap-4;
overflow-wrap: anywhere;
&:after {
@apply flex-auto border-b-2 border-primary border-solid mb-2;
content: '';
display: block;
}
}
}
/* test */

View File

@ -0,0 +1,9 @@
.wp-block-heading.is-style-stroked-after {
@apply flex items-end gap-2;
overflow-wrap: anywhere;
&:after {
@apply flex-auto border-b border-primary border-solid mb-2;
content: '';
display: block;
}
}