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