Enqueue IBM Plex Sans 500i for italicized/bolded text. Remove paragraph specificity.

This commit is contained in:
Michael Cain 2019-12-23 13:33:24 -05:00
parent d688f897a5
commit ebe7dbb0eb
No known key found for this signature in database
GPG key ID: D64841E97D91690F
6 changed files with 15 additions and 61 deletions

View file

@ -133,7 +133,7 @@ function maywood_fonts_url() {
if ( 'off' !== $ibm_plex_sans ) {
$font_families = array();
$font_families[] = 'IBM Plex Sans:300,300i,500,700';
$font_families[] = 'IBM Plex Sans:300,300i,500,500i,700';
$query_args = array(
'family' => urlencode( implode( '|', $font_families ) ),

View file

@ -27,6 +27,10 @@ a {
}
}
b, strong {
font-weight: 500;
}
.site-branding,
.main-navigation,
.entry-header,
@ -259,20 +263,6 @@ a {
}
}
// Paragraph
p {
b > i,
b > em,
em > b,
em > strong,
i > b,
i > strong,
strong > i,
strong > em {
font-weight: 700;
}
}
.wp-block-newspack-blocks-homepage-articles {
article {
.entry-title a:hover {

View file

@ -51,19 +51,6 @@ b, strong {
font-weight: 500;
}
p {
b > i,
b > em,
em > b,
em > strong,
i > b,
i > strong,
strong > i,
strong > em {
font-weight: 700;
}
}
.editor-post-title__block .editor-post-title__input {
font-weight: 300;
text-align: center;

View file

@ -1257,17 +1257,6 @@ b, strong {
font-weight: 500;
}
p b > i,
p b > em,
p em > b,
p em > strong,
p i > b,
p i > strong,
p strong > i,
p strong > em {
font-weight: 700;
}
.editor-post-title__block .editor-post-title__input {
font-weight: 300;
text-align: center;

View file

@ -3979,6 +3979,11 @@ p:not(.site-title) a:hover {
text-decoration: none;
}
b,
strong {
font-weight: 500;
}
.site-branding,
.main-navigation,
.entry-header,
@ -4247,17 +4252,6 @@ p:not(.site-title) a:hover {
text-decoration: underline;
}
p b > i,
p b > em,
p em > b,
p em > strong,
p i > b,
p i > strong,
p strong > i,
p strong > em {
font-weight: 700;
}
/**
* Widgets
*/

View file

@ -4008,6 +4008,11 @@ p:not(.site-title) a:hover {
text-decoration: none;
}
b,
strong {
font-weight: 500;
}
.site-branding,
.main-navigation,
.entry-header,
@ -4276,17 +4281,6 @@ p:not(.site-title) a:hover {
text-decoration: underline;
}
p b > i,
p b > em,
p em > b,
p em > strong,
p i > b,
p i > strong,
p strong > i,
p strong > em {
font-weight: 700;
}
/**
* Widgets
*/