Skip to content

Commit f19efd0

Browse files
Twenty Sixteen: Correct display of italics in citations.
Props gaelbonithon, sabernhardt, poena, manhar, westonruter, SergeyBiryukov. Fixes #65107. git-svn-id: https://develop.svn.wordpress.org/trunk@62432 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c1e8752 commit f19efd0

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/wp-content/themes/twentysixteen/css/editor-blocks.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,11 @@ figure[class*="wp-block-"] > figcaption {
349349
font-style: normal;
350350
}
351351

352+
.wp-block-quote__citation em,
353+
.wp-block-quote__citation i {
354+
font-style: italic;
355+
}
356+
352357
.wp-block-quote strong,
353358
.wp-block-quote b {
354359
font-weight: 400;

src/wp-content/themes/twentysixteen/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,11 @@ blockquote cite {
385385
font-style: normal;
386386
}
387387

388+
blockquote :where(cite) em,
389+
blockquote :where(cite) i {
390+
font-style: italic;
391+
}
392+
388393
blockquote strong,
389394
blockquote b {
390395
font-weight: 400;

0 commit comments

Comments
 (0)