[wp-trac] [WordPress Trac] #56557: TwentyTwenty: Remove font size and weight definition on cite element
WordPress Trac
noreply at wordpress.org
Mon Sep 12 10:40:58 UTC 2022
#56557: TwentyTwenty: Remove font size and weight definition on cite element
--------------------------+-----------------------------
Reporter: Joen | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The {{{cite}}} element in TwentyTwenty is styled in a way that makes it
less flexible than it's meant to be, with a smaller font size and no
italic. [[https://www.w3schools.com/tags/tag_cite.asp|The W3 example uses
the element to wrap the title of a painting]], not the author, causing the
title to have reduce emphasis (see tt-before.png).
The default styling for the `cite` element is to simply have italic text
(see intended.png).
Suggestion: remove the font-weight, style, and size definitions from TT's
`cite` element. See (tt-after.png)
Example block markup:
{{{
<!-- wp:list -->
<ul><!-- wp:list-item -->
<li><cite>Do Androids Dream of Electric Sheep</cite>, Philip K. Dick</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><cite>Neuromancer</cite>, William Gibson</li>
<!-- /wp:list-item -->
<!-- wp:list-item -->
<li><cite>The Diamond Age</cite>, Neal Stephenson</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56557>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list