Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #56557


Ignore:
Timestamp:
09/13/2022 02:35:57 AM (15 months ago)
Author:
sabernhardt
Comment:

I'm nervous about changing this after the theme became public. I think people will expect these styles to remain as they are, at least within the blockquote element. Maybe the stylesheet could use :where(blockquote) cite for the weight and size to avoid increasing specificity.

The different font-family might be more problematic than size or weight with content like your example. The sans-serif Inter font stands out much more against Noto Serif than Garamond. If updating the font selectors, that would involve the twentytwenty_get_localized_font_family_elements arrays in addition to style.css and style-rtl.css.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56557

    • Property Focuses css added
    • Property Component changed from Themes to Bundled Theme
    • Property Summary changed from TwentyTwenty: Remove font size and weight definition on cite element to Twenty Twenty: Remove font size and weight definition on cite element
    • Property Version changed from trunk to 5.3
    • Property Keywords needs-patch has-screenshots added
    • Property Type changed from defect (bug) to enhancement
  • Ticket #56557 – Description

    initial v2  
    1 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).
     1The {{{cite}}} element in Twenty Twenty 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 W3Schools 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).
    22
    33The default styling for the `cite` element is to simply have italic text (see intended.png).