FIX Refining body class typography handling
This commit is contained in:
parent
08d3269d69
commit
d6be232f5e
|
|
@ -10,7 +10,7 @@
|
|||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body <?php body_class("front-end"); ?>>
|
||||
<?php
|
||||
do_action('tailpress_site_before');
|
||||
global $post;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
@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 .editor-visual-editor,
|
||||
body:not(.wp-admin) {
|
||||
body.front-end {
|
||||
font-family: 'Nunito Sans', sans-serif;
|
||||
/* @apply text-primary text-xl; */
|
||||
@apply text-carhop-gray text-xl;
|
||||
|
|
@ -58,7 +58,21 @@ body.wp-admin h6:not(.editor-visual-editor h6) {
|
|||
body :is(h1, h2, h3, h4, h5, h6).title-small {
|
||||
@apply text-xl mb-6 font-bold tracking-wider uppercase nunito;
|
||||
}
|
||||
.title-small {
|
||||
@apply text-xl mb-6 !font-bold !tracking-wider !uppercase nunito;
|
||||
}
|
||||
|
||||
.title-small-important {
|
||||
@apply !text-2xl !mb-6 !font-bold !tracking-wider !uppercase;
|
||||
font-family: 'Nunito Sans', sans-serif !important;
|
||||
}
|
||||
|
||||
/* Règles pour surcharger les styles par défaut des titres */
|
||||
h2.title-small,
|
||||
h2.title-small-important,
|
||||
h2.chapter-section__title {
|
||||
font-family: 'Nunito Sans', sans-serif !important;
|
||||
}
|
||||
.subtitle-big {
|
||||
@apply text-6xl font-normal uppercase fjalla pb-6;
|
||||
line-height: 1.3;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user