FIX Refining the aspect of the h1 hé etc on editor

This commit is contained in:
Antoine M 2025-06-26 17:38:31 +02:00
parent 28d67b05fb
commit c9eb632dd2

View File

@ -1,26 +1,26 @@
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
body {
body .editor-visual-editor,
body:not(.wp-admin) {
font-family: 'Nunito Sans', sans-serif;
@apply text-primary text-xl;
}
/* @apply text-primary text-xl; */
@apply text-carhop-gray text-xl;
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Fjalla One', sans-serif;
@apply text-primary;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Fjalla One', sans-serif;
@apply text-primary;
}
h1 {
@apply text-6xl;
}
h1 {
@apply text-6xl;
}
h2 {
@apply text-5xl;
h2 {
@apply text-5xl;
}
}
p {
@ -28,20 +28,20 @@ p {
line-height: 1.8;
}
body.wp-admin h1:not(.editor-visual-editor h1),
/* body.wp-admin h1:not(.editor-visual-editor h1),
body.wp-admin h2:not(.editor-visual-editor h2),
body.wp-admin h3:not(.editor-visual-editor h3),
body.wp-admin h4:not(.editor-visual-editor h4),
body.wp-admin h5:not(.editor-visual-editor h5),
body.wp-admin h6:not(.editor-visual-editor h6) {
font-family: unset !important;
font-style: unset !important;
font-size: unset !important;
line-height: unset !important;
letter-spacing: unset !important;
text-transform: unset !important;
text-align: unset !important;
}
font-family: initial !important;
font-style: initial !important;
font-size: initial !important;
line-height: initial !important;
letter-spacing: initial !important;
text-transform: initial !important;
text-align: initial !important;
} */
.nunito {
font-family: 'Nunito Sans', sans-serif;