few styles adaptations
This commit is contained in:
parent
9936355f1e
commit
e15d7d9c26
|
|
@ -73,6 +73,9 @@ article > *:not(.entry-content, .chapter-header-block),
|
|||
img {
|
||||
@apply rounded-3xl;
|
||||
}
|
||||
figcaption {
|
||||
@apply !mb-0;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-buttons {
|
||||
|
|
@ -95,14 +98,14 @@ article > *:not(.entry-content, .chapter-header-block),
|
|||
}
|
||||
|
||||
h2 {
|
||||
@apply lg:text-xl mt-16 mb-8 font-bold;
|
||||
@apply lg:text-xl mt-12 mb-8 font-bold;
|
||||
}
|
||||
|
||||
h3 {
|
||||
@apply font-bold text-2xl mt-16 mb-4;
|
||||
@apply font-bold text-2xl mt-10 mb-4;
|
||||
}
|
||||
h4 {
|
||||
@apply font-bold text-xl mt-6 mb-3;
|
||||
@apply font-bold text-xl mt-5 mb-3;
|
||||
}
|
||||
h5 {
|
||||
@apply font-bold text-lg mt-6 mb-3;
|
||||
|
|
@ -144,7 +147,14 @@ article > *:not(.entry-content, .chapter-header-block),
|
|||
margin-top: 9px;
|
||||
}
|
||||
|
||||
a:not(.wp-block-button__link, .cta) {
|
||||
/* a:not(.wp-block-button__link, .cta) { */
|
||||
a:not(
|
||||
.cta--secondary,
|
||||
.wp-block-button__link,
|
||||
.cta,
|
||||
.homegrade-blocks-lien-chapitre__cta,
|
||||
.breadcrumbs_navigation a
|
||||
) {
|
||||
@apply text-primary underline font-bold relative;
|
||||
@apply px-2 py-1;
|
||||
transition: all 0.2s ease-out;
|
||||
|
|
@ -153,21 +163,22 @@ article > *:not(.entry-content, .chapter-header-block),
|
|||
@apply rounded-md;
|
||||
background: rgba(239, 239, 239);
|
||||
}
|
||||
}
|
||||
|
||||
a[rel='noreferrer noopener'] {
|
||||
&:after {
|
||||
@apply ml-2 inline-block;
|
||||
content: url('../resources/img/graphic-assets/icone-external-link-purple.svg');
|
||||
transform: translateY(1px);
|
||||
/* filter: invert(10%) sepia(44%) saturate(5057%) hue-rotate(265deg) brightness(83%)
|
||||
contrast(115%); */
|
||||
&[rel='noreferrer noopener'] {
|
||||
&:after {
|
||||
@apply ml-2 inline-block;
|
||||
content: url('../resources/img/graphic-assets/icone-external-link-purple.svg');
|
||||
transform: translateY(1px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
p + ol,
|
||||
p + ul {
|
||||
@apply mt-3;
|
||||
}
|
||||
.wp-block-button__link {
|
||||
@apply cta cta--secondary;
|
||||
}
|
||||
}
|
||||
.wp-block-button__link {
|
||||
text-decoration: none !important;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user